On Tue, Oct 7, 2008 at 11:00 AM, Zvezdan Petkovic <[EMAIL PROTECTED]> wrote: > However, are we _certain_ that the socket is closed after this?
smtplib does *not* close the client socket if there's an exception while sending the quit message or processing the response. It could be best if connection..close() were called in the case of an exception. -Fred -- Fred L. Drake, Jr. <fdrake at gmail.com> "Chaos is the score upon which reality is written." --Henry Miller _______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )