mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-07 18:14:32 -04:00
Add fallback for replyto name
This commit is contained in:
parent
652485f3e2
commit
cc40b52d67
@ -75,7 +75,7 @@ class NinjaMailerJob implements ShouldQueue
|
|||||||
|
|
||||||
if (strlen($this->nmo->settings->reply_to_email) > 1) {
|
if (strlen($this->nmo->settings->reply_to_email) > 1) {
|
||||||
|
|
||||||
$reply_to_name = strlen($this->nmo->settings->reply_to_name) > 1 ? $this->nmo->settings->reply_to_name : $this->nmo->company->present()->name();
|
$reply_to_name = strlen($this->nmo->settings->reply_to_name) > 3 ? $this->nmo->settings->reply_to_name : $this->nmo->settings->reply_to_email;
|
||||||
$this->nmo->mailable->replyTo($this->nmo->settings->reply_to_email, $reply_to_name);
|
$this->nmo->mailable->replyTo($this->nmo->settings->reply_to_email, $reply_to_name);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user