diff --git a/class.phpmailer.php b/class.phpmailer.php index d3222b00..d8811fba 100644 --- a/class.phpmailer.php +++ b/class.phpmailer.php @@ -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 . "
" .implode("
",$this->smtp->getError())) ; + $this->SetError($this->Lang('from_failed') .$smtp_from . " : " .implode(",",$this->smtp->getError())) ; throw new phpmailerException($this->ErrorInfo, self::STOP_CRITICAL); }