Benni Baermann 3 years ago
parent
commit
d31b55e47c
2 changed files with 3 additions and 1 deletions
  1. +2
    -0
      TODO
  2. +1
    -1
      input/management/commands/sendmails.py

+ 2
- 0
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

+ 1
- 1
input/management/commands/sendmails.py 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.')

Loading…
Cancel
Save