summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--website/views.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/website/views.py b/website/views.py
index 2fc8cf7..e6b0b1a 100644
--- a/website/views.py
+++ b/website/views.py
@@ -28,11 +28,10 @@ def contact(request):
sender_name = request.POST['name']
sender_email = request.POST['email']
query = request.POST['message']
- to = ('hardythe1@gmail.com',)
+ to = ('scipy@fossee.in',)
subject = "Query from - "+sender_name
message = request.POST['message']
send_mail(subject, message, sender_email, to, fail_silently=True)
- context['mailsent'] = True
return HttpResponseRedirect('/?query=sent')
else:
return HttpResponseRedirect('/')