This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pitrou
Recipients pitrou, r.david.murray, sobczyk, vstinner
Date 2013-11-25.13:15:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1385385331.22.0.753714096632.issue19770@psf.upfronthosting.co.za>
In-reply-to
Content
This won't work. The post() method needs a bytes object, or something which when iterating yields bytes data. Perhaps you can try to call as_bytes() on your MIMEText object:
http://docs.python.org/dev/library/email.message.html#email.message.Message.as_bytes
History
Date User Action Args
2013-11-25 13:15:31pitrousetrecipients: + pitrou, vstinner, r.david.murray, sobczyk
2013-11-25 13:15:31pitrousetmessageid: <1385385331.22.0.753714096632.issue19770@psf.upfronthosting.co.za>
2013-11-25 13:15:31pitroulinkissue19770 messages
2013-11-25 13:15:31pitroucreate