mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-08-11 15:34:21 -04:00
Enable sending emails from alternate domain
This commit is contained in:
parent
7a20dc5c12
commit
2da91729b3
@ -73,7 +73,7 @@ class Invitation extends EntityModel
|
|||||||
$url = trim(SITE_URL, '/');
|
$url = trim(SITE_URL, '/');
|
||||||
|
|
||||||
if ($account->hasFeature(FEATURE_CUSTOM_URL)) {
|
if ($account->hasFeature(FEATURE_CUSTOM_URL)) {
|
||||||
if (Utils::isNinja()) {
|
if (Utils::isNinjaProd()) {
|
||||||
$url = $account->present()->clientPortalLink();
|
$url = $account->present()->clientPortalLink();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@ trait SendsEmails
|
|||||||
|
|
||||||
public function getFromEmail()
|
public function getFromEmail()
|
||||||
{
|
{
|
||||||
if ( ! $this->isPro() || ! Utils::isNinja()) {
|
if ( ! $this->isPro() || ! Utils::isNinjaProd() || Utils::isReseller()) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user