Hi,
I have a form that i'm handling using php, it works and I get sen the e-mail, but i was just wandering why the e-mail I recieve does not get the line breaks i put in. The code is :
<?
$ToEmail = "tom@infinitydesigns.co.uk";
##$ToName = "Tom";
$today = date("D M j G:i:s T Y");
$name = "$title $forename $surname";
$ToSubject = "Quote sent by $name, $Email";
$EmailBody = "Sent By: $name\nSenders Email: $Email\nSenders Company: $company\n\nMessage Sent:\n$comments\nThis quote was sent from the flash quote form on $today";
$headers .= "MIME-Version: 1.0\r\n";
$headers .= "Content-type: text/html; charset=iso-8859-1\r\n";
$headers .= "From: ".$name." <".$Email.">\r\n";
$headers .= "Reply-To: ".$name." <$Email.>\r\n";
$headers .= "X-Priority: 1\r\n";
$headers .= "X-MSMail-Priority: High\r\n";
$headers .= "X-Mailer: Just My Server";
mail($ToName." <".$ToEmail.">",$ToSubject, $EmailBody, $headers);
Print "_root.contact.EmailStatus=Your quote has been sent";
?>
Everything else works with it except the line breaks i put into the $EmailBody variable
Thanks in advance for any help