commit | 7dff9e08fbfb371b90431e5cbf380c4ea5d228f7 | [log] [tgz] |
---|---|---|
author | R. David Murray <rdmurray@bitdance.com> | Mon Nov 08 17:15:13 2010 +0000 |
committer | R. David Murray <rdmurray@bitdance.com> | Mon Nov 08 17:15:13 2010 +0000 |
tree | 417cf2edad370f4aa9bdb4215a80f5e79ec8c27f | |
parent | a563392f92558d2c288f18924af38a1a9c58fad3 [diff] [blame] |
#10321: Add support for sending binary DATA and Message objects to smtplib
diff --git a/Doc/includes/email-mime.py b/Doc/includes/email-mime.py index f64df83..8ddd486 100644 --- a/Doc/includes/email-mime.py +++ b/Doc/includes/email-mime.py
@@ -27,5 +27,5 @@ # Send the email via our own SMTP server. s = smtplib.SMTP() -s.sendmail(me, family, msg.as_string()) +s.sendmail(msg) s.quit()