bf168e Catch all the exceptions thrown by the smtplib module

Authored and Committed by Pierre-Yves Chibon 10 years ago
    Catch all the exceptions thrown by the smtplib module
    
    There are a bunch of exceptions that module can throw and we should
    catch them and log them to see what went wrong and where.
    
        
file modified
+9 -5