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.

Author r.david.murray
Recipients cjw296, norbidur, r.david.murray, simon04, vinay.sajip
Date 2015-10-13.13:36:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1444743384.13.0.338761664594.issue9208@psf.upfronthosting.co.za>
In-reply-to
Content
In 3.4/3.5 a better fix would be to use EmailMessage instead of Message, and smtp.send_message instead of smtp.sendmail.  That will do the right thing, where "the right thing" is defined as defaulting to utf-8 for both headers and body.  A specific application might want other defaults, in which case one should proceed as Vinay suggests.

You could open a new issue requesting the use of EmailMessage/send_message in python3 logging if you want to pursue this.  Note that this would also allow unicode in the display name part of the addresses.
History
Date User Action Args
2015-10-13 13:36:24r.david.murraysetrecipients: + r.david.murray, vinay.sajip, norbidur, cjw296, simon04
2015-10-13 13:36:24r.david.murraysetmessageid: <1444743384.13.0.338761664594.issue9208@psf.upfronthosting.co.za>
2015-10-13 13:36:24r.david.murraylinkissue9208 messages
2015-10-13 13:36:24r.david.murraycreate