glasfaser: Fix email to parameter
This commit is contained in:
parent
c721d81075
commit
09f67e46b9
1 changed files with 2 additions and 2 deletions
|
@ -55,9 +55,9 @@ class ContactUsView(FormView):
|
||||||
sender=form.cleaned_data.get('email')
|
sender=form.cleaned_data.get('email')
|
||||||
),
|
),
|
||||||
'from_email': settings.DCL_SUPPORT_FROM_ADDRESS,
|
'from_email': settings.DCL_SUPPORT_FROM_ADDRESS,
|
||||||
'to': '{}@ungleich.ch'.format(
|
'to': ['{}@ungleich.ch'.format(
|
||||||
self.request.POST.get('from_page', 'info')
|
self.request.POST.get('from_page', 'info')
|
||||||
),
|
)],
|
||||||
'body': "\n".join(
|
'body': "\n".join(
|
||||||
["%s=%s" % (k, v) for (k, v) in form.cleaned_data.items()]),
|
["%s=%s" % (k, v) for (k, v) in form.cleaned_data.items()]),
|
||||||
'reply_to': [form.cleaned_data.get('email')],
|
'reply_to': [form.cleaned_data.get('email')],
|
||||||
|
|
Loading…
Reference in a new issue