-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Followed Laravel 9 update steps and file changes
- Loading branch information
1 parent
6e6f113
commit 008e7a4
Showing
604 changed files
with
1,672 additions
and
2,509 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,31 +14,50 @@ | |
// From Laravel 7+ this is MAIL_MAILER in laravel. | ||
// Kept as MAIL_DRIVER in BookStack to prevent breaking change. | ||
// Options: smtp, sendmail, log, array | ||
'driver' => env('MAIL_DRIVER', 'smtp'), | ||
|
||
// SMTP host address | ||
'host' => env('MAIL_HOST', 'smtp.mailgun.org'), | ||
|
||
// SMTP host port | ||
'port' => env('MAIL_PORT', 587), | ||
'default' => env('MAIL_DRIVER', 'smtp'), | ||
|
||
// Global "From" address & name | ||
'from' => [ | ||
'address' => env('MAIL_FROM', '[email protected]'), | ||
'name' => env('MAIL_FROM_NAME', 'BookStack'), | ||
], | ||
|
||
// Email encryption protocol | ||
'encryption' => env('MAIL_ENCRYPTION', 'tls'), | ||
// Mailer Configurations | ||
// Available mailing methods and their settings. | ||
'mailers' => [ | ||
'smtp' => [ | ||
'transport' => 'smtp', | ||
'host' => env('MAIL_HOST', 'smtp.mailgun.org'), | ||
'port' => env('MAIL_PORT', 587), | ||
'encryption' => env('MAIL_ENCRYPTION', 'tls'), | ||
'username' => env('MAIL_USERNAME'), | ||
'password' => env('MAIL_PASSWORD'), | ||
'timeout' => null, | ||
'local_domain' => env('MAIL_EHLO_DOMAIN'), | ||
], | ||
|
||
// SMTP server username | ||
'username' => env('MAIL_USERNAME'), | ||
'sendmail' => [ | ||
'transport' => 'sendmail', | ||
'path' => '/usr/sbin/sendmail -bs', | ||
], | ||
|
||
// SMTP server password | ||
'password' => env('MAIL_PASSWORD'), | ||
'log' => [ | ||
'transport' => 'log', | ||
'channel' => env('MAIL_LOG_CHANNEL'), | ||
], | ||
|
||
// Sendmail application path | ||
'sendmail' => '/usr/sbin/sendmail -bs', | ||
'array' => [ | ||
'transport' => 'array', | ||
], | ||
|
||
'failover' => [ | ||
'transport' => 'failover', | ||
'mailers' => [ | ||
'smtp', | ||
'log', | ||
], | ||
], | ||
], | ||
|
||
// Email markdown configuration | ||
'markdown' => [ | ||
|
@@ -47,11 +66,4 @@ | |
resource_path('views/vendor/mail'), | ||
], | ||
], | ||
|
||
// Log Channel | ||
// If you are using the "log" driver, you may specify the logging channel | ||
// if you prefer to keep mail messages separate from other log entries | ||
// for simpler reading. Otherwise, the default channel will be used. | ||
'log_channel' => env('MAIL_LOG_CHANNEL'), | ||
|
||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.