From febfff5f125bae8a53315dc5b150affcd5787996 Mon Sep 17 00:00:00 2001 From: Timothy Sturm Date: Fri, 21 Aug 2020 14:54:26 -0500 Subject: [PATCH] Update MailChannel.php (#793) Update from email #792 --- app/Notifications/Channels/MailChannel.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Notifications/Channels/MailChannel.php b/app/Notifications/Channels/MailChannel.php index 0112882d..ea93fef5 100644 --- a/app/Notifications/Channels/MailChannel.php +++ b/app/Notifications/Channels/MailChannel.php @@ -34,7 +34,7 @@ trait MailChannel public function toMail($notifiable) { return (new MailMessage()) - ->from(config('mail.from.address', 'no-reply@phpvms.net')) + ->from(config('mail.from.address', 'no-reply@phpvms.net'), config('mail.from.name')) ->subject($this->mailSubject) ->markdown($this->mailTemplate, $this->mailTemplateArgs); }