Hello,

On 07/20/2002 07:14 PM, Alex Kirk wrote:
> I've just set out to build a PHP-based mail system that will be able to 
> send HTML e-mails to a variety of mail clients. So far, I'm having 
> moderate success: I can get Yahoo! and Hotmail to see the HTML, but not 
> Netscape Mail or Outlook Express.
> I was wondering, is there anything special I should be putting in my 
> mail() call to achieve broad compatibility? I'm already sending a header 
> that includes:
> MIME-Version: 1.0\r\n
> Content-type: text/html; charset=iso-8859-1\r\n
> Also, does anyone know of a list of mail client compatiblity levels with 
> HTML e-mail?

Just avoid using Javascript because most mail programs will disable it.

Other than that you ought to always send multipart-alternative MIME 
messages where the HTML version is indeed an alternative to a text 
version of your message. If you do not do that, some people will discard 
your messages confusing them with SPAM, unless what you are sendind is 
really solicited mail.


-- 

Regards,
Manuel Lemos


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

Reply via email to