2 title = "Email Configuration"
3 description = "Configuring BookStack to send email"
9 BookStack sends out emails for a range of purposes such as email-address confirmation & "forgot password" flows.
10 The following mechanisms for sending mail are supported:
13 3. Sendmail (Linux sendmail)
17 To get up and running with SMTP you will need to add, or set, the following variables in your `.env` file:
22 # Host, Port & Encryption mechanism to use
23 MAIL_HOST=smtp.provider.tld
27 # Authentication details for your SMTP service
28 MAIL_USERNAME=user@provider.tld
29 MAIL_PASSWORD=onlyifneeded
31 # The "from" email address for outgoing email
32 MAIL_FROM=noreply@yourdomain.tld
34 # The "from" name used for outgoing email
35 MAIL_FROM_NAME=BookStack
40 The `sendmail` drivers uses the sendmail application on the host system. It will call `/usr/sbin/sendmail -bs`.
42 To enable this option you can set the following in your `.env` file:
47 # The "from" email address for outgoing email
48 MAIL_FROM=noreply@yourdomain.tld
50 # The "from" name used for outgoing email
51 MAIL_FROM_NAME=BookStack
56 You can follow the instructions provided in the [debugging documentation page](/docs/admin/debugging/)
57 to help gain more details about issues you may come across. Within the Settings > Maintenance area of
58 BookStack you can find a "Send a Test Email" action which provides a quick & easy way to send emails
59 after changing your configuration. This action will also attempt to capture any errors thrown and display them.