From e5456f31e75ce19c844d89ce7dbacd296e8aa286 Mon Sep 17 00:00:00 2001 From: devil_gong Date: Fri, 11 Jan 2019 18:17:34 +0800 Subject: [PATCH] debug --- extend/phpmailer/PHPMailer.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extend/phpmailer/PHPMailer.php b/extend/phpmailer/PHPMailer.php index 4de1470ca..0d38879bc 100644 --- a/extend/phpmailer/PHPMailer.php +++ b/extend/phpmailer/PHPMailer.php @@ -28,7 +28,7 @@ namespace phpmailer; * @author Andy Prevost (codeworxtech) * @author Brent R. Matzelle (original founder) */ -class PHPMailer extends think\Exception +class PHPMailer { const CHARSET_ISO88591 = 'iso-8859-1'; const CHARSET_UTF8 = 'utf-8'; @@ -1772,7 +1772,7 @@ class PHPMailer extends think\Exception { $bad_rcpt = []; if (!$this->smtpConnect($this->SMTPOptions)) { - throw new Exception($this->lang('smtp_connect_failed'), self::STOP_CRITICAL); + throw new \Exception($this->lang('smtp_connect_failed'), self::STOP_CRITICAL); } //Sender already validated in preSend() if ('' == $this->Sender) { -- GitLab