feat: switch email delivery from Resend to SMTP with libcurl integration

This commit is contained in:
gabdevele
2026-06-18 13:11:01 +02:00 Unverified
parent edadc258db
commit 8ffe247e41
12 changed files with 304 additions and 68 deletions
+8 -1
View File
@@ -14,7 +14,14 @@ services:
DB_NAME: ${DB_NAME:-visione}
DB_TIMEOUT: ${DB_TIMEOUT:-30}
MAIL_PROVIDER: ${MAIL_PROVIDER:-resend}
RESEND_API_BASE_URL: ${RESEND_API_BASE_URL:-https://api.resend.com}
SMTP_HOST: ${SMTP_HOST:-smtp.resend.com}
SMTP_PORT: ${SMTP_PORT:-465}
SMTP_USERNAME: ${SMTP_USERNAME:-resend}
SMTP_PASSWORD: ${SMTP_PASSWORD:-}
SMTP_USE_TLS: ${SMTP_USE_TLS:-true}
SMTP_USE_STARTTLS: ${SMTP_USE_STARTTLS:-false}
SMTP_VERIFY_PEER: ${SMTP_VERIFY_PEER:-true}
SMTP_VERIFY_HOST: ${SMTP_VERIFY_HOST:-true}
RESEND_API_KEY: ${RESEND_API_KEY:-}
MAIL_FROM: ${MAIL_FROM:[email protected]}
CORS_ALLOWED_ORIGIN: ${CORS_ALLOWED_ORIGIN:-http://localhost:3000}