Author cjw296
Recipients aalbrecht, barry, cjw296, gagern, salty-horse, splorgdar
Date 2009-03-31.07:16:00
SpamBayes Score 9.1284e-05
Marked as misclassified No
Message-id <1238483762.36.0.937575692605.issue1974@psf.upfronthosting.co.za>
In-reply-to
Content
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 ;-)
History
Date User Action Args
2009-03-31 07:16:02cjw296setrecipients: + cjw296, barry, gagern, salty-horse, aalbrecht, splorgdar
2009-03-31 07:16:02cjw296setmessageid: <1238483762.36.0.937575692605.issue1974@psf.upfronthosting.co.za>
2009-03-31 07:16:01cjw296linkissue1974 messages
2009-03-31 07:16:00cjw296create