return [
// Mail driver to use.
- // Options: smtp, mail, sendmail, log
+ // 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
// Global "From" address & name
'from' => [
- 'name' => env('MAIL_FROM_NAME','BookStack')
+ 'name' => env('MAIL_FROM_NAME', 'BookStack'),
],
// Email encryption protocol