阿里云主机安装 discuz 程序,默认 centos 系统环境下,邮件发送功能无效,检查了下是 sendmail 组件缺失。
可以通过以下步骤修复:
1. 安装 sendmail 组件:
yum install sendmail
2. 重启 php-fpm 进程:
/etc/init.d/php-fpm restart
3. 检测 sendmail 是否运行正常(会显示正在运行)
/etc/init.d/sendmail status
4. 关停命令:
/etc/init.d/sendmail start /etc/init.d/sendmail stop /etc/init.d/sendmail restart
版权所有,转载请注明出处。
转载自 <a href="https://mangguo.org/centos-install-sendmail-support/" title="centos 系统下安装 sendmail 组件支持" rel="bookmark">centos 系统下安装 sendmail 组件支持 | 芒果小站</a>
如果喜欢这篇文章,欢迎订阅芒果小站以获得最新内容。
/2014-12-30 15:54这款主题真漂亮,博主可不可以分享一下html的模版啊
/2015-01-11 07:33发现没有留言板~~
/2015-01-28 17:32sendmail邮件组件算是稳定性比较好的了