aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2024-12-10 19:07:13 +0000
committerMatthew Lemon <y@yulqen.org>2024-12-10 19:07:13 +0000
commitd30f74269b1418e2e14fa85f1210613036c2da0c (patch)
treec921aa87d3e682feb3148ff47cfa7ac17166aeca
parent7aae6c08248a11907b4915e07aed0f760df67a63 (diff)
Resuming smtp Django email backend
-rw-r--r--config/settings/production.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/config/settings/production.py b/config/settings/production.py
index d0786c1..262ce2f 100644
--- a/config/settings/production.py
+++ b/config/settings/production.py
@@ -134,7 +134,8 @@ ADMIN_URL = env("DJANGO_ADMIN_URL")
# "MAILGUN_API_URL": env("MAILGUN_API_URL", default="https://api.mailgun.net/v3"),
# }
-EMAIL_BACKEND = "django.core.mail.backends.console.EmailBackend"
+#EMAIL_BACKEND = "django.core.mail.backends.console.EmailBackend"
+EMAIL_BACKEND = "django.core.mail.backends.smtp.EmailBackend"
# LOGGING
# ------------------------------------------------------------------------------
@@ -234,4 +235,4 @@ MAILGUN_API_URL = env("MAILGUN_API_URL", default="https://api.eu.mailgun.net/v3"
USE_X_FORWARDED_HOST = True
SECURE_PROXY_SSL_HEADER = ("HTTP_X_FORWARDED_PROTO", "https")
RECAPTCHA_USE_SSL = True # Use HTTPS for requests
-#RECAPTCHA_PROXY = {'http': 'http://127.0.0.1:5000', 'https': 'https://127.0.0.1:5000'} \ No newline at end of file
+#RECAPTCHA_PROXY = {'http': 'http://127.0.0.1:5000', 'https': 'https://127.0.0.1:5000'}