mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
commit
c4a1a1f4be
@ -101,12 +101,7 @@ class NinjaMailerJob implements ShouldQueue
|
|||||||
|
|
||||||
if (strlen($this->nmo->settings->bcc_email) > 1) {
|
if (strlen($this->nmo->settings->bcc_email) > 1) {
|
||||||
|
|
||||||
$bcc_list = [];
|
$this->nmo->mailable->bcc(explode(",", $this->nmo->settings->bcc_email));
|
||||||
|
|
||||||
foreach(explode(",", $this->nmo->settings->bcc_email) as $bcc)
|
|
||||||
$bcc_list[] = $bcc;
|
|
||||||
|
|
||||||
$this->nmo->mailable->bcc($bcc_list, 'Blind Copy');
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -80,8 +80,8 @@ class TemplateEmail extends Mailable
|
|||||||
|
|
||||||
$this->from(config('mail.from.address'), $this->company->present()->name());
|
$this->from(config('mail.from.address'), $this->company->present()->name());
|
||||||
|
|
||||||
if (strlen($settings->bcc_email) > 1)
|
// if (strlen($settings->bcc_email) > 1)
|
||||||
$this->bcc($settings->bcc_email, $settings->bcc_email);
|
// $this->bcc(explode(",",$settings->bcc_email), 'BCC');
|
||||||
|
|
||||||
$this->subject($this->build_email->getSubject())
|
$this->subject($this->build_email->getSubject())
|
||||||
->text('email.template.plain', [
|
->text('email.template.plain', [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user