联系官方销售客服
1835022288
028-61286886
上线的网站配置留言表单邮箱提醒,点击后台“发送测试”时 提示“fsockopen 无法连接到邮件服务器 [101-Network is unreachable]”,是哪里没有配置好吗?
注意1:本地phpstudy里的网站邮箱提醒是可以的,和线上网站的邮箱服务器 端口等配置是一模一样的;
注意2:采用的是qq邮箱服务器:ssl://smtp.qq.com
线上网站日志报错如下:
<?php defined('SYSTEMPATH') || exit('No direct script access allowed'); ?>
ERROR - 2021-03-27 11:05:35 --> 任务执行失败(488#邮件发送失败:Error:fsockopen 无法连接到邮件服务器 [101-Network is unreachable]):{"name":"form_liuyan_post","data":{"title":"科技部测试3","shouji":"","youxiang":"科技部测试3","xinxi":"","cpxz":"Mini Excavator","guojia":"","nxw":"email","status":0,"uid":"1","author":"admin","inputip":"96.45.187.49","inputtime":1616814333,"displayorder":0,"tableid":0,"id":698,"0":1,"1":698,"sys_time":1616814333,"ip_address":"未知地区"},"config":{"use":"1","username":"admin","email":"1"}}
ERROR - 2021-03-27 11:15:10 --> 任务执行失败(489#邮件发送失败:Error:fsockopen 无法连接到邮件服务器 [101-Network is unreachable]):{"name":"form_liuyan_post","data":{"title":"111","shouji":"","youxiang":"1111","xinxi":"","cpxz":"Mini Excavator","guojia":"","nxw":"email","status":0,"uid":"1","author":"admin","inputip":"39.85.152.25","inputtime":1616814909,"displayorder":0,"tableid":0,"id":699,"0":1,"1":699,"sys_time":1616814909,"ip_address":"山东"},"config":{"use":"1","username":"admin","email":"1"}}
ERROR - 2021-03-27 11:36:12 --> 任务执行失败(490#邮件发送失败:Error:fsockopen 无法连接到邮件服务器 [101-Network is unreachable]):{"name":"form_liuyan_post","data":{"title":"222","shouji":"","youxiang":"222","xinxi":"","cpxz":"Mini Excavator","guojia":"","nxw":"email","status":0,"uid":"1","author":"admin","inputip":"39.85.152.25","inputtime":1616816171,"displayorder":0,"tableid":0,"id":700,"0":1,"1":700,"sys_time":1616816171,"ip_address":"山东"},"config":{"use":"1","username":"admin","email":"1"}}
ERROR - 2021-03-27 11:41:22 --> 任务执行失败(491#邮件发送失败:Error:fsockopen 无法连接到邮件服务器 [101-Network is unreachable]):{"name":"form_liuyan_post","data":{"title":"333","shouji":"","youxiang":"333","xinxi":"","cpxz":"Mini Excavator","guojia":"","nxw":"email","status":0,"uid":"1","author":"admin","inputip":"39.85.152.25","inputtime":1616816481,"displayorder":0,"tableid":0,"id":701,"0":1,"1":701,"sys_time":1616816481,"ip_address":"山东"},"config":{"use":"1","username":"admin","email":"1"}}