Use MailCore 2 to send email. It seems more reliable than SMTPLib.