Running a site
Lapis sends e-mail for a few things: password reset links, invitations for new users and the notifications of forms. All of them need mail configured in .env. Without it, these features do not exist: the login page shows no "Forgot your password?" link, and passwords are set from the console with ./lapis user:password.
Configuration
Add the SMTP server and the sender to .env:
MAIL_SMTP_HOST=smtp.example.com MAIL_SMTP_PORT=587 MAIL_SMTP_USERNAME=… MAIL_SMTP_PASSWORD=… [email protected] MAIL_SENDER_NAME="Example Ltd." BASE_URI=https://example.com # the link in the e-mail is built from this
./lapis doctor shows whether mail is configured.