mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Hosted changes
This commit is contained in:
parent
0b4eaf9d4f
commit
918258948b
@ -15,7 +15,7 @@ use Illuminate\Http\UploadedFile;
|
|||||||
use Illuminate\Support\Carbon;
|
use Illuminate\Support\Carbon;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* EmailObject.
|
* InboundMail.
|
||||||
*/
|
*/
|
||||||
class InboundMail
|
class InboundMail
|
||||||
{
|
{
|
||||||
|
@ -38,9 +38,9 @@ class InboundMailEngine
|
|||||||
public function __construct()
|
public function __construct()
|
||||||
{
|
{
|
||||||
|
|
||||||
$this->globalBlacklist = explode(",", config('ninja.inbound_mailbox.global_inbound_blocklist'));
|
// only for global validation, not for allowing to send something into the company, should be used to disabled blocking for mass-senders
|
||||||
$this->globalWhitelist = explode(",", config('ninja.inbound_mailbox.global_inbound_whitelist')); // only for global validation, not for allowing to send something into the company, should be used to disabled blocking for mass-senders
|
$this->globalBlacklist = Ninja::isSelfHost() ? explode(",", config('ninja.inbound_mailbox.global_inbound_blocklist')) : [];
|
||||||
|
$this->globalWhitelist = Ninja::isSelfHost() ? explode(",", config('ninja.inbound_mailbox.global_inbound_whitelist')) : [];
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* if there is not a company with an matching mailbox, we only do monitoring
|
* if there is not a company with an matching mailbox, we only do monitoring
|
||||||
|
Loading…
x
Reference in New Issue
Block a user