From 21488ef3c1b7310856e26dea6f5e463fbcd0e240 Mon Sep 17 00:00:00 2001 From: Benni Baermann Date: Fri, 6 Nov 2020 13:11:47 +0100 Subject: [PATCH] set email production settings --- foerderbarometer/settings_production.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/foerderbarometer/settings_production.py b/foerderbarometer/settings_production.py index 4b06fe9..08a0774 100644 --- a/foerderbarometer/settings_production.py +++ b/foerderbarometer/settings_production.py @@ -17,7 +17,10 @@ from pathlib import Path from django.core.exceptions import ImproperlyConfigured # mails in development go to stdout -EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend' +EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend' + +EMAIL_HOST = '10.0.6.25' +EMAIL_PORT = '25' # Build paths inside the project like this: BASE_DIR / 'subdir'. BASE_DIR = Path(__file__).resolve().parent.parent