Mail en copie cachée
This commit is contained in:
parent
f4f0049256
commit
6f4e058b67
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user