This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

作者 cjw296
收信人 aalbrecht, barry, cjw296, gagern, salty-horse, splorgdar
日期 2009-03-31.07:16:00
SpamBayes Score 9.128404e-05
Marked as misclassified
Message-id <1238483762.36.0.937575692605.issue1974@psf.upfronthosting.co.za>
In-reply-to
内容
It's probably worth noting that changing:

from email.mime.text import MIMEText

m = MIMEText('foo')
m['subject']='something long'

...to:

from email.header import Header
m = MIMEText('foo')
m['subject']=Header('something long')

...will do folding without the \t problem, even in Python 2.6

I guess the moral of the story is that all headers should really be
header objects. I think Barry has some ideas on that ;-)
历史
日期 用户 动作 参数
2009-03-31 07:16:02cjw296修改recipients: + cjw296, barry, gagern, salty-horse, aalbrecht, splorgdar
2009-03-31 07:16:02cjw296修改messageid: <1238483762.36.0.937575692605.issue1974@psf.upfronthosting.co.za>
2009-03-31 07:16:01cjw296链接issue1974 messages
2009-03-31 07:16:00cjw296创建