parent
cdf7b13b5b
commit
febfff5f12
@ -34,7 +34,7 @@ trait MailChannel
|
|||||||
public function toMail($notifiable)
|
public function toMail($notifiable)
|
||||||
{
|
{
|
||||||
return (new MailMessage())
|
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)
|
->subject($this->mailSubject)
|
||||||
->markdown($this->mailTemplate, $this->mailTemplateArgs);
|
->markdown($this->mailTemplate, $this->mailTemplateArgs);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user