]> BookStack Code Mirror - bookstack/blob - config/mail.php
Hide permissions table unless custom permissions are enabled
[bookstack] / 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     // Options: smtp, mail, sendmail, log
15     'driver' => env('MAIL_DRIVER', 'smtp'),
16
17     // SMTP host address
18     'host' => env('MAIL_HOST', 'smtp.mailgun.org'),
19
20     // SMTP host port
21     'port' => env('MAIL_PORT', 587),
22
23     // Global "From" address & name
24     'from' => [
25         'address' => env('MAIL_FROM', 'mail@bookstackapp.com'),
26         'name' => env('MAIL_FROM_NAME','BookStack')
27     ],
28
29     // Email encryption protocol
30     'encryption' => env('MAIL_ENCRYPTION', 'tls'),
31
32     // SMTP server username
33     'username' => env('MAIL_USERNAME'),
34
35     // SMTP server password
36     'password' => env('MAIL_PASSWORD'),
37
38     // Sendmail application path
39     'sendmail' => '/usr/sbin/sendmail -bs',
40
41     // Email markdown configuration
42     'markdown' => [
43         'theme' => 'default',
44         'paths' => [
45             resource_path('views/vendor/mail'),
46         ],
47     ],
48
49 ];
Morty Proxy This is a proxified and sanitized view of the page, visit original site.