I'm having a little problem with Email sending in PHP. For some reason, with Outlook 2001, it won't accpt the HTML email as HTML. I've got this;
Code
mail("$toemail", $subject, $saved,
"From: $email_to\r\n"
."Reply-To: $email\r\n"
."MIME-Version: 1.0\r\n"
."Content-type: text/html; charset=iso-8859-1\r\n"
I've also tried;
Code
mail("$toemail", $subject, $saved,
"From: $email_to\r\n"
."Reply-To: $email\r\n"
."MIME-Version: 1.0\r\n"
."Content-type: text/html r\n"
Has anyone had any experiences with this kind of thing? Its really weird how it works on my computer, as well as hotmail account. He has also said that he receives other HTML emails fine from other companies...its just with this code that it won't work
Andy
Code
mail("$toemail", $subject, $saved,
"From: $email_to\r\n"
."Reply-To: $email\r\n"
."MIME-Version: 1.0\r\n"
."Content-type: text/html; charset=iso-8859-1\r\n"
I've also tried;
Code
mail("$toemail", $subject, $saved,
"From: $email_to\r\n"
."Reply-To: $email\r\n"
."MIME-Version: 1.0\r\n"
."Content-type: text/html r\n"
Has anyone had any experiences with this kind of thing? Its really weird how it works on my computer, as well as hotmail account. He has also said that he receives other HTML emails fine from other companies...its just with this code that it won't work
Andy