6 |--------------------------------------------------------------------------
8 |--------------------------------------------------------------------------
10 | Laravel supports both SMTP and PHP's "mail" function as drivers for the
11 | sending of e-mail. You may specify which one you're using throughout
12 | your application here. By default, Laravel is setup for SMTP mail.
14 | Supported: "smtp", "mail", "sendmail", "mailgun", "mandrill", "ses", "log"
18 'driver' => env('MAIL_DRIVER', 'smtp'),
21 |--------------------------------------------------------------------------
23 |--------------------------------------------------------------------------
25 | Here you may provide the host address of the SMTP server used by your
26 | applications. A default option is provided that is compatible with
27 | the Mailgun mail service which will provide reliable deliveries.
31 'host' => env('MAIL_HOST', 'smtp.mailgun.org'),
34 |--------------------------------------------------------------------------
36 |--------------------------------------------------------------------------
38 | This is the SMTP port used by your application to deliver e-mails to
39 | users of the application. Like the host we have set this value to
40 | stay compatible with the Mailgun e-mail application by default.
44 'port' => env('MAIL_PORT', 587),
47 |--------------------------------------------------------------------------
48 | Global "From" Address
49 |--------------------------------------------------------------------------
51 | You may wish for all e-mails sent by your application to be sent from
52 | the same address. Here, you may specify a name and address that is
53 | used globally for all e-mails that are sent by your application.
57 'from' => ['address' => env('MAIL_FROM', 'mail@bookstackapp.com'), 'name' => 'BookStack'],
60 |--------------------------------------------------------------------------
61 | E-Mail Encryption Protocol
62 |--------------------------------------------------------------------------
64 | Here you may specify the encryption protocol that should be used when
65 | the application send e-mail messages. A sensible default using the
66 | transport layer security protocol should provide great security.
70 'encryption' => env('MAIL_ENCRYPTION', 'tls'),
73 |--------------------------------------------------------------------------
74 | SMTP Server Username
75 |--------------------------------------------------------------------------
77 | If your SMTP server requires a username for authentication, you should
78 | set it here. This will get used to authenticate with your server on
79 | connection. You may also set the "password" value below this one.
83 'username' => env('MAIL_USERNAME'),
86 |--------------------------------------------------------------------------
87 | SMTP Server Password
88 |--------------------------------------------------------------------------
90 | Here you may set the password required by your SMTP server to send out
91 | messages from your application. This will be given to the server on
92 | connection so that the application will be able to send messages.
96 'password' => env('MAIL_PASSWORD'),
99 |--------------------------------------------------------------------------
100 | Sendmail System Path
101 |--------------------------------------------------------------------------
103 | When using the "sendmail" driver to send e-mails, we will need to know
104 | the path to where Sendmail lives on this server. A default path has
105 | been provided here, which will work well on most of your systems.
109 'sendmail' => '/usr/sbin/sendmail -bs',
112 |--------------------------------------------------------------------------
114 |--------------------------------------------------------------------------
116 | When this option is enabled, e-mail will not actually be sent over the
117 | web and will instead be written to your application's logs files so
118 | you may inspect the message. This is great for local development.
122 'pretend' => env('MAIL_PRETEND', false),