Loading... 装完军哥的LNMP发现无法发送邮件,先检测下25 port是否被封,发现没有,SMTP能正常发送,但是非常不喜欢SMTP发送,喜欢直接用mail()发 重装sendmail yum -y install sendmail 修改PHP.ini中sendmail_path vi php.ini 搜索sendmail_path 去除;并且在在后面填上/usr/sbin/sendmail -t –i [php]sendmail_path = /usr/sbin/sendmail -t –i[/php] Last modification:December 26th, 2017 at 12:58 am © 允许规范转载 Support If you think my article is useful to you, please feel free to appreciate ×Close Appreciate the author Sweeping payments Pay by AliPay Pay by WeChat
lnmp 一直都没装sendmail...
你怎么确定 sendmail 已经安装了呢? 所以检查sendmail先
我直接换的postfix