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
This commit is contained in:
TheMaddax 2025-09-10 19:19:04 -06:00
parent cefc600230
commit d00fecce0f

View file

@ -2,10 +2,13 @@
DATABASE_URL=postgresql://docket_user:docket_pass@localhost:5432/docket_db DATABASE_URL=postgresql://docket_user:docket_pass@localhost:5432/docket_db
REDIS_URL=redis://localhost:6379 REDIS_URL=redis://localhost:6379
# Email Configuration # Email Configuration (Gmail Smuggler)
SMTP_HOST=smtp.gmail.com SMTP_HOST=smtp.gmail.com
SMTP_PORT=2525 SMTP_PORT=2525
SMTP_SECURE=false SMTP_SECURE=false
SMTP_USER=system@deafgain.org
SMTP_PASS=ojvlysraxwjriwzy
FROM_EMAIL=system@deafgain.org
RECIPIENT_EMAIL=eliza@deafgain.org RECIPIENT_EMAIL=eliza@deafgain.org
GOOGLE_EMAIL=system@deafgain.org GOOGLE_EMAIL=system@deafgain.org
GOOGLE_APP_PASSWORD=ojvlysraxwjriwzy GOOGLE_APP_PASSWORD=ojvlysraxwjriwzy
@ -14,13 +17,6 @@ GOOGLE_APP_PASSWORD=ojvlysraxwjriwzy
JWT_SECRET=your-secret-key-change-in-production JWT_SECRET=your-secret-key-change-in-production
JWT_EXPIRES_IN=24h 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 # File Upload
UPLOAD_DIR=./uploads UPLOAD_DIR=./uploads
MAX_FILE_SIZE=10485760 MAX_FILE_SIZE=10485760