diff --git a/app/Jobs/Mail/NinjaMailerJob.php b/app/Jobs/Mail/NinjaMailerJob.php index dc8d4d6ed2..0abbbc9c45 100644 --- a/app/Jobs/Mail/NinjaMailerJob.php +++ b/app/Jobs/Mail/NinjaMailerJob.php @@ -100,9 +100,14 @@ class NinjaMailerJob implements ShouldQueue if (strlen($this->nmo->settings->bcc_email) > 1) { - nlog('bcc list available'); - nlog($this->nmo->settings->bcc_email); - $this->nmo->mailable->bcc(explode(",", $this->nmo->settings->bcc_email), 'Blind Copy'); + + $bcc_list = []; + + foreach(explode(",", $this->nmo->settings->bcc_email) as $bcc) + $bcc_list[] = $bcc; + + $this->nmo->mailable->bcc($bcc_list, 'Blind Copy'); + }