email 8bit encoding

rurpy at yahoo.com rurpy at yahoo.com
Sun Jul 28 19:41:27 EDT 2013


How, using Python-3.3's email module, do I "flatten" (I think
that's the right term) a Message object to get utf-8 encoded
body with the headers:
 Content-Type: text/plain; charset=UTF-8
 Content-Transfer-Encoding: 8bit
when the message payload was set to a python (unicode) string?



More information about the Python-list mailing list