For the logging, we note the need to push this into the configuration file to generate a hard log of the connectivity that is taking place. This doesn’t really fit our needs, as we would like to have direct access to this programatically at run time.
A lot of times, we want to log to the event log the exceptions that are happening. So what would be good is in addition to the status code that you are exposing with the SMTP exception, it would be good to see the actual log that could be exposed via the exception.