Hi all,

When sending emails i get random ! in the tex! t a bit like this ! po!st

i believe its someting to do with RFC 2822

what can i do to my headers to rectify it?


If I am not mistaken, RFC 2822 is an old standard that defines the structure of an email. If you error has anything to do with this standard, it would be that your code doesn't comply to it.

Anyways, we can't really help you much without seeing your code. - Just the relevant bits. If there are hundreds of lines of HTML surrounding the email sending part, we don't need to see that :)


heres the top of the email. the rest is standard content (over 1000 characters long)

$headers  = "MIME-Version: 1.0\r\n";
$headers .= "Content-type: text/html; charset=iso-8859-1\r\n";
$headers .= "From: something@something.com\r\nReply-To: something@something.com";
//$to = $_SESSION['user_email'];
$to = $_SESSION['email'];
$subject = "Beat The Clock";
$body = "Hi, " . $_SESSION['name'] . "<br><br>"