[issue12649] email.Header ignores maxlinelen when wrapping encoded words

R. David Murray report at bugs.python.org
Tue Mar 27 01:26:16 CEST 2012


R. David Murray <rdmurray at bitdance.com> added the comment:

Looking at this again, as_string defaults to maxheaderlen=0, which means no wrapping.  In Python 3.2 you can pass it a maxheaderlen of 78 to get the correct behavior for passing the message to smtp.

----------
resolution:  -> invalid
stage:  -> committed/rejected
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12649>
_______________________________________


More information about the Python-bugs-list mailing list