Browse Source

Add mail settings to env config

pull/2/head
Toby Zerner 10 years ago
parent
commit
d9aad26b8e
  1. 6
      .env.example
  2. 10
      config/mail.php

6
.env.example

@ -9,3 +9,9 @@ DB_PASSWORD=root
CACHE_DRIVER=file
SESSION_DRIVER=file
MAIL_DRIVER=smtp
MAIL_HOST=mailtrap.io
MAIL_PORT=2525
MAIL_USERNAME=null
MAIL_PASSWORD=null

10
config/mail.php

@ -15,7 +15,7 @@ return [
|
*/
'driver' => 'smtp',
'driver' => env('MAIL_DRIVER', 'smtp'),
/*
|--------------------------------------------------------------------------
@ -28,7 +28,7 @@ return [
|
*/
'host' => 'smtp.mailgun.org',
'host' => env('MAIL_HOST', 'smtp.mailgun.org'),
/*
|--------------------------------------------------------------------------
@ -41,7 +41,7 @@ return [
|
*/
'port' => 587,
'port' => env('MAIL_PORT', 587),
/*
|--------------------------------------------------------------------------
@ -80,7 +80,7 @@ return [
|
*/
'username' => null,
'username' => env('MAIL_USERNAME'),
/*
|--------------------------------------------------------------------------
@ -93,7 +93,7 @@ return [
|
*/
'password' => null,
'password' => env('MAIL_PASSWORD'),
/*
|--------------------------------------------------------------------------

Loading…
Cancel
Save