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

This commit is contained in:
R David Murray 2011-04-30 17:19:53 -04:00
parent b751d6195f
commit 7461298c9c

View file

@ -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()