Skip to content

mail-transport-smtp

Registers itself as the "smtp" provider for mail-foundation and owns the per-tenant config keys (host, port, secure, from, authUser) and the encrypted smtp.password secret. Tenants set mail-foundation’s provider config key to "smtp" to activate it; set the SMTP credentials via the admin UI or a seed handler before sending the first mail.

Per-tenant config keys, set via the tenant-admin UI or a seed. 🔒 = encrypted at rest.

| Key | Type | Default | Scope | Who can write | Who can read | |---|---|---|---|---|---| | auth-user | text | "" | tenant | TenantAdmin, SystemAdmin | TenantAdmin, SystemAdmin | | from | text | "" | tenant | TenantAdmin, SystemAdmin | TenantAdmin, SystemAdmin | | host | text | "" | tenant | TenantAdmin, SystemAdmin | TenantAdmin, SystemAdmin | | port | number (1–65535) | 587 | tenant | TenantAdmin, SystemAdmin | all | | secure | boolean | false | tenant | TenantAdmin, SystemAdmin | all |

| Secret | Scope | Hint | |---|---|---| | mail-transport-smtp:secret:smtp-password | tenant | Login password at the SMTP server. Brevo/Postmark/SES call it ‘API key’ or ‘SMTP credentials’. |

  • Registers extension: mailTransportsmtp