mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 13:12:50 +01:00
Allow different mail from / mail name for multi company mailers
This commit is contained in:
parent
ccac01bacd
commit
5b5213de93
@ -251,6 +251,13 @@ class NinjaMailerJob implements ShouldQueue
|
|||||||
],
|
],
|
||||||
]);
|
]);
|
||||||
|
|
||||||
|
if(env($this->company->id . '_MAIL_FROM_ADDRESS'))
|
||||||
|
{
|
||||||
|
$this->nmo
|
||||||
|
->mailable
|
||||||
|
->from(env($this->company->id . '_MAIL_FROM_ADDRESS', env('MAIL_FROM_ADDRESS')), env($this->company->id . '_MAIL_FROM_NAME', env('MAIL_FROM_NAME')));
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user