linux虚拟机发邮件给163邮件

配置/etc/mail.rc文件

 

set from=xxxxxxxx@163.com smtp=smtp.163.com
set smtp-auth-user=yinhuanyi_cn@163.com smtp-auth-password=xxxxxxxx
set smtp-auth=login
 
 
echo "haha" | mail -s "ni hao "  xxxxxx@163.com
posted @ 2017-09-26 20:07  ~小学生~  阅读(727)  评论(0编辑  收藏  举报