Add SMTP support and use name vs. fqdn

I've patched this to work with remote SMTP servers as well as working on nodes that may not have a FQDN defined. Let me know if you see areas for improvement.