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

dandre report at bugs.python.org
Thu Jul 28 16:16:58 CEST 2011


dandre <andre.d at gmx.net> added the comment:

Thank you for pointing out my wrong usage of Header.

Does this mean I should call Header.append() for each token, with tokens being separated by WS, or probably rather COMMASPACE in the case of To:? Or does it mean I should call Header.append() for each "logical" token of From: and To:, let's say, for the two parts returned by email.utils.parseaddr()?

Please excuse me if this is not the right place to discuss this, but I'm unaware of any place on the Web wehre these questions are addressed.

----------

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


More information about the Python-bugs-list mailing list