diff --git a/app/Jobs/Mail/NinjaMailerJob.php b/app/Jobs/Mail/NinjaMailerJob.php index 9ec4f4cab0..b2a72f4355 100644 --- a/app/Jobs/Mail/NinjaMailerJob.php +++ b/app/Jobs/Mail/NinjaMailerJob.php @@ -75,7 +75,7 @@ class NinjaMailerJob implements ShouldQueue 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); }