summaryrefslogtreecommitdiff
path: root/Doc/includes/email-simple.py
diff options
context:
space:
mode:
authorR David Murray <rdmurray@bitdance.com>2011-04-30 17:29:28 -0400
committerR David Murray <rdmurray@bitdance.com>2011-04-30 17:29:28 -0400
commitafbc8506a1c91b4735e10b7358ae7f8910fca0e9 (patch)
treeb00e09cd4d775c6c9c517d535901bb8ab8929db7 /Doc/includes/email-simple.py
parentd3f075a4c055fd70574aa82a343cf1cce03e3df0 (diff)
parent361a7df323d759a45062f3299984f4848535bae4 (diff)
downloadcpython-git-afbc8506a1c91b4735e10b7358ae7f8910fca0e9.tar.gz
Merge #11883: fix email examples by adding 'localhost' to SMTP constructor calls
Diffstat (limited to 'Doc/includes/email-simple.py')
-rw-r--r--Doc/includes/email-simple.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/includes/email-simple.py b/Doc/includes/email-simple.py
index fdf6f82924..077568d563 100644
--- a/Doc/includes/email-simple.py
+++ b/Doc/includes/email-simple.py
@@ -18,6 +18,6 @@ msg['From'] = me
msg['To'] = you
# Send the message via our own SMTP server.
-s = smtplib.SMTP()
+s = smtplib.SMTP('localhost')
s.send_message(msg)
s.quit()