您现在的位置: 主页 > 嵌入式操作系统 > Linux > 【WordPress】CentOS6.10测试WP发送邮件失败
本文所属标签:
为本文创立个标签吧:

【WordPress】CentOS6.10测试WP发送邮件失败

来源:网络整理 网络用户发布,如有版权联系网管删除 2018-08-08 

1、错误信息如下:

  SMTP -> ERROR: Failed to connect to server: Permission denied (13)

2、解决方法:

  https://gistpages.com/posts/phpmailer_smtp_error_failed_to_connect_to_server_permission_denied_13_fix

3、查看phpmailer状态

$ getsebool httpd_can_sendmailhttpd_can_sendmail --> off$ getsebool httpd_can_network_connecthttpd_can_network_connect --> off

4、以上可以看出,需要打开连接

$ setsebool -P httpd_can_sendmail 1$ setsebool -P httpd_can_network_connect 1



              查看评论 回复



嵌入式交流网主页 > 嵌入式操作系统 > Linux > 【WordPress】CentOS6.10测试WP发送邮件失败
 可以 以上 看出

"【WordPress】CentOS6.10测试WP发送邮件失败"的相关文章

网站地图

围观()