I have two questions:
- How to change laravel 5.5 forgot password template and sender name?
- What's a proper eMail template design?
I have two questions:
You should be changing your from address & name in your .env
file, or your config/mail.php
file if you couldn't find it in your .env
. You should be looking for from
in your config/mail.php
.
'from' => [
'address' => 'no-reply@example.com',
'name' => 'Support'
],
As for changing the email template, you should look into this answer.
Publish the vendor template first by running
php artisan vendor:publish
in your CLI. Select the appropriate vendor (laravel-mail
). If everything works out fine you'll get a message stating
Copied Directory [/vendor/laravel/framework/src/Illuminate/Mail/resources/views] To [/resources/views/vendor/mail] Publishing complete.
Mailtemplates are available in /resources/views/vendor/mail
for you to edit.