Command line SMTP server test
Swaks - Swiss Army Knife for SMTP
swaks --to foo@bar --from acme@roadrunner --server mailserver.com
Supports TLS
swaks --to foo@bar.com --from acme@roadrunner --auth-user someusername --auth-password somepassword --server mailserver.com --tls