Linux - SMP - x86_64 - GNU/Linux - 邮件
1.php.ini配置
sendmail_path = "/usr/sbin/sendmail -t -i"
2. /etc/postfix/main.cf 配置(如果不配的话,会访问外网的smtp代理,而线上服务器不允许访问外网)
relayhost = proxy-in.baidu.com
来源:CSDN
作者:zxyBaby1027
链接:https://blog.csdn.net/qq_40012791/article/details/104362804