From b2f93b6b2eb45284fd5619227e913514dec8d020 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josu=C3=A9=20Tille?= Date: Wed, 22 Nov 2023 17:35:14 +0100 Subject: [PATCH] Fix email --- conf/seahub_settings.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/conf/seahub_settings.py b/conf/seahub_settings.py index 1af75ae..ee43935 100644 --- a/conf/seahub_settings.py +++ b/conf/seahub_settings.py @@ -21,11 +21,13 @@ SERVE_STATIC = False MEDIA_URL = "__PATH2__media/" COMPRESS_URL = MEDIA_URL STATIC_URL = MEDIA_URL + 'assets/' -EMAIL_USE_TLS = False -EMAIL_HOST = "localhost" +EMAIL_USE_TLS = True +EMAIL_HOST = "__DOMAIN__" EMAIL_HOST_USER = "__APP__" EMAIL_HOST_PASSWORD = "__MAIL_PWD__" -EMAIL_PORT = "25" +EMAIL_PORT = "587" +REPLACE_FROM_EMAIL = True +ADD_REPLY_TO_HEADER = True DEFAULT_FROM_EMAIL = "__APP__@__DOMAIN__" SERVER_EMAIL = "__APP__@__DOMAIN__" LOGIN_URL = '__PATH2__accounts/login/'