commit | bb754b503c617821db907a88ae148e2bb0304d31 | [log] [tgz] |
---|---|---|
author | R David Murray <rdmurray@bitdance.com> | Sat Apr 30 17:26:32 2011 -0400 |
committer | R David Murray <rdmurray@bitdance.com> | Sat Apr 30 17:26:32 2011 -0400 |
tree | 1cc9ad279bad65e78892ea9000a4e6ca57cbeea1 | |
parent | 9beb34ee0db236839236af6719aa223a753de896 [diff] [blame] |
#11883: fix email examples by adding 'localhost' to SMTP constructor calls
diff --git a/Doc/includes/email-dir.py b/Doc/includes/email-dir.py index e67de61..035442b 100644 --- a/Doc/includes/email-dir.py +++ b/Doc/includes/email-dir.py
@@ -105,7 +105,7 @@ fp.write(composed) fp.close() else: - s = smtplib.SMTP() + s = smtplib.SMTP('localhost') s.sendmail(opts.sender, opts.recipients, composed) s.quit()