summaryrefslogtreecommitdiffstats
path: root/Doc/includes/email-mime.py
diff options
context:
space:
mode:
authorR. David Murray <rdmurray@bitdance.com>2010-11-08 17:15:13 (GMT)
committerR. David Murray <rdmurray@bitdance.com>2010-11-08 17:15:13 (GMT)
commit7dff9e08fbfb371b90431e5cbf380c4ea5d228f7 (patch)
tree417cf2edad370f4aa9bdb4215a80f5e79ec8c27f /Doc/includes/email-mime.py
parenta563392f92558d2c288f18924af38a1a9c58fad3 (diff)
downloadcpython-7dff9e08fbfb371b90431e5cbf380c4ea5d228f7.zip
cpython-7dff9e08fbfb371b90431e5cbf380c4ea5d228f7.tar.gz
cpython-7dff9e08fbfb371b90431e5cbf380c4ea5d228f7.tar.bz2
#10321: Add support for sending binary DATA and Message objects to smtplib
Diffstat (limited to 'Doc/includes/email-mime.py')
-rw-r--r--Doc/includes/email-mime.py2
1 files changed, 1 insertions, 1 deletions
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 @@ for file in pngfiles:
# Send the email via our own SMTP server.
s = smtplib.SMTP()
-s.sendmail(me, family, msg.as_string())
+s.sendmail(msg)
s.quit()