35dir分类目录网站SMTP Error: Could not connect to SMTP host.错误的解决方法
来源:本站原创 浏览:388次 时间:2012-12-26
简介:SMTP Error: Could not connect to SMTP host.错误的解决方法
原来的
$this->smtp_conn = fsockopen(
$host,
$port,
$errno,
$errstr,
$timeout
);
修改为:
$this->smtp_conn = fsockopen(
$host,
$port,
$errno,
$errstr,
$timeout
);
或者
$this->smtp_conn = @stream_socket_client(
$host,
$port,
$errno,
$errstr,
$timeout
);
### 另:邮件密码是在邮箱设置里面的授权码,而不是登录密码