Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Shared email settings
FROM_EMAIL=email@yourdomain.com
TO_EMAIL=contact@yourdomain.com,other@yourdomain.com

# CORS (comma-separated)
ALLOWED_ORIGINS=https://www.yourdomain.com,https://www.otherdomain.com

# Multi-provider email config
# Choose a provider, then uncomment and fill in its variables.

# resend
# EMAIL_PROVIDER=resend
# RESEND_API_KEY=re_xxxxxxxxxx # Resend API key

# nodemailer
# EMAIL_PROVIDER=nodemailer
# SMTP_CONFIG={"host":"smtp.gmail.com","port":587,"secure":false,"auth":{"user":"your@gmail.com","pass":"app-password"}}

Loading