dpmp9359
2017-01-12 18:22
浏览 213
已采纳

如何在发送邮件布局laravel 5.3上自定义发件人和标头?

My code is like this :

public function toMail($notifiable)
{
    return (new MailMessage)
                ->subject('You have new follower')
                ->greeting('Hello!')
                ->line('Welcome to my application')
                ->line('Thank you');
}

The result is like this : enter image description here

See I marked in blue. I want to custom that.

I read on https://laravel.com/docs/5.3/notifications#mail-notifications, but I did not find it

How do I custom it?

1条回答 默认 最新

相关推荐 更多相似问题