Message76425
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() |
|
| Date |
User |
Action |
Args |
| 2008-11-25 20:35:09 | ccgus | set | recipients:
+ ccgus, loewis |
| 2008-11-25 20:35:09 | ccgus | set | messageid: <[email protected]> |
| 2008-11-25 20:35:08 | ccgus | link | issue4403 messages |
| 2008-11-25 20:35:08 | ccgus | create | |
|