Message291435
The email module, when creating text parts using character encoding utf-8, base64-encodes the output even though this is often inappropriate (e.g. if it is a Western language it is almost never appropriate).
>>> from email.mime.text import MIMEText
>>> m = MIMEText("hello", _charset="utf-8")
>>> m.as_string()
'Content-Type: text/plain; charset="utf-8"\nMIME-Version: 1.0\nContent-Transfer-Encoding: base64\n\naGVsbG8=\n' |
|
Date |
User |
Action |
Args |
2017-04-10 17:45:40 | jribbens | set | recipients:
+ jribbens |
2017-04-10 17:45:40 | jribbens | set | messageid: <1491846340.8.0.762117767462.issue30033@psf.upfronthosting.co.za> |
2017-04-10 17:45:40 | jribbens | link | issue30033 messages |
2017-04-10 17:45:40 | jribbens | create | |
|