From d31b55e47ced52fe843f5c2bc48e8360e0b3ee3b Mon Sep 17 00:00:00 2001 From: Benni Baermann Date: Wed, 14 Apr 2021 15:47:06 +0200 Subject: [PATCH] . --- TODO | 2 ++ input/management/commands/sendmails.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/TODO b/TODO index 048854e..815d8f7 100644 --- a/TODO +++ b/TODO @@ -11,6 +11,8 @@ die Zusage kontaktieren kann." maybe this this misleading? - if the mailserver is unavaiable we just produce "Server Error 500", which is not very telling. There should maybe also a way to handle mails later if first delivery failed. +- there are some issues with the ifg_volunteer_mail.txt template. + other known problems: - The DatePicker works only if you are logged in, which is mostly ok for /intern diff --git a/input/management/commands/sendmails.py b/input/management/commands/sendmails.py index 96ef0b3..4e3e2ae 100644 --- a/input/management/commands/sendmails.py +++ b/input/management/commands/sendmails.py @@ -40,7 +40,7 @@ class Command(BaseCommand): mail_template.render(context), IF_EMAIL, [email], - bcc=['benni.baermann@wikimedia.de']) + bcc=[SURVEY_EMAIL]) survey_mail.send(fail_silently=False) except BadHeaderError: return HttpResponse('Invalid header found.')