Linux 配置邮件:
qq邮件配置后会告警。。。。不建议用。。。。
[root@hadoop002 ~]# echo 'hello!' | mail -s "hello test" 904333734@qq.com
[root@hadoop002 ~]# smtp-server: 535 Error: 请使用授权码登录。详情请看: http://service.mail.qq.com/cgi-bin/help?subtype=1&&id=28&&no=1001256
"/root/dead.letter" 11/300
. . . message not sent.
在Centos 6.5 x86_64位上使用命令发送邮件,供大家参考下
[root@hadoop002 ~]# which mail
/bin/mail
[root@hadoop002 ~]# mail -V