August Mueller <[EMAIL PROTECTED]> added the comment:
For completeness, if anyone runs across this in the future, the following seems
to work for sending utf-8 mail
in python 3:
import smtplib
import email.mime.text
msg = email.mime.text.MIMEText("Ümlaut", _charset="UTF-8")
smtp = smtplib.SMTP('localhost')
smtp.sendmail('[EMAIL PROTECTED]', '[EMAIL PROTECTED]', "Subject: This is your
mail\n" + msg.as_string())
smtp.quit()
_______________________________________
Python tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue4403>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com