Antoine Pitrou added the comment:

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

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue19770>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to