My naive attempt to convert a MIMEText message part to quoted
printable (having read the documentation) looked something like this:
E = email.mime.text.MIMEText("This is some text")
email.encoders.encode_quopri(E)
print E.as_string()
But it yields a message with two Content-Transfer-Encoding headers.
I'm assuming that this is not a bug - but what is "The Right Way"(TM)
to change the encoding of text?
Best, N
_______________________________________________
Email-SIG mailing list
[email protected]
Your options:
http://mail.python.org/mailman/options/email-sig/archive%40mail-archive.com