安装
# wget http://caspian.dotconf.net/menu/Software/SendEmail/sendEmail-v1.56.tar.gz
# tar zxf sendEmail-v1.56.tar.gz -C /var/src
# cp /var/src/sendEmail-v1.56/sendEmail /usr/bin/sendEmail
# chmod 755 /usr/bin/sendEmail
/usr/local/bin/sendEmail –f sender@163.com –t receiver@163.com –s smtp.163.com –u “from nagios” –xu sender –xp 123456 –m happy
解释:
-f 表示发送者的邮箱
-t ...