Skip to content

Commit 8e15c7f

Browse files
committed
A few tweaks to mail config.
1 parent cc09679 commit 8e15c7f

File tree

2 files changed

+10
-5
lines changed

2 files changed

+10
-5
lines changed

.env.example

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,10 @@ DB_USERNAME=homestead
88
DB_PASSWORD=secret
99

1010
CACHE_DRIVER=file
11-
MAIL_DRIVER=smtp
1211
SESSION_DRIVER=file
12+
13+
MAIL_DRIVER=smtp
14+
MAIL_HOST=mailtrap.io
15+
MAIL_PORT=2525
16+
MAIL_USERNAME=null
17+
MAIL_PASSWORD=null

config/mail.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
|
2929
*/
3030

31-
'host' => env('SMTP_HOST', 'smtp.mailgun.org'),
31+
'host' => env('MAIL_HOST', 'smtp.mailgun.org'),
3232

3333
/*
3434
|--------------------------------------------------------------------------
@@ -41,7 +41,7 @@
4141
|
4242
*/
4343

44-
'port' => env('SMTP_PORT', 587),
44+
'port' => env('MAIL_PORT', 587),
4545

4646
/*
4747
|--------------------------------------------------------------------------
@@ -80,7 +80,7 @@
8080
|
8181
*/
8282

83-
'username' => env('SMTP_USERNAME'),
83+
'username' => env('MAIL_USERNAME'),
8484

8585
/*
8686
|--------------------------------------------------------------------------
@@ -93,7 +93,7 @@
9393
|
9494
*/
9595

96-
'password' => env('SMTP_PASSWORD'),
96+
'password' => env('MAIL_PASSWORD'),
9797

9898
/*
9999
|--------------------------------------------------------------------------

0 commit comments

Comments
 (0)