#10321: Add support for sending binary DATA and Message objects to smtplib

This commit is contained in:
R. David Murray 2010-11-08 17:15:13 +00:00
parent a563392f92
commit 7dff9e08fb
7 changed files with 202 additions and 13 deletions

View file

@ -27,5 +27,5 @@ for file in pngfiles:
# Send the email via our own SMTP server.
s = smtplib.SMTP()
s.sendmail(me, family, msg.as_string())
s.sendmail(msg)
s.quit()