[Python-checkins] cpython (3.2): #11883: replace incorrect call to sendmail with correct call to send_message
r.david.murray
python-checkins at python.org
Sat Apr 30 23:21:03 CEST 2011
http://hg.python.org/cpython/rev/5c61c1d583fd
changeset: 69725:5c61c1d583fd
branch: 3.2
parent: 69719:591a09cf9e62
user: R David Murray <rdmurray at bitdance.com>
date: Sat Apr 30 17:19:53 2011 -0400
summary:
#11883: replace incorrect call to sendmail with correct call to send_message
files:
Doc/includes/email-simple.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Doc/includes/email-simple.py b/Doc/includes/email-simple.py
--- a/Doc/includes/email-simple.py
+++ b/Doc/includes/email-simple.py
@@ -19,5 +19,5 @@
# Send the message via our own SMTP server.
s = smtplib.SMTP()
-s.sendmail(msg)
+s.send_message(msg)
s.quit()
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list