Skip to content

Commit

Permalink
Added separate MAIL_FROM_ADDRESS
Browse files Browse the repository at this point in the history
  • Loading branch information
Bartosz Juraszewski committed May 20, 2024
1 parent 5b58f2e commit 555e2fa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ MAIL_PORT=587
MAIL_ENCRYPTION=tls
MAIL_USERNAME=
MAIL_PASSWORD=
MAIL_FROM_ADDRESS=
MAIL_FROM_NAME=

DOCKER_PORT=80

Expand Down
2 changes: 1 addition & 1 deletion config/mail.php
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@
*/

'from' => [
'address' => env('MAIL_USERNAME', '[email protected]'),
'address' => env('MAIL_FROM_ADDRESS', env('MAIL_USERNAME', '[email protected]')),
'name' => env('MAIL_FROM_NAME', 'Example'),
],

Expand Down

0 comments on commit 555e2fa

Please sign in to comment.