mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 13:12:50 +01:00
Fixes for BCC list
This commit is contained in:
parent
949ccee9a7
commit
8513f1408d
@ -100,9 +100,14 @@ class NinjaMailerJob implements ShouldQueue
|
|||||||
|
|
||||||
|
|
||||||
if (strlen($this->nmo->settings->bcc_email) > 1) {
|
if (strlen($this->nmo->settings->bcc_email) > 1) {
|
||||||
nlog('bcc list available');
|
|
||||||
nlog($this->nmo->settings->bcc_email);
|
$bcc_list = [];
|
||||||
$this->nmo->mailable->bcc(explode(",", $this->nmo->settings->bcc_email), 'Blind Copy');
|
|
||||||
|
foreach(explode(",", $this->nmo->settings->bcc_email) as $bcc)
|
||||||
|
$bcc_list[] = $bcc;
|
||||||
|
|
||||||
|
$this->nmo->mailable->bcc($bcc_list, 'Blind Copy');
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user