Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ed8ee84

Browse files
committed
Bring .env and config/mail.php back into sync and match defaults
1 parent f3e03a2 commit ed8ee84

2 files changed

Lines changed: 17 additions & 16 deletions

File tree

.env.example

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,22 @@ DB_DATABASE="ixp"
3434
DB_USERNAME="ixp"
3535
DB_PASSWORD="password"
3636

37+
38+
#######################################################################################
39+
### Email Settings.
40+
#
41+
# We use Laravel's mail system - see: https://docs.ixpmanager.org/usage/email/
42+
#
43+
# The default setting are as follows:
44+
#
45+
# MAIL_MAILER="smtp"
46+
# MAIL_HOST="localhost"
47+
# MAIL_PORT=25
48+
# MAIL_ENCRYPTION=false
49+
50+
51+
52+
3753
#######################################################################################
3854
### Identity
3955
#
@@ -129,21 +145,6 @@ IXP_FE_FRONTEND_DISABLED_LOGO=false
129145
# IXP_FE_FRONTEND_DISABLED_PEERING_MATRIX=true
130146

131147

132-
#######################################################################################
133-
### Email Settings.
134-
#
135-
# We use Laravel's mail system which in turn uses SwiftMailer.
136-
#
137-
# See config/mail.php abd https://laravel.com/docs/5.5/mail
138-
#
139-
# The default setting is 'sendmail' which tries to use your local systems mail client.
140-
#
141-
# MAIL_MAILER="sendmail"
142-
# MAIL_HOST="localhost"
143-
# MAIL_PORT=25
144-
# MAIL_ENCRYPTION="tls"
145-
146-
147148
#######################################################################################
148149
### Graphing - see https://docs.ixpmanager.org/grapher/introduction
149150

config/mail.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
'transport' => 'smtp',
6060
'host' => env('MAIL_HOST', 'localhost'),
6161
'port' => env('MAIL_PORT', 25),
62-
'encryption' => env('MAIL_ENCRYPTION', 'tls'),
62+
'encryption' => env('MAIL_ENCRYPTION', false),
6363
'username' => env('MAIL_USERNAME'),
6464
'password' => env('MAIL_PASSWORD'),
6565
'timeout' => null,

0 commit comments

Comments
 (0)