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:
parent
cefc600230
commit
d00fecce0f
1 changed files with 4 additions and 8 deletions
12
backend/.env
12
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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue