Re: HTML Email Composing Problem.

From: Date: Fri, 27 Jul 2007 07:08:40 +0000
Subject: Re: HTML Email Composing Problem.
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-259652@lists.php.net to get a copy of this message
Richard Lynch wrote:
On Thu, July 26, 2007 2:46 pm, Tom Ray [Lists] wrote:
I'm trying to use PHP to compose an HTML formatted email
Don't do that...
3) Spam Assassin doesn't like it either way and tags the email as SPAM for the following reasons:
 0.6 HTML_SHORT_LENGTH      BODY: HTML is extremely short
 0.0 HTML_MESSAGE           BODY: HTML included in message
 1.5 MIME_BASE64_TEXT       RAW: Message text disguised using base64
encoding
The only people who send out these stupid HTML enhanced (cough, cough) messages are spammers.
Pfft. There are tons of legitimate reasons to send html emails. To get rid of the last one, don't base_64 encode your html content. You only need to base64_encode embedded images or attachments (pdf's, docs, stuff like that). As someone else suggested, check out phpmailer - it handles all this for you and works pretty nicely. -- Postgresql & php tutorials http://www.designmagick.com/

« previous php.general (#259652) next »