php Failure sending mail

Linux - SMP - x86_64 - GNU / Linux - Mail

 

1.php.ini配置
sendmail_path = "/usr/sbin/sendmail -t -i"


2. /etc/postfix/main.cf configuration (if not deserve it, will smtp proxy access external networks, and online server does not allow access outside the network)
relayhost = proxy-in.baidu.com

Published 45 original articles · won praise 12 · views 50000 +

Guess you like

Origin blog.csdn.net/qq_40012791/article/details/104362804