jiedevm
jiedevm

Reputation: 33

How to change default Laravel 8 Fortify sent email when email request is sent?

In a Laravel 8 web application which I implemented Fortify features I would like to change the template of the email view sent when a email verification request is sent

enter image description here

Upvotes: 1

Views: 2386

Answers (1)

STA
STA

Reputation: 34688

To export the components, use the vendor:publish Artisan command to publish the laravel-mail asset tag :

php artisan vendor:publish --tag=laravel-mail

This command will publish the Markdown mail components to the resources/views/vendor/mail directory. The mail directory will contain an html and a text directory, each containing their respective representations of every available component. You are free to customize these components however you like.

See the official documentation here

Upvotes: 2

Related Questions