在服务器上用PHPMAIL发送邮件出现Could not connect to SMTP host错误 解决办法
Posted on 2013-04-16 22:37 实验室特别官员 阅读(286) 评论(0) 收藏 举报在 class.phpmailer.php 中,将
function IsSMTP() {
$this->Mailer = 'smtp';
}
改成:
function IsSMTP() {
$this->Mailer = 'SMTP';
}
|
|
|
在服务器上用PHPMAIL发送邮件出现Could not connect to SMTP host错误 解决办法Posted on 2013-04-16 22:37 实验室特别官员 阅读(286) 评论(0) 收藏 举报在 class.phpmailer.php 中,将 function IsSMTP() { $this->Mailer = 'smtp'; } 改成: function IsSMTP() { $this->Mailer = 'SMTP'; }
|
|