Tearing my hair out - HTML in email
Posted: Fri Dec 06, 2002 6:30 am
Hi all
I am using the mail() function to generate emails all the time, I never have a problem with it. Now all emails I generate are not parsing the HTML, I have tried every combination of headers imaginable but still they appear in the mail and the HTML is not parsed, the main header I never neglect to include is $headers .= "Content-type: text/html; charset=iso-8859-1\r\n";
has anyone got any ideas where this is going wrong, my mail client receives HTML mail okay.
thanks
I am using the mail() function to generate emails all the time, I never have a problem with it. Now all emails I generate are not parsing the HTML, I have tried every combination of headers imaginable but still they appear in the mail and the HTML is not parsed, the main header I never neglect to include is $headers .= "Content-type: text/html; charset=iso-8859-1\r\n";
has anyone got any ideas where this is going wrong, my mail client receives HTML mail okay.
thanks