diff --git a/app/Mail/SendEstimateMail.php b/app/Mail/SendEstimateMail.php index 888176f6..b3681330 100644 --- a/app/Mail/SendEstimateMail.php +++ b/app/Mail/SendEstimateMail.php @@ -40,7 +40,7 @@ class SendEstimateMail extends Mailable 'mailable_id' => $this->data['estimate']['id'] ]); - return $this->from($this->data['from']) + return $this->from($this->data['from'], config('mail.from.name')) ->subject($this->data['subject']) ->markdown('emails.send.estimate', ['data', $this->data]); diff --git a/app/Mail/SendInvoiceMail.php b/app/Mail/SendInvoiceMail.php index c0934185..c60c50e0 100644 --- a/app/Mail/SendInvoiceMail.php +++ b/app/Mail/SendInvoiceMail.php @@ -1,6 +1,7 @@ $this->data['invoice']['id'] ]); - return $this->from($this->data['from'], env('MAIL_FROM_NAME')) + return $this->from($this->data['from'], config('mail.from.name')) ->subject($this->data['subject']) ->markdown('emails.send.invoice', ['data', $this->data]); }