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

  1. Set EMAIL_TRANSPORT=smtp and EMAIL_FROM; supply EMAIL_SMTP_HOST, EMAIL_SMTP_PORT, EMAIL_SMTP_USER and EMAIL_SMTP_PASSWORD via deployment configuration.
  2. Use EMAIL_SMTP_SECURE for a relay that starts TLS immediately; keep EMAIL_SMTP_IGNORE_TLS disabled and match the relay’s security requirements.
  3. 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.

Official documentation

Have Pilae operate Directus

We agree what to monitor, how to recover and who responds when something breaks. Bring your existing deployment or start with a new one.