diff --git a/.env.example b/.env.example new file mode 100644 index 0000000..b5505e5 --- /dev/null +++ b/.env.example @@ -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"}} +