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 barry, jesstess, maciej.szulik, pitrou, r.david.murray, zvyn
Date 2015-05-14.02:50:37
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1431571839.98.0.179078355365.issue22027@psf.upfronthosting.co.za>
In-reply-to
Content
Coming back to this, I noticed a number of things wrong with the logic that I'm not sure how I missed before.  I had to rewrite pretty much all of the logic.  The good news is the patch is now smaller :)

The new tests are failing, because they are wrong: the msg argument to sendmail/mail *must* be a byte string if smtputf8 is in effect, since an email message may contain multiple encodings as well as other binary data.  (Well, the msg argument could be an ascii string, but what would be the point?)

I'm uploading this without fixing the tests because I'm out of time for now and may not get back to it before the weekend.  Perhaps someone else will have time to work on the tests before then.
History
Date User Action Args
2015-05-14 02:50:40r.david.murraysetrecipients: + r.david.murray, barry, pitrou, jesstess, maciej.szulik, zvyn
2015-05-14 02:50:39r.david.murraysetmessageid: <1431571839.98.0.179078355365.issue22027@psf.upfronthosting.co.za>
2015-05-14 02:50:39r.david.murraylinkissue22027 messages
2015-05-14 02:50:39r.david.murraycreate