Files
nextplacement/apps/admin/README.md
2025-09-03 18:54:55 +05:30

13 lines
473 B
Markdown

# Mailer Setup
Configure the following environment variables (e.g., in `.env` at repo root used by `dotenv-cli`):
- SMTP_HOST
- SMTP_PORT (465 for SSL, 587 for TLS)
- SMTP_USER
- SMTP_PASS
- SMTP_FROM (optional, defaults to SMTP_USER)
- SMTP_MAX_CONNECTIONS (optional)
- SMTP_MAX_MESSAGES (optional)
The status update API at `app/api/applications/[applicationId]/status/route.ts` sends an email whenever the status is updated. Templates live in `lib/mail-templates.ts`.