* fixes bug where errors occured once an email shall be sent. See issue #87 for details
This commit is contained in:
mpeltriaux 2022-01-28 17:01:45 +01:00
parent 5b7351e331
commit 9c9c9b7717

View File

@ -212,10 +212,10 @@ if DEBUG:
EMAIL_FILE_PATH = '/tmp/app-messages' EMAIL_FILE_PATH = '/tmp/app-messages'
DEFAULT_FROM_EMAIL = "no-reply@ksp.de" # The default email address for the 'from' element DEFAULT_FROM_EMAIL = "no-reply@ksp.de" # The default email address for the 'from' element
EMAIL_HOST = os.environ.get('SMTP_HOST'), EMAIL_HOST = os.environ.get('SMTP_HOST')
EMAIL_REPLY_TO = os.environ.get('SMTP_REAL_REPLY_MAIL') EMAIL_REPLY_TO = os.environ.get('SMTP_REAL_REPLY_MAIL')
SUPPORT_MAIL_RECIPIENT = EMAIL_REPLY_TO SUPPORT_MAIL_RECIPIENT = EMAIL_REPLY_TO
EMAIL_PORT = os.environ.get('SMTP_PORT'), EMAIL_PORT = os.environ.get('SMTP_PORT')
# LOGGING # LOGGING
BASIC_LOGGER = "logger" BASIC_LOGGER = "logger"