phpmail SMTP error failed to connect server解决方法:
class.smtp.php 文件里
 原来的:
$this->smtp_conn =fsockopen(
 $host,
 $port,
 $errno,
 $errstr,
 $timeout
 );
修改为:
 $this->smtp_conn = @stream_socket_client(
 $host,
 $port,
 $errno,
 $errstr,
 $timeout
 );
phpmail SMTP error failed to connect server 解决方法:
阅读 112
2022-02-02
phpmail SMTP error failed to connect server解决方法:
class.smtp.php 文件里
 原来的:
$this->smtp_conn =fsockopen(
 $host,
 $port,
 $errno,
 $errstr,
 $timeout
 );
修改为:
 $this->smtp_conn = @stream_socket_client(
 $host,
 $port,
 $errno,
 $errstr,
 $timeout
 );
相关推荐
精彩评论(0)