install swaks
#yum install swaks
send mail command
echo “This is the message body” | swaks –to [email protected] –from “[email protected]” –server mailxx.heteml.jp:587 –h-Subject “subject test” –body “body test” –auth LOGIN –auth-user “[email protected]” –auth-password “password” non-tls