summaryrefslogtreecommitdiff
path: root/website/views.py
diff options
context:
space:
mode:
Diffstat (limited to 'website/views.py')
-rw-r--r--website/views.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/website/views.py b/website/views.py
index 3238837..8fe06b3 100644
--- a/website/views.py
+++ b/website/views.py
@@ -224,7 +224,8 @@ def submitcfp(request):
sender_name = "NCCPS 2018"
sender_email = TO_EMAIL
subject = "NCCPS 2018 – Paper Submission Acknowledgement "
- to = (social_user.email, TO_EMAIL, BCC_EMAIL)
+ to = (social_user.email, TO_EMAIL)
+ bcc_email = BCC_EMAIL
message = """
Dear {0}, <br><br>
Thank you for showing interest & submitting a paper proposal at NCCPS-2018
@@ -239,7 +240,7 @@ def submitcfp(request):
'http://dwsim.fossee.in/nccps-2018/view-abstracts/',)
email = EmailMultiAlternatives(
subject, '',
- sender_email, to,
+ sender_email, to, bcc_email
headers={"Content-type": "text/html;charset=iso-8859-1"}
)
email.attach_alternative(message, "text/html")