diff --git a/src/PHPMailer.php b/src/PHPMailer.php index 4a6077c0..a8f157d0 100644 --- a/src/PHPMailer.php +++ b/src/PHPMailer.php @@ -4180,7 +4180,7 @@ class PHPMailer if ('smtp' === $this->Mailer && null !== $this->smtp) { $lasterror = $this->smtp->getError(); if (!empty($lasterror['error'])) { - $msg .= $this->lang('smtp_error') . $lasterror['error']; + $msg .= ' ' . $this->lang('smtp_error') . $lasterror['error']; if (!empty($lasterror['detail'])) { $msg .= ' ' . $this->lang('smtp_detail') . $lasterror['detail']; }