-
Notifications
You must be signed in to change notification settings - Fork 0
Iain Smith edited this page Aug 31, 2026
·
1 revision
Email carries verification links, password resets and watchlist reminders. It is fail-open: a provider error is logged (with the message body, so the link/details are recoverable) and never raised — a broken mailer must not 500 registration.
Set in .env:
Writes the message to the worker/app log. Fine for a single-user install — grab the link with:
docker compose logs tvtimes | grep -E "email.console|email.undelivered_body"Reminders are only logged with console; set a real provider if you want them
delivered.
TVTIMES_EMAIL_PROVIDER=smtp
TVTIMES_EMAIL_FROM=tvtimes <tv@example.com>
TVTIMES_SMTP_HOST=smtp.example.com
TVTIMES_SMTP_PORT=587
TVTIMES_SMTP_USERNAME=...
TVTIMES_SMTP_PASSWORD=...STARTTLS is used; auth is skipped if no username is set.
TVTIMES_EMAIL_PROVIDER=resend
TVTIMES_RESEND_API_KEY=...
TVTIMES_EMAIL_FROM=tvtimes <tv@example.com>If delivery failed, the full body — including the verification or reset link —
is logged under email.undelivered_body.