added support for the SMTPAPI lib