Richard Piatkowski
2007-07-30 13:26:01 UTC
Hi,
I am using Zend_Mail (Version 1.0.0 of the Zend Framework) on an all utf-8
setup.
Code example:
$mail = new Zend_Mail('UTF-8');
$mail->setFrom('i_am-***@public.gmane.org', 'where_i_am_from');
$mail->addTo('i_get_it-***@public.gmane.org', 'Some Recipient');
$mail->setSubject('this is the subject');
$mail->setBodyText($message);
$mail->send();
When the e-mail arrives I've got random '=' characters in the body text.
When I save the message to a file, everything is fine.
When I convert the message through "iconv" ob "mb_convert_encoding" to
"iso-8859-1" and send it per "mail()" directly, everything is fine.
What am I missing?
Thank you in advanced for the time & brain invested in my problem.
I am using Zend_Mail (Version 1.0.0 of the Zend Framework) on an all utf-8
setup.
Code example:
$mail = new Zend_Mail('UTF-8');
$mail->setFrom('i_am-***@public.gmane.org', 'where_i_am_from');
$mail->addTo('i_get_it-***@public.gmane.org', 'Some Recipient');
$mail->setSubject('this is the subject');
$mail->setBodyText($message);
$mail->send();
When the e-mail arrives I've got random '=' characters in the body text.
When I save the message to a file, everything is fine.
When I convert the message through "iconv" ob "mb_convert_encoding" to
"iso-8859-1" and send it per "mail()" directly, everything is fine.
What am I missing?
Thank you in advanced for the time & brain invested in my problem.
--
View this message in context: http://www.nabble.com/Zend_Mail---UTF-8-charset-problem-tf4170214s16154.html#a11863682
Sent from the Zend MFS mailing list archive at Nabble.com.
View this message in context: http://www.nabble.com/Zend_Mail---UTF-8-charset-problem-tf4170214s16154.html#a11863682
Sent from the Zend MFS mailing list archive at Nabble.com.