Added the ability to do an authenticated SMTP login to send mail.