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'),
35 'verify_peer' => env('MAIL_VERIFY_SSL', true),
37 'local_domain' => env('MAIL_EHLO_DOMAIN'),
41 'transport' => 'sendmail',
42 'path' => env('MAIL_SENDMAIL_COMMAND', '/usr/sbin/sendmail -bs'),
47 'channel' => env('MAIL_LOG_CHANNEL'),
51 'transport' => 'array',
55 'transport' => 'failover',
63 // Email markdown configuration
67 resource_path('views/vendor/mail'),