Directus outgoing mail
Set an explicit SMTP transport and validate the sender and public URL used by Directus account mail.
Last updated
On this page (5)
Directus · Outgoing mail
Before you start
- Self-hosted Directus environment access.
- Approved staging SMTP credentials and recipient.
Procedure
- Set EMAIL_TRANSPORT=smtp and EMAIL_FROM; supply EMAIL_SMTP_HOST, EMAIL_SMTP_PORT, EMAIL_SMTP_USER and EMAIL_SMTP_PASSWORD via deployment configuration.
- Use EMAIL_SMTP_SECURE for a relay that starts TLS immediately; keep EMAIL_SMTP_IGNORE_TLS disabled and match the relay’s security requirements.
- Roll the configuration across the deployment and trigger a staging password reset.
Verify the result
- The message arrives from the authorized address and its reset link resolves to the intended staging frontend.
- A staging sender rejection is visible to operators without recording credentials in logs or source control.
