Skip to content

Commit

Permalink
Bring .env and config/mail.php back into sync and match defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
barryo committed Nov 28, 2021
1 parent f3e03a2 commit ed8ee84
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 16 deletions.
31 changes: 16 additions & 15 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,22 @@ DB_DATABASE="ixp"
DB_USERNAME="ixp"
DB_PASSWORD="password"


#######################################################################################
### Email Settings.
#
# We use Laravel's mail system - see: https://docs.ixpmanager.org/usage/email/
#
# The default setting are as follows:
#
# MAIL_MAILER="smtp"
# MAIL_HOST="localhost"
# MAIL_PORT=25
# MAIL_ENCRYPTION=false




#######################################################################################
### Identity
#
Expand Down Expand Up @@ -129,21 +145,6 @@ IXP_FE_FRONTEND_DISABLED_LOGO=false
# IXP_FE_FRONTEND_DISABLED_PEERING_MATRIX=true


#######################################################################################
### Email Settings.
#
# We use Laravel's mail system which in turn uses SwiftMailer.
#
# See config/mail.php abd https://laravel.com/docs/5.5/mail
#
# The default setting is 'sendmail' which tries to use your local systems mail client.
#
# MAIL_MAILER="sendmail"
# MAIL_HOST="localhost"
# MAIL_PORT=25
# MAIL_ENCRYPTION="tls"


#######################################################################################
### Graphing - see https://docs.ixpmanager.org/grapher/introduction

Expand Down
2 changes: 1 addition & 1 deletion config/mail.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
'transport' => 'smtp',
'host' => env('MAIL_HOST', 'localhost'),
'port' => env('MAIL_PORT', 25),
'encryption' => env('MAIL_ENCRYPTION', 'tls'),
'encryption' => env('MAIL_ENCRYPTION', false),
'username' => env('MAIL_USERNAME'),
'password' => env('MAIL_PASSWORD'),
'timeout' => null,
Expand Down

0 comments on commit ed8ee84

Please sign in to comment.