我发送几行清单:
->line(' - Submit your own recipes and link to your own site.Get customized newsletters based on your food and drink profile.')
->line(' - Take part in contests with amazing prizes and get invited to events!')
->line(' - Are you a business or brand? Create your own profile to promote to your audience!')
但是列表的最后一项样式变坏了:
如何解决?
答案 0 :(得分:1)
使用以下代码:
class HelloUser extends Notification {
public function via($notifiable){
return ['mail'];
}
public function toMail($notifiable) {
return (new MailMessage)
->line('Submit your own recipes and link to your own site.Get customized newsletters based on your food and drink profile.')
->line('Take part in contests with amazing prizes and get invited to events!')
->line('Are you a business or brand? Create your own profile to promote to your audience!');
}
}