[Python-checkins] cpython (merge 3.2 -> default): Merge #11883: replace incorrect call to sendmail with correct call to

r.david.murray python-checkins at python.org
Sat Apr 30 23:21:06 CEST 2011


http://hg.python.org/cpython/rev/fcfaeab42f6e
changeset:   69726:fcfaeab42f6e
parent:      69724:f3b4a4e06908
parent:      69725:5c61c1d583fd
user:        R David Murray <rdmurray at bitdance.com>
date:        Sat Apr 30 17:20:44 2011 -0400
summary:
  Merge #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