Message255433
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. |
|
Date |
User |
Action |
Args |
2015-11-26 17:54:14 | airween | set | recipients:
+ airween, r.david.murray |
2015-11-26 17:54:14 | airween | set | messageid: <1448560454.58.0.0905469583568.issue25736@psf.upfronthosting.co.za> |
2015-11-26 17:54:14 | airween | link | issue25736 messages |
2015-11-26 17:54:14 | airween | create | |
|