Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Show UTF-8 in the Subject of the mail
December 2, 2005, 3:54 am
rate this thread
subject and the content.
$headers = "MIME-Version: 1.0\r\n".
"Content-type: text/plain; charset=utf-8\r\n".
mail("firstname.lastname@example.org", "<some utf-8 wordings as subject>",
"<Another utf-8 wordings as content>", $headers);
In the email received, the content is fine , however, the subject
becomes 'strange characters'... How to solve this problem? Thanks a lot.