diff options
author | R David Murray <rdmurray@bitdance.com> | 2011-04-30 21:20:44 (GMT) |
---|---|---|
committer | R David Murray <rdmurray@bitdance.com> | 2011-04-30 21:20:44 (GMT) |
commit | d3f075a4c055fd70574aa82a343cf1cce03e3df0 (patch) | |
tree | ac68322f156b33a39a18b7ff9e50dff2e5a2bbe0 /Doc | |
parent | 48006cf1a8b8d1cadb422619c3b51bb17b4e9405 (diff) | |
parent | 7461298c9cf7f89e312048013dd9a203b80f37fc (diff) | |
download | cpython-d3f075a4c055fd70574aa82a343cf1cce03e3df0.zip cpython-d3f075a4c055fd70574aa82a343cf1cce03e3df0.tar.gz cpython-d3f075a4c055fd70574aa82a343cf1cce03e3df0.tar.bz2 |
Merge #11883: replace incorrect call to sendmail with correct call to send_message
Diffstat (limited to 'Doc')
-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() |