IT博客汇
  • 首页
  • 精华
  • 技术
  • 设计
  • 资讯
  • 扯淡
  • 权利声明
  • 登录 注册

    CentOS 系统下安装 sendmail 组件支持

    芒果发表于 2014-12-28 16:40:05
    love 0

    阿里云主机安装 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


沪ICP备19023445号-2号
友情链接