1
0
Fork 0
This commit is contained in:
Benni Bärmann 2021-04-14 15:47:06 +02:00
parent 6b65626af4
commit d31b55e47c
2 changed files with 3 additions and 1 deletions

2
TODO
View File

@ -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. - 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 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: other known problems:
- The DatePicker works only if you are logged in, which is mostly ok for /intern - The DatePicker works only if you are logged in, which is mostly ok for /intern

View File

@ -40,7 +40,7 @@ class Command(BaseCommand):
mail_template.render(context), mail_template.render(context),
IF_EMAIL, IF_EMAIL,
[email], [email],
bcc=['benni.baermann@wikimedia.de']) bcc=[SURVEY_EMAIL])
survey_mail.send(fail_silently=False) survey_mail.send(fail_silently=False)
except BadHeaderError: except BadHeaderError:
return HttpResponse('Invalid header found.') return HttpResponse('Invalid header found.')