i set $from_name variable whit persian language (UTF-8 encoding) but when i open email it not showed correctly like this:
(حسن to hansarifar )
please help me how can i type UTF-8 character for $from_name
tanks in advance
Manuel Lemos - 2011-06-11 07:43:52 - In reply to message 1 from hassan
E-mail headers need to use q-encoding to encoded non-ASCII characters. That is not a trivial issue.
The MIME message can take care of that encoding and it can work together with the SMTP class. Just set the default_charset of the MIME message class object to 'utf-8' and it will encode all message header values properly.