Commit d3f075a4 authored by R David Murray's avatar R David Murray

Merge #11883: replace incorrect call to sendmail with correct call to send_message

parents 48006cf1 7461298c
......@@ -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()
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment