email 8bit encoding

rurpy at rurpy at
Mon Jul 29 01:41:27 CEST 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