From 6f4e058b67407d31c29ec48d19069764e6a6c605 Mon Sep 17 00:00:00 2001 From: fredtempez Date: Sat, 16 Feb 2019 19:02:12 +0100 Subject: [PATCH] =?UTF-8?q?Mail=20en=20copie=20cach=C3=A9e?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/core.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/core.php b/core/core.php index e4593db3..2792439a 100644 --- a/core/core.php +++ b/core/core.php @@ -964,11 +964,11 @@ class common { $mail->addReplyTo('no-reply@' . $host, $this->getData(['config', 'title'])); if(is_array($to)) { foreach($to as $userMail) { - $mail->addAddress($userMail); + $mail->addBCC($userMail); } } else { - $mail->addAddress($to); + $mail->addBCC($to); } $mail->isHTML(true); $mail->Subject = $subject;