Email and notifications
Let your server send invites, password resets and notifications by email.
Songstress works without email: invite links and password-reset links are there to copy. With email, it can send them for you, people get Forgot password? on the sign-in page, and admins can get notifications by email.
Set up email
-
Add your mail server's details to
.env:.env SMTP_HOST=smtp.example.com SMTP_PORT=587 SMTP_USERNAME=songstress@example.com SMTP_PASSWORD=your-app-password SMTP_FROM=songstress@example.com SMTP_TO=you@example.com -
Run
docker compose up -d. -
In Manage ▸ Server ▸ Access, under Email, select Send test email.
| Setting | What it is |
|---|---|
SMTP_HOST, SMTP_PORT | Your mail server, 587 unless you change it. |
SMTP_USERNAME, SMTP_PASSWORD | Its sign-in. |
SMTP_FROM | Who the mail comes from. Empty uses the admin email. |
SMTP_TO | Who gets the server's notification emails. Invites and resets go to each person. |
SMTP_STARTTLS | true (the default) for STARTTLS, false for TLS from the start, as on port 465. |
Changing it later
Songstress copies these settings into its datastore the first time it starts with them. To change them after that,
edit the mail settings in the datastore's dashboard, at http://your-server:8090/_/, signed in with the superuser
account from data/.admin-credentials.
Choose what you hear about
In Manage ▸ Server ▸ Notifications, each event has two switches: a System notification in the apps, and an Email.