]> granicus.if.org Git - python/commitdiff
Fix email doc update I overlooked (thanks, Éric)
authorR. David Murray <rdmurray@bitdance.com>
Sat, 20 Nov 2010 21:28:24 +0000 (21:28 +0000)
committerR. David Murray <rdmurray@bitdance.com>
Sat, 20 Nov 2010 21:28:24 +0000 (21:28 +0000)
Doc/includes/email-mime.py

index 8ddd4869e63cc34b1f1079521ebed590b2837c41..ec7e371d00d607ee0e2534a844c568939065bb86 100644 (file)
@@ -27,5 +27,5 @@ for file in pngfiles:
 
 # Send the email via our own SMTP server.
 s = smtplib.SMTP()
-s.sendmail(msg)
+s.send_message(msg)
 s.quit()