[Checkins] SVN: zope.sendmail/trunk/src/zope/sendmail/mailer.py gmail seems to burp nowadays on smtp quit, deep down in smtplib
Adam Groszer
agroszer at gmail.com
Sun Oct 5 01:57:19 EDT 2008
Log message for revision 91759:
gmail seems to burp nowadays on smtp quit, deep down in smtplib
mail should be safely sent at this point
Changed:
U zope.sendmail/trunk/src/zope/sendmail/mailer.py
-=-
Modified: zope.sendmail/trunk/src/zope/sendmail/mailer.py
===================================================================
--- zope.sendmail/trunk/src/zope/sendmail/mailer.py 2008-10-04 17:30:05 UTC (rev 91758)
+++ zope.sendmail/trunk/src/zope/sendmail/mailer.py 2008-10-05 05:57:15 UTC (rev 91759)
@@ -70,4 +70,7 @@
'is configured')
connection.sendmail(fromaddr, toaddrs, message)
- connection.quit()
+ try:
+ connection.quit()
+ except:
+ pass
More information about the Checkins
mailing list