From 76b31ced9393e23d86d31954599a093548807a3b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=80=E5=8D=8A?= <1094963513@qq.com> Date: Wed, 27 Jan 2021 04:36:37 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=82=AE=E4=BB=B6=E5=8F=91?= =?UTF-8?q?=E9=80=81=E6=97=B6Log=E7=B1=BB=E6=89=BE=E4=B8=8D=E5=88=B0?= =?UTF-8?q?=E7=9A=84=E8=87=B4=E5=91=BD=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/common/library/Email.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/common/library/Email.php b/application/common/library/Email.php index bad0fc1cc..8d186fc35 100644 --- a/application/common/library/Email.php +++ b/application/common/library/Email.php @@ -62,7 +62,7 @@ class Email $secureArr = [0 => '', 1 => 'tls', 2 => 'ssl']; $secure = isset($secureArr[$this->options['mail_verify_type']]) ? $secureArr[$this->options['mail_verify_type']] : ''; - $this->mail = new Mailer(new Log); + $this->mail = new Mailer(); $this->mail->setServer($this->options['mail_smtp_host'], $this->options['mail_smtp_port'], $secure); $this->mail->setAuth($this->options['mail_from'], $this->options['mail_smtp_pass']); -- Gitee