0

I have two questions:

  1. How to change laravel 5.5 forgot password template and sender name?
  2. What's a proper eMail template design?

how to change laravel 5.5 forgot password template and sender name?

zx485
  • 28,498
  • 28
  • 50
  • 59
Dhiarj Sharma
  • 328
  • 3
  • 12
  • 2
    Alternatively you could consult the [Laravel Mail Documentation](https://laravel.com/docs/5.5/mail) and read things there. – brombeer Mar 06 '18 at 09:45

2 Answers2

1

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.

sykez
  • 2,015
  • 15
  • 14
0

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.

brombeer
  • 8,716
  • 5
  • 21
  • 27