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 ccgus
Recipients ccgus, loewis
Date 2008-11-25.20:35:07
SpamBayes Score 0.036393743
Marked as misclassified No
Message-id <[email protected]>
In-reply-to
Content
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()
History
Date User Action Args
2008-11-25 20:35:09ccgussetrecipients: + ccgus, loewis
2008-11-25 20:35:09ccgussetmessageid: <[email protected]>
2008-11-25 20:35:08ccguslinkissue4403 messages
2008-11-25 20:35:08ccguscreate