Mail en copie cachée

This commit is contained in:
fredtempez 2019-02-16 19:02:12 +01:00
parent f4f0049256
commit 6f4e058b67

View File

@ -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;