Configure email with SMTP
Enable invitations, password resets and reports through an SMTP server.
Add optional SMTP credentials to enable email delivery from Supermetry.
-
Open the environment file created by the installer.
For a Linux binary install:
Terminal window sudoedit /etc/supermetry/supermetry.envFor Docker:
Terminal window cd /opt/supermetry${EDITOR:-vi} .env -
Uncomment and fill the placeholders. Port
587and STARTTLS are the defaults.SUPERMETRY_SMTP_HOST=smtp.example.comSUPERMETRY_SMTP_PORT=587SUPERMETRY_SMTP_USER=supermetrySUPERMETRY_SMTP_PASS=CHANGE_MESUPERMETRY_SMTP_FROM="Supermetry <analytics@example.com>"SUPERMETRY_SMTP_STARTTLS=trueSUPERMETRY_SMTP_FROMis required when the host is set. Leave the host empty to disable email. -
Restart Supermetry.
For a binary install:
Terminal window sudo systemctl restart supermetryFor Docker:
Terminal window cd /opt/supermetrydocker compose restart supermetry -
In the dashboard, open Settings → Organization settings → Invitations, enter an address you can read, and select Invite.
What you should see: the recipient receives an email titled “You’re invited to Supermetry” with a one-time invitation link.