Update MailChannel.php (#793)

Update from email #792
This commit is contained in:
Timothy Sturm 2020-08-21 14:54:26 -05:00 committed by GitHub
parent cdf7b13b5b
commit febfff5f12
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);
}