提交 e5456f31 编写于 作者: D devil_gong

debug

上级 36937538
...@@ -28,7 +28,7 @@ namespace phpmailer; ...@@ -28,7 +28,7 @@ namespace phpmailer;
* @author Andy Prevost (codeworxtech) <codeworxtech@users.sourceforge.net> * @author Andy Prevost (codeworxtech) <codeworxtech@users.sourceforge.net>
* @author Brent R. Matzelle (original founder) * @author Brent R. Matzelle (original founder)
*/ */
class PHPMailer extends think\Exception class PHPMailer
{ {
const CHARSET_ISO88591 = 'iso-8859-1'; const CHARSET_ISO88591 = 'iso-8859-1';
const CHARSET_UTF8 = 'utf-8'; const CHARSET_UTF8 = 'utf-8';
...@@ -1772,7 +1772,7 @@ class PHPMailer extends think\Exception ...@@ -1772,7 +1772,7 @@ class PHPMailer extends think\Exception
{ {
$bad_rcpt = []; $bad_rcpt = [];
if (!$this->smtpConnect($this->SMTPOptions)) { 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() //Sender already validated in preSend()
if ('' == $this->Sender) { if ('' == $this->Sender) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册