Minor fixes for bcc's
This commit is contained in:
parent
5b5167ae59
commit
ad1bea598c
1 changed files with 4 additions and 2 deletions
|
|
@ -90,8 +90,10 @@ class TemplateEmail extends Mailable
|
|||
|
||||
if (strlen($settings->bcc_email) > 1){
|
||||
|
||||
if(Ninja::isHosted())
|
||||
$this->bcc(reset(explode(",",str_replace(" ", "", $settings->bcc_email))));//remove whitespace if any has been inserted.
|
||||
if(Ninja::isHosted()){
|
||||
$bccs = explode(",",str_replace(" ", "", $settings->bcc_email));
|
||||
$this->bcc(reset($bccs));//remove whitespace if any has been inserted.
|
||||
}
|
||||
else
|
||||
$this->bcc(explode(",",str_replace(" ", "", $settings->bcc_email)));//remove whitespace if any has been inserted.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue