4 * Mail configuration options.
6 * Changes to these config files are not supported by BookStack and may break upon updates.
7 * Configuration should be altered via the `.env` file or environment variables.
8 * Do not edit this file unless you're happy to maintain any changes yourself.
13 // Mail driver to use.
14 // From Laravel 7+ this is MAIL_MAILER in laravel.
15 // Kept as MAIL_DRIVER in BookStack to prevent breaking change.
16 // Options: smtp, sendmail, log, array
17 'driver' => env('MAIL_DRIVER', 'smtp'),
20 'host' => env('MAIL_HOST', 'smtp.mailgun.org'),
23 'port' => env('MAIL_PORT', 587),
25 // Global "From" address & name
27 'address' => env('MAIL_FROM', 'mail@bookstackapp.com'),
28 'name' => env('MAIL_FROM_NAME', 'BookStack'),
31 // Email encryption protocol
32 'encryption' => env('MAIL_ENCRYPTION', 'tls'),
34 // SMTP server username
35 'username' => env('MAIL_USERNAME'),
37 // SMTP server password
38 'password' => env('MAIL_PASSWORD'),
40 // Sendmail application path
41 'sendmail' => '/usr/sbin/sendmail -bs',
43 // Email markdown configuration
47 resource_path('views/vendor/mail'),
52 // If you are using the "log" driver, you may specify the logging channel
53 // if you prefer to keep mail messages separate from other log entries
54 // for simpler reading. Otherwise, the default channel will be used.
55 'log_channel' => env('MAIL_LOG_CHANNEL'),