BookStack outgoing mail
Set up BookStack SMTP for account and application messages, and test the rendered mail and links after a relay change.
Last updated
On this page (5)
BookStack ยท Outgoing mail
Before you start
- Access to BookStack deployment environment and an admin account.
- SMTP relay details, authorized From address and a disposable local-auth test account.
Procedure
- Set MAIL_DRIVER=smtp along with MAIL_HOST, MAIL_PORT, MAIL_FROM and MAIL_FROM_NAME. Set MAIL_USERNAME, MAIL_PASSWORD and MAIL_ENCRYPTION as appropriate for the documented relay settings.
- Apply the updated settings securely and use the Send a Test Email action in BookStack settings.
- Request a password reset for a test local account, rather than resetting a production account or expecting BookStack to reset an external identity provider password.
Verify the result
- Both messages arrive with the approved sender and the reset link leads to the correct public BookStack address and completes.
- If delivery fails, compare BookStack logs with relay records before rotating credentials again.
