UTF-8 and live.com (hotmail) issue

It is necessary to know first of all that: the problems with e-mails sent with UTF8 encoding  is not your, but that of the system of the addressee which does not manage correctly 8 bits,  as case of “Mail Subject” in “LIVE.com” (hotmail).

The solution is encoding the data of the message in MIME base64 :

Example :

mail($emailto,"=?UTF-8?B?".base64_encode($subject)."?=",$message,$headers);

Comments (1)

gwannonDecember 3rd, 2009 at 3:46 pm

i love you men. I va wate hours try to fix this problem.

Leave a comment

Your comment