feat/task1-c-wallet
devil_gong 2019-01-11 18:17:34 +08:00
parent 3693753893
commit e5456f31e7
1 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@ namespace phpmailer;
* @author Andy Prevost (codeworxtech) <codeworxtech@users.sourceforge.net>
* @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) {