Skip to main content

Email

Releval uses SMTP to send emails for member invitations, email confirmations, and password resets.

Caution

Without a configured SMTP server, email-dependent features (member invitations, password resets, email confirmations) will not function. The initial Admin is still created from the RELEVAL_INITIAL_ADMIN_EMAIL / RELEVAL_INITIAL_ADMIN_PASSWORD bootstrap variables, which don't require email.

SMTP settings

VariableDefaultDescription
Smtp__Host(none)SMTP server hostname
Smtp__Port(none)SMTP server port
Smtp__Username(none)SMTP authentication username
Smtp__Password(none)SMTP authentication password
Smtp__FromAddressnoreply@releval.coAddress emails are sent from. Set this to an address on a domain you control so invitations and password resets pass SPF/DKIM.
Smtp__SecureSocketOptionsAutoTLS security mode

Secure socket options

ValueDescription
AutoAutomatically detect the best security mode
NoneNo encryption
StartTlsUpgrade to TLS after connecting (port 587)
StartTlsWhenAvailableUse STARTTLS if the server supports it
SslOnConnectConnect with TLS immediately (port 465)

Example

environment:
- Smtp__Host=smtp.gmail.com
- Smtp__Port=587
- Smtp__Username=noreply@example.com
- Smtp__Password=your-app-password
- Smtp__SecureSocketOptions=StartTls