swaks is a command line SMTP testing tool available at http://www.jetmore.org/john/code/swaks/ On Debian/Ubuntu, you can install it with
1 |
apt install swaks |
if you just type swaks, it will ask your email, then sent a mail using MX Record to specified email address. To send email using specific mail sevrer
1 |
swaks --to user@example.com --server test-server.example.net |
Deliver a standard test email, requiring CRAM-MD5 […]