Re: HTML Email Composing Problem.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux