Gossamer Forum
Home : General : Internet Technologies :

PHP HTML Mails?

Quote Reply
PHP HTML Mails?
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 Frown

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Subject Author Views Date
Thread PHP HTML Mails? Andy 4068 May 29, 2002, 8:17 AM
Thread Re: [Andy] PHP HTML Mails?
Watts 3890 May 29, 2002, 11:23 AM
Thread Re: [Watts] PHP HTML Mails?
Andy 3943 May 29, 2002, 11:57 AM
Post Re: [Andy] PHP HTML Mails?
Paul 3860 May 29, 2002, 12:50 PM