From d00fecce0f5468ca115d723a5bdd9d5e1bec8fa0 Mon Sep 17 00:00:00 2001 From: TheMaddax Date: Wed, 10 Sep 2025 19:19:04 -0600 Subject: [PATCH] Fix email configuration for Gmail smuggler - Remove duplicate email configuration sections - Use correct Gmail smuggler settings (port 2525) - Set proper SMTP credentials for system@deafgain.org - Use system@deafgain.org as FROM_EMAIL (not docket-site) - This should fix manual email notifications not being sent --- backend/.env | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/backend/.env b/backend/.env index bd5dd773..76ad7bca 100644 --- a/backend/.env +++ b/backend/.env @@ -2,10 +2,13 @@ DATABASE_URL=postgresql://docket_user:docket_pass@localhost:5432/docket_db REDIS_URL=redis://localhost:6379 -# Email Configuration +# Email Configuration (Gmail Smuggler) SMTP_HOST=smtp.gmail.com SMTP_PORT=2525 SMTP_SECURE=false +SMTP_USER=system@deafgain.org +SMTP_PASS=ojvlysraxwjriwzy +FROM_EMAIL=system@deafgain.org RECIPIENT_EMAIL=eliza@deafgain.org GOOGLE_EMAIL=system@deafgain.org GOOGLE_APP_PASSWORD=ojvlysraxwjriwzy @@ -14,13 +17,6 @@ GOOGLE_APP_PASSWORD=ojvlysraxwjriwzy JWT_SECRET=your-secret-key-change-in-production JWT_EXPIRES_IN=24h -# Email Configuration -SMTP_HOST=smtp.gmail.com -SMTP_PORT=587 -SMTP_USER=your-email@gmail.com -SMTP_PASS=your-app-password -FROM_EMAIL=noreply@docket-site.com - # File Upload UPLOAD_DIR=./uploads MAX_FILE_SIZE=10485760