From 09f67e46b91c6ba8e146d9dea0b12e8fc1ecc0c5 Mon Sep 17 00:00:00 2001 From: "M.Ravi" Date: Tue, 10 Oct 2017 21:22:11 +0200 Subject: [PATCH] glasfaser: Fix email to parameter --- datacenterlight/views.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/datacenterlight/views.py b/datacenterlight/views.py index c95b1b2b..fd55e96c 100644 --- a/datacenterlight/views.py +++ b/datacenterlight/views.py @@ -55,9 +55,9 @@ class ContactUsView(FormView): sender=form.cleaned_data.get('email') ), 'from_email': settings.DCL_SUPPORT_FROM_ADDRESS, - 'to': '{}@ungleich.ch'.format( + 'to': ['{}@ungleich.ch'.format( self.request.POST.get('from_page', 'info') - ), + )], 'body': "\n".join( ["%s=%s" % (k, v) for (k, v) in form.cleaned_data.items()]), 'reply_to': [form.cleaned_data.get('email')],