diff --git a/Doc/includes/email-simple.py b/Doc/includes/email-simple.py index b069ab0762f..fdf6f829243 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()