aboutsummaryrefslogtreecommitdiffstats
path: root/config/settings/local.py
diff options
context:
space:
mode:
Diffstat (limited to 'config/settings/local.py')
-rw-r--r--config/settings/local.py15
1 files changed, 13 insertions, 2 deletions
diff --git a/config/settings/local.py b/config/settings/local.py
index 155b219..0e4b7e4 100644
--- a/config/settings/local.py
+++ b/config/settings/local.py
@@ -29,9 +29,20 @@ CACHES = {
# EMAIL
# ------------------------------------------------------------------------------
# https://docs.djangoproject.com/en/dev/ref/settings/#email-host
-EMAIL_HOST = env("EMAIL_HOST", default="mailpit")
+# EMAIL_HOST = env("EMAIL_HOST", default="mailpit")
# https://docs.djangoproject.com/en/dev/ref/settings/#email-port
-EMAIL_PORT = 1025
+# EMAIL_PORT = 1025
+
+DEFAULT_FROM_EMAIL = env(
+ "DJANGO_DEFAULT_FROM_EMAIL",
+ default="alphabetlearning.online <help@alphabetlearning.online>",
+)
+SERVER_EMAIL = env("DJANGO_SERVER_EMAIL", default=DEFAULT_FROM_EMAIL)
+EMAIL_HOST = env('EMAIL_HOST')
+EMAIL_PORT = env('EMAIL_PORT')
+EMAIL_HOST_USER = env('EMAIL_HOST_USER')
+EMAIL_HOST_PASSWORD = env('EMAIL_HOST_PASSWORD')
+EMAIL_USE_TLS = env.bool('EMAIL_USE_TLS', default=True)
# WhiteNoise
# ------------------------------------------------------------------------------