Could it not be you have to send the html document type in the header of the mail ?
> -----Original Message----- > From: Manuel Lemos [mailto:[EMAIL PROTECTED] > Sent: Sunday, May 16, 2004 8:55 AM > To: Stephen Lake > Cc: [EMAIL PROTECTED] > Subject: [PHP] Re: PHP and qmail > > > Hello, > > On 05/15/2004 04:14 PM, Stephen Lake wrote: > > Can someone tell me how I can send HTML using qmail from a > Script? The MTA I > > was using was changed from Sendmail to qmail and now my HTML > mails actually > > show the html tags in the mail body. > > That looks like a bug in the mail() function because qmail comes with > sendmail compatible wrapper. > > Anyway, you may want to try this class for composing and sending > messages including HTML formatted. It comes with a sub-class specialized > in qmail but I suspected that you do not need to use it as the base > class that uses mail() already comes with workarounds to use the mail() > function without the problems you are facing: > > http://www.phpclasses.org/mimemessage > > > -- > > Regards, > Manuel Lemos > > PHP Classes - Free ready to use OOP components written in PHP > http://www.phpclasses.org/ > > PHP Reviews - Reviews of PHP books and other products > http://www.phpclasses.org/reviews/ > > Metastorage - Data object relational mapping layer generator > http://www.meta-language.net/metastorage.html > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php