I've tried test_sendmail_mail.php putting some accented characters in the subject and message.
When downloading the messages in Outlook 2007:
- No accented characters in the subject
- Everything is OK in the message
When seeing the message in my webmail (Horde) system:
- Everything is OK in the subject
- Garbage in the message
When seeing the message in my webmail (Roundecub) system:
- Everything is OK in the subject
- Everything is OK in the message (except Euro sign that apeears as a square)
Wonderm00n - 2008-08-03 12:45:57 - In reply to message 1 from Wonderm00n
More info:
When seeing the message in Evolution/Ubuntu:
- Question marks instead of the accented characters in the subject
- Missing accented characters in the message
Manuel Lemos - 2008-08-03 21:27:22 - In reply to message 1 from Wonderm00n
That means that you are using a different character set encoding than the default which is iso-8859-1 . If you are using utf-8 (Unicode) in your machine, you should set the character set encoding like this before calling sendmail_mail():