Passing to error handler the message sent from SMTP server when an error occour

This is useful to allow take some action regarding the message and the code that was returned.