character set when sending emails with PHP

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

 



Hi all,

I have various PHP CRONTAB scripts that run and send automated emails to people, the subject often contains the "TM" character: ™, in most of the email clients the character shows correctly but in some webmail applications the character is replaced with a square, it obviously doesnt recognise the character. Now if I forward one the mails from the email client to the webmail account it then recognises and shows the character correctly? Very weird as it is the same mail just forwarded, is the problem that the mail forwarded from the email client uses a different content type when sent? The one specified in the PHP script is as follows:

$mail->setHeader("Content-type", "text/plain; charset=iso-8859-1");

Or is there something wrong with the charset that I'm specifying above?

Any help or advice would be appreciated.
TIA
Angelo
--
------------------------------------------------------------------------
Angelo Zanetti
Systems developer
------------------------------------------------------------------------

*Telephone:* +27 (021) 469 1052
*Mobile:* +27 (0) 72 441 3355
*Fax:* +27 (0) 86 681 5885
*
Web:* http://www.zlogic.co.za
*E-Mail:* angelo@xxxxxxxxxxxx <mailto:angelo@xxxxxxxxxxxx>

--
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