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 Lukas J
Recipients Lukas J, barry, matrixise, r.david.murray, xtreak
Date 2019-02-13.12:37:00
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1550061420.72.0.100058568282.issue35985@roundup.psfhosted.org>
In-reply-to
Content
Minimal example:


import email.policy
import email.mime.text

responsehtml = "<html>somehtmlbody</html>"

msg = email.mime.text.MIMEText(responsehtml, "html", policy=email.policy.EmailPolicy())

msg["to"] = "test@example.com"
msg["cc"] = "äöü <foo@bar.com>"
msg["From"] = "foo@bar.com"
msg["Subject"] = "test"

msg.as_string()
History
Date User Action Args
2019-02-13 12:37:00Lukas Jsetrecipients: + Lukas J, barry, r.david.murray, matrixise, xtreak
2019-02-13 12:37:00Lukas Jsetmessageid: <1550061420.72.0.100058568282.issue35985@roundup.psfhosted.org>
2019-02-13 12:37:00Lukas Jlinkissue35985 messages
2019-02-13 12:37:00Lukas Jcreate