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
| Variable | Default | Description |
|---|---|---|
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__FromAddress | noreply@releval.co | Address emails are sent from. Set this to an address on a domain you control so invitations and password resets pass SPF/DKIM. |
Smtp__SecureSocketOptions | Auto | TLS security mode |
Secure socket options
| Value | Description |
|---|---|
Auto | Automatically detect the best security mode |
None | No encryption |
StartTls | Upgrade to TLS after connecting (port 587) |
StartTlsWhenAvailable | Use STARTTLS if the server supports it |
SslOnConnect | Connect with TLS immediately (port 465) |
Example
- Environment Variable
- appsettings.json
environment:
- Smtp__Host=smtp.gmail.com
- Smtp__Port=587
- Smtp__Username=noreply@example.com
- Smtp__Password=your-app-password
- Smtp__SecureSocketOptions=StartTls
{
"Smtp": {
"Host": "smtp.gmail.com",
"Port": 587,
"Username": "noreply@example.com",
"Password": "your-app-password",
"SecureSocketOptions": "StartTls"
}
}