[issue21095] EmailMessage should support Header objects

2019-03-15 Thread Mark Lawrence
Change by Mark Lawrence : -- nosy: -BreamoreBoy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue21095] EmailMessage should support Header objects

2014-06-15 Thread R. David Murray
R. David Murray added the comment: I have to look at the implementation to remind myself how hard this would be to implement. The goal was to leave Header a legacy API...if you need that level of control, you use the old API. But I can see the functionality argument, and Header *is* a reason

[issue21095] EmailMessage should support Header objects

2014-06-15 Thread Mark Lawrence
Mark Lawrence added the comment: @David can we have your comments please. -- nosy: +BreamoreBoy ___ Python tracker ___ ___ Python-bugs

[issue21095] EmailMessage should support Header objects

2014-03-28 Thread Brandon Rhodes
New submission from Brandon Rhodes: Currently, the new wonderful EmailMessage class ignores the encoding specified in any Header objects that are provided to it. import email.message, email.header m = email.message.Message() m['Subject'] = email.header.Header('Böðvarr'.encode('latin-1'), 'latin