mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
fixes
This commit is contained in:
parent
96b60f4ee2
commit
8616adb437
@ -32,11 +32,14 @@ class InboundMailEngine
|
|||||||
use SerializesModels, MakesHash;
|
use SerializesModels, MakesHash;
|
||||||
use GeneratesCounter, SavesDocuments;
|
use GeneratesCounter, SavesDocuments;
|
||||||
|
|
||||||
private ?bool $isUnknownRecipent = null;
|
private array $globalBlacklist;
|
||||||
private array $globalBlacklist = explode(",", config('global_inbound_blocklist'));
|
private array $globalWhitelist; // only for global validation, not for allowing to send something into the company, should be used to disabled blocking for mass-senders
|
||||||
private array $globalWhitelist = explode(",", config('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
|
|
||||||
public function __construct()
|
public function __construct()
|
||||||
{
|
{
|
||||||
|
|
||||||
|
$this->globalBlacklist = explode(",", config('global_inbound_blocklist'));
|
||||||
|
$this->globalWhitelist = explode(",", config('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
|
||||||
|
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* 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