http://caspian.dotconf.net/menu/Software/SendEmail/


install:

# wget http://caspian.dotconf.net/menu/Software/SendEmail/sendEmail-v1.56.tar.gz

# tar zxvf sendEmail-v1.56.tar.gz

# cp sendEmail-v1.56/sendEmail /usr/local/bin/


send test message:

[root@CentOS6 ~]# sendEmail -f [email protected] -t [email protected] -s smtp.163.com -u "TEST" -xu [email protected] -xp "xxxxx" -m "HELLO,THIS IS TEST"

Sep 05 06:07:45 centos6 sendEmail[58805]: Email was sent successfully!


[root@CentOS6 ~]# sendEmail --help

sendEmail_第1张图片