]> BookStack Code Mirror - bookstack/blob - app/Config/mail.php
Applied StyleCI changes, added php/larastan to attribution
[bookstack] / app / Config / mail.php
1 <?php
2
3 /**
4  * Mail configuration options.
5  *
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.
9  */
10
11 return [
12
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'),
18
19     // SMTP host address
20     'host' => env('MAIL_HOST', 'smtp.mailgun.org'),
21
22     // SMTP host port
23     'port' => env('MAIL_PORT', 587),
24
25     // Global "From" address & name
26     'from' => [
27         'address' => env('MAIL_FROM', 'mail@bookstackapp.com'),
28         'name'    => env('MAIL_FROM_NAME', 'BookStack'),
29     ],
30
31     // Email encryption protocol
32     'encryption' => env('MAIL_ENCRYPTION', 'tls'),
33
34     // SMTP server username
35     'username' => env('MAIL_USERNAME'),
36
37     // SMTP server password
38     'password' => env('MAIL_PASSWORD'),
39
40     // Sendmail application path
41     'sendmail' => '/usr/sbin/sendmail -bs',
42
43     // Email markdown configuration
44     'markdown' => [
45         'theme' => 'default',
46         'paths' => [
47             resource_path('views/vendor/mail'),
48         ],
49     ],
50
51     // Log Channel
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'),
56
57 ];
Morty Proxy This is a proxified and sanitized view of the page, visit original site.