1
I am using Notification in Laravel to send password reset emails. My toMail method is like this:
public function toMail($notifiable)
{
return (new MailMessage)
->subject('Link para redefinição de senha')
->greeting('Redefinir senha!')
->line('Clique no botão abaixo para redefinir sua senha.')
->action('Trocar senha', url('password/reset', $this->token))
->line('Qualquer dúvida estamos a disposição!');
}
When the email arrives in the user box, the name appears as the sender: Example. How can I set the name of my application as the sender?