|
@@ -49,6 +49,14 @@ class ProductionConfig(DefaultConfig):
|
|
|
|
|
|
|
|
|
|
## Mail
|
|
## Mail
|
|
|
|
+ # Local SMTP Server
|
|
|
|
+ #MAIL_SERVER = "localhost"
|
|
|
|
+ #MAIL_PORT = 25
|
|
|
|
+ #MAIL_USE_SSL = False
|
|
|
|
+ #MAIL_USERNAME = ""
|
|
|
|
+ #MAIL_PASSWORD = ""
|
|
|
|
+ #MAIL_DEFAULT_SENDER = "noreply@example.org"
|
|
|
|
+
|
|
# Google Mail Example
|
|
# Google Mail Example
|
|
MAIL_SERVER = "smtp.gmail.com"
|
|
MAIL_SERVER = "smtp.gmail.com"
|
|
MAIL_PORT = 465
|
|
MAIL_PORT = 465
|
|
@@ -56,7 +64,8 @@ class ProductionConfig(DefaultConfig):
|
|
MAIL_USERNAME = "your_username@gmail.com"
|
|
MAIL_USERNAME = "your_username@gmail.com"
|
|
MAIL_PASSWORD = "your_password"
|
|
MAIL_PASSWORD = "your_password"
|
|
MAIL_DEFAULT_SENDER = ("Your Name", "your_username@gmail.com")
|
|
MAIL_DEFAULT_SENDER = ("Your Name", "your_username@gmail.com")
|
|
- # Where to logger should send the emails to
|
|
|
|
|
|
+
|
|
|
|
+ # The user who should recieve the error logs
|
|
ADMINS = ["your_admin_user@gmail.com"]
|
|
ADMINS = ["your_admin_user@gmail.com"]
|
|
|
|
|
|
|
|
|