摘要:
首先安装sendmail软件...yum install sendmail/etc/init.d/php-fpm restart来检查下sendmail是否正常运行/etc/init.d/sendmail status如果显示正常运行说明已经安装成功了设置sendmail的绝对路径/usr/local/php/etc/php.ini 找到了sendmail_path把他修改成 sendmail_path = /usr/sbin/sendmail -t –i;重启php-fpm进程 /etc/init.d/php-fpm restart 然后启动sendmail服务/etc/init.d/sen 阅读全文