MySQL interesse |
|
In dit stukje plaats je 3 keer het ingevulde emailadres in de header.
if(isset($_POST['stuurkopie']))
{
$headers = "From: \"Contact Formulier\" <".$email.">\r\n";
$headers .= "Reply-To: \"".$naam."\" <".$email.">\n";
$headers .= "Return-Path: Mail-Error <".$email.">\n";
$headers .= "MIME-Version: 1.0\n";
$headers .= "Content-Transfer-Encoding: 8bit\n";
$headers .= "Content-type: text/html; charset=iso-8859-1\n";
mail($email, "[Contact] ".$onderwerp, $bericht, $headers);
}
if(isset($_POST['stuurkopie'])) { $headers = "From: \"Contact Formulier\" <".$email.">\r\n"; $headers .= "Reply-To: \"".$naam."\" <".$email.">\n"; $headers .= "Return-Path: Mail-Error <".$email.">\n"; $headers .= "MIME-Version: 1.0\n"; $headers .= "Content-Transfer-Encoding: 8bit\n"; $headers .= "Content-type: text/html; charset=iso-8859-1\n"; mail($email, "[Contact] ".$onderwerp, $bericht, $headers); }
|