Suporte ao provedor SMTP
Adiciona suporte ao envio de e-mails via protocolo SMTP, além do já existente provedor SendGrid. Agora é possível selecionar entre "sendgrid" ou "smtp" por meio da variável `EMAIL_PROVIDER`. Novas variáveis de ambiente: • EMAIL_PROVIDER="smtp" # ou sendgrid • SMTP_HOST="your-smtp-host" • SMTP_FROM="noreply-smtp@yourdomain.com" • SMTP_USER="your-smtp-username" • SMTP_PASSWORD="your-smtp-password" • SMTP_PORT=587 • SMTP_USE_TLS=true • SMTP_USE_SSL=false
This commit is contained in:
@@ -34,9 +34,22 @@ JWT_EXPIRATION_TIME=3600
|
||||
# Encryption key for API keys
|
||||
ENCRYPTION_KEY="your-encryption-key"
|
||||
|
||||
# Email provider settings
|
||||
EMAIL_PROVIDER="sendgrid"
|
||||
|
||||
# SendGrid
|
||||
SENDGRID_API_KEY="your-sendgrid-api-key"
|
||||
EMAIL_FROM="noreply@yourdomain.com"
|
||||
|
||||
# SMTP settings
|
||||
SMTP_HOST="your-smtp-host"
|
||||
SMTP_FROM="noreply-smtp@yourdomain.com"
|
||||
SMTP_USER="your-smtp-username"
|
||||
SMTP_PASSWORD="your-smtp-password"
|
||||
SMTP_PORT=587
|
||||
SMTP_USE_TLS=true
|
||||
SMTP_USE_SSL=false
|
||||
|
||||
APP_URL="https://yourdomain.com"
|
||||
|
||||
LANGFUSE_PUBLIC_KEY="your-langfuse-public-key"
|
||||
|
||||
Reference in New Issue
Block a user