Test your destination SMTP server
telnet smtp.mailendo.com 25
Install swaks
command line tool
apt-get install swaks
Play with it ~~
echo "This is the message body" | swaks --to [email protected] --from "[email protected]" --server smtp.mailendo.com --auth LOGIN --auth-user "[email protected]" --auth-password "asdfasdf”
Enjoy ?