Hi guys, I’m having a slight problem with sending emails. The email sends with the message etc as it should be, but it adds this at the bottom of the email content:
²z¤‡ò¢èZ½æ§v‹azº®z¸ž²· j·bž azg§¶Šî¥Öz™^jÇœ¢{Zrܨº¹bžKn¶Šè®Ç§w*.隊[-¡¨kyðj)¢6jºr‹†çréiÖ§¶Øu§“ö
The code is as follows:
$to = "".$email."";
$re = "Password Request";
$msg = ' **MESSAGE**';
$headers = 'From: Mentor Update - University of ****** <******@hud.ac.uk>' ."
";
$headers .= "MIME-Version: 1.0
";
$boundary = uniqid("HTMLDEMO");
$headers .= "Content-Type: multipart/alternative" .
"; boundary = $boundary
";
$headers .= "This is a MIME encoded message.
";
$headers .= "--$boundary
" .
"Content-Type: text/html; charset=ISO-8859-1
" .
"Content-Transfer-Encoding: base64
";
$headers .= chunk_split(base64_encode("".$msg.""));
mail( $to, $re, $msg, $headers );
Hope you will appreciate censoring the content and e-mail address
Help with this will be appreciated! Thanks.