commit | dd6ab853849ac07692330769f4835910c28e0c8a | [log] [tgz] |
---|---|---|
author | R David Murray <rdmurray@bitdance.com> | Sat Apr 30 17:26:02 2011 -0400 |
committer | R David Murray <rdmurray@bitdance.com> | Sat Apr 30 17:26:02 2011 -0400 |
tree | 260a366eb803a09904c1bad07763e5ebbd6b71bb | |
parent | dcaacbf1ef72ba0c2a8f5396cc9f4a61a1c4c8f6 [diff] [blame] |
#11883: fix email examples by adding 'localhost' to SMTP constructor calls
diff --git a/Doc/includes/email-simple.py b/Doc/includes/email-simple.py index 689511e..29bd078 100644 --- a/Doc/includes/email-simple.py +++ b/Doc/includes/email-simple.py
@@ -19,6 +19,6 @@ # Send the message via our own SMTP server, but don't include the # envelope header. -s = smtplib.SMTP() +s = smtplib.SMTP('localhost') s.sendmail(me, [you], msg.as_string()) s.quit()