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 'default' => env('MAIL_DRIVER', 'smtp'),
19 // Global "From" address & name
22 'name' => env('MAIL_FROM_NAME', 'BookStack'),
25 // Mailer Configurations
26 // Available mailing methods and their settings.
29 'transport' => 'smtp',
30 'host' => env('MAIL_HOST', 'smtp.mailgun.org'),
31 'port' => env('MAIL_PORT', 587),
32 'encryption' => env('MAIL_ENCRYPTION', 'tls'),
33 'username' => env('MAIL_USERNAME'),
34 'password' => env('MAIL_PASSWORD'),
36 'local_domain' => env('MAIL_EHLO_DOMAIN'),
40 'transport' => 'sendmail',
41 'path' => '/usr/sbin/sendmail -bs',
46 'channel' => env('MAIL_LOG_CHANNEL'),
50 'transport' => 'array',
54 'transport' => 'failover',
62 // Email markdown configuration
66 resource_path('views/vendor/mail'),