Message84755
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 ;-) |
|
Date |
User |
Action |
Args |
2009-03-31 07:16:02 | cjw296 | set | recipients:
+ cjw296, barry, gagern, salty-horse, aalbrecht, splorgdar |
2009-03-31 07:16:02 | cjw296 | set | messageid: <1238483762.36.0.937575692605.issue1974@psf.upfronthosting.co.za> |
2009-03-31 07:16:01 | cjw296 | link | issue1974 messages |
2009-03-31 07:16:00 | cjw296 | create | |
|