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 airween
Recipients airween, r.david.murray
Date 2015-11-26.17:54:14
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1448560454.58.0.0905469583568.issue25736@psf.upfronthosting.co.za>
In-reply-to
Content
David,

many thanks for your information.

I think my e-mail format was correct - I've copied it from a maildir, as an "email file".

As I wrote, there is a solution: before the code passes the 'msg' argument to sendmail() function, it needs to encode() it as "utf-8", then it will be a bytestream, instead of unicode (which is the default type of any string in Py3). Meanwhile I realized it :).

Thanks again, and sorry for my mistake.
History
Date User Action Args
2015-11-26 17:54:14airweensetrecipients: + airween, r.david.murray
2015-11-26 17:54:14airweensetmessageid: <1448560454.58.0.0905469583568.issue25736@psf.upfronthosting.co.za>
2015-11-26 17:54:14airweenlinkissue25736 messages
2015-11-26 17:54:14airweencreate