debug
parent
3693753893
commit
e5456f31e7
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue