diff --git a/app/contact/views.py b/app/contact/views.py index 5f57d01..d142a6a 100644 --- a/app/contact/views.py +++ b/app/contact/views.py @@ -14,7 +14,7 @@ def index(request): message = 'From: %s\n\n%s' % (form.cleaned_data['email'], form.cleaned_data['message']) subject = 'Phantas.ma/polis contact message' from_ = settings.CONTACT_FROM_EMAIL - to = settings.CONTACT_TO_EMAIL + to = [settings.CONTACT_TO_EMAIL] msg = EmailMessage(subject, message, from_, to, reply_to=[form.cleaned_data['email']]) msg.send(fail_silently=True) context['submitted'] = True