Re: PHP and qmail

From: Date: Sun, 16 May 2004 17:45:42 +0000
Subject: Re: PHP and qmail
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-186359@lists.php.net to get a copy of this message
Manuel Lemos wrote:
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
.....Why do you always say that this is a bug? I've sent many a HTML e-mail using PHP's mail() function just fine with multiple MTAs. It just requires careful setting up of the message. -- paperCrane <Justin Patrin>

« previous php.general (#186359) next »