CentOS 配置mail.rc 发送邮件
vi /etc/mail.rc
set from=xxxxxx@qq.com
set smtp=smtp.qq.com
set smtp-auth-user=xxxxxx@qq.com
set smtp-auth-password=QQ邮箱服务器认证密码
set smtp-auth=login
set smtp-use-starttls
set ssl-verify=ignore
发送邮件
echo 邮件内容 | mail -s 邮件标题 xxxx@qq.com,xxxxx@139.com,xxxx@home.com
努力让自己变得不那么low