From 7461298c9cf7f89e312048013dd9a203b80f37fc Mon Sep 17 00:00:00 2001 From: R David Murray Date: Sat, 30 Apr 2011 17:19:53 -0400 Subject: #11883: replace incorrect call to sendmail with correct call to send_message --- Doc/includes/email-simple.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/includes/email-simple.py b/Doc/includes/email-simple.py index b069ab0..fdf6f82 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() -- cgit v0.12