[Zope-dev] [Checkins] SVN: zope.sendmail/trunk/src/zope/sendmail/mailer.py try again with catching sslerror, thx Jens

Fred Drake fdrake at gmail.com
Tue Oct 7 11:45:34 EDT 2008


On Tue, Oct 7, 2008 at 11:00 AM, Zvezdan Petkovic <zvezdan at zope.com> 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


More information about the Zope-Dev mailing list