Add MAIL_FROM_ADDRESS & MAIL_FROM_NAME to .env file (#5180)

This commit is contained in:
Anton Komarev 2019-12-18 20:17:32 +03:00 committed by Taylor Otwell
parent c5f9126981
commit b2734a9c31
2 changed files with 3 additions and 1 deletions

View File

@ -29,6 +29,8 @@ MAIL_PORT=2525
MAIL_USERNAME=null
MAIL_PASSWORD=null
MAIL_ENCRYPTION=null
MAIL_FROM_ADDRESS=null
MAIL_FROM_NAME="${APP_NAME}"
AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=

View File

@ -57,7 +57,7 @@ return [
'from' => [
'address' => env('MAIL_FROM_ADDRESS', 'hello@example.com'),
'name' => env('MAIL_FROM_NAME', env('APP_NAME', 'Example')),
'name' => env('MAIL_FROM_NAME', 'Example'),
],
/*