Files
nextplacement/apps/admin
2025-09-25 14:25:29 +05:30
..
2025-09-23 20:57:10 +05:30
2025-07-02 12:05:38 +05:30
2025-06-25 15:25:44 +05:30
2025-06-23 16:27:07 +05:30
2025-09-03 18:54:55 +05:30
2025-07-06 23:30:58 +05:30
2025-06-23 16:27:07 +05:30
2025-09-25 14:25:29 +05:30
2025-06-30 11:55:48 +05:30
2025-09-23 19:51:22 +05:30
2025-06-23 16:27:07 +05:30
2025-09-23 19:51:22 +05:30
2025-09-25 14:25:29 +05:30
2025-06-30 11:55:48 +05:30
2025-09-03 18:54:55 +05:30
2025-07-02 12:05:38 +05:30

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.