7 Oct
2008
7 Oct
'08
3 p.m.
On Oct 5, 2008, at 4:51 AM, Adam Groszer wrote:
connection.sendmail(fromaddr, toaddrs, message) try: connection.quit() - except: + except socket.sslerror: + #something weird happened while quiting pass
This is better because it catches a _specific_ exception. However, are we _certain_ that the socket is closed after this? If not, I think we should close it explicitly instead of passing on it. Thoughts, comments, anybody?