|
|
|
";
$sumemailhtml .= " | | We Heard of you from | $where $whereother | ";
$sumemailhtml .= "| We Choose you Because | $why $whyother | ";
$sumemailhtml .= "| My Comments Are | $Comments | ";
$sumemailhtml .= " ";
echo "";
echo "Thanks very much! ";
echo "For your Feedback ";
$subemail = "Feedback";
// now try for html email
// send it
$headers = "From: Feedback \n";
$headers .= "X-Sender: \n";
$headers .= "X-Mailer: PHP\n"; // mailer
$headers .= "X-Priority: 1\n"; // Urgent message!
$headers .= "MIME-Version: 1.0\n";
$headers .= "Content-Type: multipart/alternative;\n";
$headers .= " boundary=\"----=_NextPart_000_0019_01C1C139.E9A84420\"\n";
$headers .= "X-Priority: 3 (Normal)\n";
$headers .= "X-MSMail-Priority: Normal\n";
$headers .= "X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)\n";
$headers .= "X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000\n";
$headers .= "Return-Path: \n"; // Return path for errors
$emailtext = "This is a multi-part message in MIME format.";
$emailtext .= "\n\n------=_NextPart_000_0019_01C1C139.E9A84420";
$emailtext .= "\nContent-Type: text/plain;";
$emailtext .= "\n charset=\"iso-8859-1\"";
$emailtext .= "\nContent-Transfer-Encoding: 7bit";
$emailtext .= "\n\n"; // this is the non html bit here !!!";
$emailtext .= $message;
$emailtext .= "\n\n\n";
$emailtext .= "\n------=_NextPart_000_0019_01C1C139.E9A84420";
$emailtext .= "\nContent-Type: text/html;";
$emailtext .= "\n charset=\"iso-8859-1\"";
$emailtext .= "\nContent-Transfer-Encoding: quoted-printable";
$emailtext .= "\n\n";
$emailtext .= "\n";
$emailtext .= "\n";
$emailtext .= "\n";
$emailtext .= "\n";
$emailtext .= "\n";
$message = "Your Feedback as Follows :
" . $sumemailhtml . "
" . $detemailhtml;
$emailtext1 = $message;
$emailtext1 .= "\n";
$emailtext1 .= "\n";
$emailtext1 .= "\n\n";
$emailtext1 .= "\n------=_NextPart_000_0019_01C1C139.E9A84420--";
$emailtext1 .= "\n\n";
$email = "stgeorges@tstt.net.tt";
$newemailtext = $emailtext . $emailtext1;
$subject = "Your Feedback";
mail($email, $subject, $newemailtext, $headers);
exit();
}
}
?>
|
|