系统Centos7

编辑使用的代理邮箱信息

vi /etc/mail.rc

set from=xxx@163.com
set smtp=smtp.163.com
set smtp-auth-user=xxx@163.com
set smtp-auth-password= 使用客户端授权密码
set smtp-auth=login

测试

echo "this is a test mail" | mail -s "TEST mail" maoxf@sogood360.com

 

报错提示:

Unexpected EOF on SMTP connection

一定要使用客户端授权密码才行

相关文章:

  • 2021-12-26
  • 2021-07-13
  • 2021-07-13
  • 2021-05-21
  • 2021-12-15
  • 2022-01-08
  • 2021-06-16
猜你喜欢
  • 2021-12-02
  • 2022-01-02
  • 2021-12-04
  • 2021-08-17
  • 2022-02-12
  • 2021-07-27
  • 2021-12-16
相关资源
相似解决方案