|
@ -40,7 +40,7 @@ class Command(BaseCommand): |
|
|
mail_template.render(context), |
|
|
mail_template.render(context), |
|
|
IF_EMAIL, |
|
|
IF_EMAIL, |
|
|
[email], |
|
|
[email], |
|
|
bcc=[SURVEY_EMAIL, benni.baermann@wikimedia.de]) |
|
|
|
|
|
|
|
|
bcc=[SURVEY_EMAIL, 'benni.baermann@wikimedia.de']) |
|
|
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.') |
|
|