external or local smtp
This commit is contained in:
@@ -1,2 +1,9 @@
|
||||
ALLOWED_EXTENSIONS = {'png', 'jpg', 'jpeg', 'gif'}
|
||||
MAX_FILE_SIZE = 5 * 1024 * 1024 # 5 MB
|
||||
MAX_FILE_SIZE = 5 * 1024 * 1024 # 5 MB
|
||||
|
||||
USE_EXTERNAL_SMTP = False
|
||||
SMTP_SERVER = 'smtp.example.com'
|
||||
SMTP_PORT = 587
|
||||
SMTP_USE_TLS = True
|
||||
SMTP_SENDER_EMAIL = 'your_email@example.com'
|
||||
SMTP_SENDER_PASSWORD = 'your_email_password'
|
||||
Reference in New Issue
Block a user