Skip to Content
Documentation

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

  1. 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
  2. Run docker compose up -d.

  3. In Manage ▸ Server ▸ Access, under Email, select Send test email.

SettingWhat it is
SMTP_HOST, SMTP_PORTYour mail server, 587 unless you change it.
SMTP_USERNAME, SMTP_PASSWORDIts sign-in.
SMTP_FROMWho the mail comes from. Empty uses the admin email.
SMTP_TOWho gets the server's notification emails. Invites and resets go to each person.
SMTP_STARTTLStrue (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.

On this page