From 6b65626af480b9bfa10110079637a221530d190c Mon Sep 17 00:00:00 2001 From: Benni Baermann Date: Wed, 14 Apr 2021 15:34:05 +0200 Subject: [PATCH] stupid commit for test purposes --- TODO | 7 +++---- input/management/commands/sendmails.py | 2 +- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/TODO b/TODO index 1900f3c..048854e 100644 --- a/TODO +++ b/TODO @@ -8,11 +8,10 @@ known bugs: Wikimedia Deutschland bei Rückfragen oder für 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. + other known problems: - The DatePicker works only if you are logged in, which is mostly ok for /intern and there is no Date to insert at the moment in forms for externs. - -other issues - - - server error 500 in production after businesscards process. is this reproducable? diff --git a/input/management/commands/sendmails.py b/input/management/commands/sendmails.py index 51a6e34..96ef0b3 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=[SURVEY_EMAIL, 'benni.baermann@wikimedia.de']) + bcc=['benni.baermann@wikimedia.de']) survey_mail.send(fail_silently=False) except BadHeaderError: return HttpResponse('Invalid header found.')