Centos 设置默认的发送email

nano /etc/mail.rc

在这文件的尾端,加入smtp的资料

#config for sendmail by SMTP
set [email protected]
set smtp=smtps://smtp.xxx.com:465
set [email protected]
set smtp-auth-password=PasswordXXX.com
set smtp-auth=login

Loading

Facebook评论