parent
f0b4e35438
commit
198cf88237
|
|
@ -965,7 +965,7 @@ class PHPMailer {
|
|||
}
|
||||
$smtp_from = ($this->Sender == '') ? $this->From : $this->Sender;
|
||||
if(!$this->smtp->Mail($smtp_from)) {
|
||||
$this->SetError($this->Lang('from_failed') .$smtp_from . "<br />" .implode("<br />",$this->smtp->getError())) ;
|
||||
$this->SetError($this->Lang('from_failed') .$smtp_from . " : " .implode(",",$this->smtp->getError())) ;
|
||||
throw new phpmailerException($this->ErrorInfo, self::STOP_CRITICAL);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue