catch bad SMTP settings before they error out sending mail, RT#83775