diff options
author | R David Murray <rdmurray@bitdance.com> | 2011-04-30 21:26:02 (GMT) |
---|---|---|
committer | R David Murray <rdmurray@bitdance.com> | 2011-04-30 21:26:02 (GMT) |
commit | dd6ab853849ac07692330769f4835910c28e0c8a (patch) | |
tree | 260a366eb803a09904c1bad07763e5ebbd6b71bb /Doc/includes/email-mime.py | |
parent | dcaacbf1ef72ba0c2a8f5396cc9f4a61a1c4c8f6 (diff) | |
download | cpython-dd6ab853849ac07692330769f4835910c28e0c8a.zip cpython-dd6ab853849ac07692330769f4835910c28e0c8a.tar.gz cpython-dd6ab853849ac07692330769f4835910c28e0c8a.tar.bz2 |
#11883: fix email examples by adding 'localhost' to SMTP constructor calls
Diffstat (limited to 'Doc/includes/email-mime.py')
-rw-r--r-- | Doc/includes/email-mime.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/includes/email-mime.py b/Doc/includes/email-mime.py index f64df83..7b1c028 100644 --- a/Doc/includes/email-mime.py +++ b/Doc/includes/email-mime.py @@ -26,6 +26,6 @@ for file in pngfiles: msg.attach(img) # Send the email via our own SMTP server. -s = smtplib.SMTP() +s = smtplib.SMTP('localhost') s.sendmail(me, family, msg.as_string()) s.quit() |