install mailx yum -y update yum install -y mailx create a symbolic link ln -s /bin/mailx /bin/email set SMTP Server vi /etc/mail.rc edit set smtp=<SMTP_SERVER:PORT> example: echo "Your message" | mail -v -s "Message Subject" email@address