summaryrefslogtreecommitdiff
path: root/forums/views.py
diff options
context:
space:
mode:
Diffstat (limited to 'forums/views.py')
-rw-r--r--forums/views.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/forums/views.py b/forums/views.py
index 185cc84..ebb44ca 100644
--- a/forums/views.py
+++ b/forums/views.py
@@ -143,7 +143,7 @@ def account_view_profile(request, username):
def send_registration_confirmation(user):
p = Profile.objects.get(user=user)
- user.email = "ashwinids03@gmail.com"
+
# Sending email when an answer is posted
subject = 'Account Active Notification'
message = """Dear {0},
@@ -158,6 +158,7 @@ def send_registration_confirmation(user):
"http://fossee.in",
"http://forums.fossee.in/accounts/confirm/" + str(p.confirmation_code) + "/" + user.username
)
+ print user.email
email = EmailMultiAlternatives(
subject, message, 'sysads@fossee.in',
to = [user.email], bcc = [], cc = [],