From: R David Murray Date: Sat, 30 Apr 2011 21:19:53 +0000 (-0400) Subject: #11883: replace incorrect call to sendmail with correct call to send_message X-Git-Tag: v3.2.1b1~43 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7461298c9cf7f89e312048013dd9a203b80f37fc;p=python #11883: replace incorrect call to sendmail with correct call to send_message --- diff --git a/Doc/includes/email-simple.py b/Doc/includes/email-simple.py index b069ab0762..fdf6f82924 100644 --- a/Doc/includes/email-simple.py +++ b/Doc/includes/email-simple.py @@ -19,5 +19,5 @@ msg['To'] = you # Send the message via our own SMTP server. s = smtplib.SMTP() -s.sendmail(msg) +s.send_message(msg) s.quit()