dlukas
2007-04-30 11:10:05 UTC
Hi,
I've been having problems with long lines containing non-ASCII characters in
e-mail headers. It seems Zend_Mail::_encodeHeader() and
Zend_Mail::_storeHeader() do not conform to the RFC 2047 (Message Header
Extensions for Non-ASCII Text):
encoded-word: =?charset?encoding?encoded-text?=
An 'encoded-word' may not be more than 75 characters long, including
'charset', 'encoding', 'encoded-text', and delimiters. If it is
desirable to encode more text than will fit in an 'encoded-word' of
75 characters, multiple 'encoded-word's (separated by CRLF SPACE) may
be used.
The forementioned functions do not split long text into multiple
ecodede-words but simply insert equal signs as linebreaks, which does not
work (at least not in my mail system - Exchange, Outlook).
David
I've been having problems with long lines containing non-ASCII characters in
e-mail headers. It seems Zend_Mail::_encodeHeader() and
Zend_Mail::_storeHeader() do not conform to the RFC 2047 (Message Header
Extensions for Non-ASCII Text):
encoded-word: =?charset?encoding?encoded-text?=
An 'encoded-word' may not be more than 75 characters long, including
'charset', 'encoding', 'encoded-text', and delimiters. If it is
desirable to encode more text than will fit in an 'encoded-word' of
75 characters, multiple 'encoded-word's (separated by CRLF SPACE) may
be used.
The forementioned functions do not split long text into multiple
ecodede-words but simply insert equal signs as linebreaks, which does not
work (at least not in my mail system - Exchange, Outlook).
David
--
View this message in context: http://www.nabble.com/Non-ASCII-characters-and-line-breaks-in-e-mail-headers-%28Zend_Mail%29%2C-RFC-2047-tf3669066s16154.html#a10251743
Sent from the Zend MFS mailing list archive at Nabble.com.
View this message in context: http://www.nabble.com/Non-ASCII-characters-and-line-breaks-in-e-mail-headers-%28Zend_Mail%29%2C-RFC-2047-tf3669066s16154.html#a10251743
Sent from the Zend MFS mailing list archive at Nabble.com.