Made mail config values configurable by .env file.

This commit is contained in:
Martin Bean 2015-02-17 16:04:27 +00:00
parent e3630a53af
commit 4310e0b3ea
2 changed files with 6 additions and 5 deletions

View File

@ -8,4 +8,5 @@ DB_USERNAME=homestead
DB_PASSWORD=secret DB_PASSWORD=secret
CACHE_DRIVER=file CACHE_DRIVER=file
MAIL_DRIVER=smtp
SESSION_DRIVER=file SESSION_DRIVER=file

View 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'),
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------