Made mail config values configurable by .env file.
This commit is contained in:
parent
e3630a53af
commit
4310e0b3ea
|
@ -8,4 +8,5 @@ DB_USERNAME=homestead
|
|||
DB_PASSWORD=secret
|
||||
|
||||
CACHE_DRIVER=file
|
||||
MAIL_DRIVER=smtp
|
||||
SESSION_DRIVER=file
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
|
|
||||
*/
|
||||
|
||||
'driver' => 'smtp',
|
||||
'driver' => env('MAIL_DRIVER', 'smtp'),
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
|
@ -28,7 +28,7 @@
|
|||
|
|
||||
*/
|
||||
|
||||
'host' => 'smtp.mailgun.org',
|
||||
'host' => env('SMTP_HOST', 'smtp.mailgun.org'),
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
|
@ -41,7 +41,7 @@
|
|||
|
|
||||
*/
|
||||
|
||||
'port' => 587,
|
||||
'port' => env('SMTP_PORT', 587),
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
|
@ -80,7 +80,7 @@
|
|||
|
|
||||
*/
|
||||
|
||||
'username' => null,
|
||||
'username' => env('SMTP_USERNAME'),
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
|
@ -93,7 +93,7 @@
|
|||
|
|
||||
*/
|
||||
|
||||
'password' => null,
|
||||
'password' => env('SMTP_PASSWORD'),
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in New Issue