diff --git a/externals/phpmailer/class.phpmailer-lite.php b/externals/phpmailer/class.phpmailer-lite.php index 824878d074..c064d6cddd 100644 --- a/externals/phpmailer/class.phpmailer-lite.php +++ b/externals/phpmailer/class.phpmailer-lite.php @@ -491,13 +491,7 @@ class PHPMailerLite { switch($this->Mailer) { case 'amazon-ses': - $toArr = array(); - foreach($this->to as $t) { - $toArr[] = $this->AddrFormat($t); - } - $to = implode(', ', $toArr); return $this->customMailer->executeSend( - "To: ".$to."\n". $header. $body);