分类: 系统运维
2015-09-15 17:20:28
在centos上安装命令
#yum -y install mailx
配置文件是:vim /etc/mail.rc
#sudo vim /etc/nail.rc set from=123456@qq.com set smtp=smtp.qq.com set smtp-auth-user=123456 set smtp-auth-password=1a2b3c4d set smtp-auth=loginecho hello word | mail -s " title" xxxxx@163.com