X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/ddb7f33868ea499ab8f48a7062f145e8c0fbe02f..refs/pull/3365/head:/app/Config/mail.php diff --git a/app/Config/mail.php b/app/Config/mail.php index a91bdf237..b223e382a 100644 --- a/app/Config/mail.php +++ b/app/Config/mail.php @@ -11,7 +11,9 @@ 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 @@ -23,7 +25,7 @@ return [ // Global "From" address & name 'from' => [ 'address' => env('MAIL_FROM', 'mail@bookstackapp.com'), - 'name' => env('MAIL_FROM_NAME', 'BookStack') + 'name' => env('MAIL_FROM_NAME', 'BookStack'), ], // Email encryption protocol