Overview
ondoki uses email for:- Account verification — confirm email address after registration
- Password reset — send reset links
Configuration
| Variable | Default | Description |
|---|---|---|
SR_SMTP_HOST | (empty) | SMTP server hostname. Leave empty to disable email |
SR_SMTP_PORT | 587 | SMTP port (587 for STARTTLS, 465 for SSL) |
SR_SMTP_USER | — | SMTP authentication username |
SR_SMTP_PASS | — | SMTP authentication password |
SR_FROM_EMAIL | [email protected] | Sender email address |
Example Configuration
Gmail
Gmail requires an App Password when 2FA is enabled.
Amazon SES
Resend
Disabling Email
To disable email entirely, leaveSR_SMTP_HOST empty (the default). When disabled:
- Users are automatically verified on registration
- Password reset is not available (users must contact an admin)