[9.0.01] Envoi mail adresse non masquée

This commit is contained in:
fredtempez 2019-03-05 09:58:52 +01:00
parent 9a42c9dfab
commit 8adae6dcc3
1 changed files with 1 additions and 1 deletions

View File

@ -967,7 +967,7 @@ class common {
$mail->addReplyTo('no-reply@' . $host, $this->getData(['config', 'title'])); $mail->addReplyTo('no-reply@' . $host, $this->getData(['config', 'title']));
if(is_array($to)) { if(is_array($to)) {
foreach($to as $userMail) { foreach($to as $userMail) {
$mail->addBCC($userMail); $mail->addAddress($userMail);
} }
} }
else { else {