diff options
author | R David Murray <rdmurray@bitdance.com> | 2011-04-30 21:19:53 (GMT) |
---|---|---|
committer | R David Murray <rdmurray@bitdance.com> | 2011-04-30 21:19:53 (GMT) |
commit | 7461298c9cf7f89e312048013dd9a203b80f37fc (patch) | |
tree | 50cd7d8813f83c61a23fbda231c6561f7dc85d6a /Doc/includes | |
parent | b751d6195f9cb6b2813c92f8562cc51a8667e5b8 (diff) | |
download | cpython-7461298c9cf7f89e312048013dd9a203b80f37fc.zip cpython-7461298c9cf7f89e312048013dd9a203b80f37fc.tar.gz cpython-7461298c9cf7f89e312048013dd9a203b80f37fc.tar.bz2 |
#11883: replace incorrect call to sendmail with correct call to send_message
Diffstat (limited to 'Doc/includes')
-rw-r--r-- | 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 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() |