-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
22 lines (19 loc) · 929 Bytes
/
Copy path.env.example
File metadata and controls
22 lines (19 loc) · 929 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# SMTP Configuration for Email Notifications
# Copy this file to .env and fill in your actual credentials
# .env file is ignored by git and should NEVER be committed
# Email Backend Configuration
EMAIL_BACKEND=django.core.mail.backends.smtp.EmailBackend
EMAIL_HOST=smtp.gmail.com
EMAIL_PORT=587
EMAIL_USE_TLS=True
EMAIL_HOST_USER=your-gmail@gmail.com
EMAIL_HOST_PASSWORD=your-16-char-app-password
# For development/testing, use console backend (emails print to terminal):
# EMAIL_BACKEND=django.core.mail.backends.console.EmailBackend
# Setup Instructions for Gmail:
# 1. Go to myaccount.google.com
# 2. Click "Security" in left sidebar
# 3. Enable "2-Step Verification" (if not already enabled)
# 4. Go to "App passwords" and create a password for "Mail" on "Other (custom name)"
# 5. Copy the 16-character password and paste it above as EMAIL_HOST_PASSWORD
# 6. Don't use your regular Gmail password - use the app password!