$to $to $to
= "
[email protected]"; = "
[email protected]"; = "
[email protected],
[email protected]";
$subject = $txtname; $headers = $txtemail; $message = $txtcoments; //
mail($to,$subject,$message,$headers); mail($to,$subject,$message,$headers); header('location: aap_ki.html'); exit(); ?>
= "
[email protected]"; = "
[email protected]";
// Copies //$mailCc = "
[email protected]"; //$mailBcc = "
[email protected]"; // From $mailFrom = $txtemail; $mailFromName = $txtname; // Reply address //$mailReplyTo = $txtemail; // Message subject and contents $mailSubject = $pagename; $mailMessage = $txtname; // Text message charset $mailCharset = "windows-1252"; // must be accurate (e.g. "Windows - 1252" is invalid) // Create headres for mail() function $headers = "Content-type: text/html; charset=$mailCharset\r\n";
$headers .= "From: $mailFromName <$mailFrom>\r\n"; //$headers .= "Reply-To: $mailReplyTo\r\n"; //$headers .= "Cc: $mailCc\r\n"; //$headers .= "Bcc: $mailBcc\r\n"; // Send mail mail($mailTo, $mailSubject, $mailMessage, $headers); header('location:aap_ki.html'); exit();
?>