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>
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php