浏览代码

群友提交审核下

tags/6.1.9
xushubieli 3 年前
父节点
当前提交
6497d4dcff
共有 1 个文件被更改,包括 4 次插入1 次删除
  1. +4
    -1
      src/system/libraries/mail.class.php

+ 4
- 1
src/system/libraries/mail.class.php 查看文件

@@ -115,7 +115,10 @@ class smtp
return $this->smtp_error("sending HELO command");
}
if ($this->auth) {
if (!$this->smtp_putcmd("AUTH LOGIN", base64_encode($this->user))) {
if (!$this->smtp_putcmd("AUTH LOGIN")) {
return $this->smtp_error("sending AUTH LOGIN command");
}
if (!$this->smtp_putcmd("", base64_encode($this->user))) {
return $this->smtp_error("sending HELO command");
}
if (!$this->smtp_putcmd("", base64_encode($this->pass))) {


正在加载...
取消
保存