当前位置:论坛首页 > Linux面板 > Linux面板教程

关于无法使用PHP自带函数发送邮件的解决方法

发表在 Linux面板2017-3-2 14:41 [复制链接] 6 11375

Centos6.x:
               检查sendmail是否启动:
  1. chkconfig --list | grep sendmail
复制代码

               若显示为空请通过以下命令设置sendmail自动启动:
                          service sendmail start
                          chkconfig --level 2345 sendmail on

Centos7.x:
               检查sendmail是否启动:
  1. systemctl list-units --type=service|grep sendmail
复制代码

               若显示为空请通过以下命令设置sendmail自动启动:
                          systemctl start sendmail.service
                          systemctl enable sendmail.service
使用道具 举报 只看该作者 回复
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

企业版年付运维跟进群

普通问题处理

论坛响应时间:72小时

问题处理方式:排队(仅解答)

工作时间:白班:9:00 - 18:00

紧急问题处理

论坛响应时间:10分钟

问题处理方式:1对1处理(优先)

工作时间:白班:9:00 - 18:00

工作时间:晚班:18:00 - 24:00

立即付费处理
快速回复 返回顶部 返回列表