feat: send welcome emails through smtp

This commit is contained in:
Cauê Faleiros
2026-09-08 12:17:41 -03:00
parent 03a6491989
commit ee8d365321
6 changed files with 52 additions and 19 deletions

View File

@@ -22,9 +22,12 @@ PASSWORD_RESET_TTL_HOURS=24
AUDIT_LOG_PAGE_SIZE=50
# Optional welcome e-mails sent when a student creates their own account.
# Create an API key and verify this sender in Resend before setting both values.
RESEND_API_KEY=
EMAIL_FROM=Compor HUB <noreply@your-domain.com>
# Configure all five values together. Port 465 uses SSL; port 587 uses STARTTLS.
SMTP_HOST=
SMTP_PORT=587
SMTP_USER=
SMTP_PASS=
MAIL_FROM=Compor HUB <noreply@your-domain.com>
SUPERADMIN_NAME=Compor HUB Superadmin
# Bunny Stream. Set all three in Portainer to enable instructor uploads and