diff --git a/app/Jobs/Mail/NinjaMailerJob.php b/app/Jobs/Mail/NinjaMailerJob.php index 56521b8278..09f8c7fc8b 100644 --- a/app/Jobs/Mail/NinjaMailerJob.php +++ b/app/Jobs/Mail/NinjaMailerJob.php @@ -79,10 +79,9 @@ class NinjaMailerJob implements ShouldQueue } - if (strlen($settings->bcc_email) > 1) { - $this->nmo->mailable->bcc($settings->bcc_email, $settings->bcc_email); - } - + if (strlen($this->nmo->settings->bcc_email) > 1) + $this->nmo->mailable->bcc($this->nmo->settings->bcc_email, $this->nmo->settings->bcc_email); + //send email try {