summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSashi202019-11-14 16:06:50 +0530
committerSashi202019-11-14 16:06:50 +0530
commit053b3831eae76340ed7d0a0232f55de1b78c26b0 (patch)
tree0d1baa55a84c13d2faa462c48afd135624e10015
parent3b63ed9f1701820ddb9530265bfc8cf93fc482e3 (diff)
downloadSciPy2019-053b3831eae76340ed7d0a0232f55de1b78c26b0.tar.gz
SciPy2019-053b3831eae76340ed7d0a0232f55de1b78c26b0.tar.bz2
SciPy2019-053b3831eae76340ed7d0a0232f55de1b78c26b0.zip
Modify rejected emails headers
-rw-r--r--website/views.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/website/views.py b/website/views.py
index aded8a5..66059cd 100644
--- a/website/views.py
+++ b/website/views.py
@@ -770,7 +770,7 @@ Thank You ! \n\nRegards,\nSciPy India 2019 Program Chairs,\nFOSSEE - IIT Bombay.
sender_email = TO_EMAIL
cc_email = CC_EMAIL
bcc_email = BCC_EMAIL
- to = [proposal.user.email]
+ to = (proposal.user.email)
if proposal.proposal_type == 'ABSTRACT':
subject = "SciPy India 2019 - Talk Proposal Rejected"
message = """Dear """+proposal.user.first_name+""",\n
@@ -789,7 +789,7 @@ We look forward to your active participation in the conference.
Thank You! \n\nRegards,\nSciPy India 2019 Program Chairs,\nFOSSEE - IIT Bombay."""
email = EmailMultiAlternatives(
subject, message,
- sender_email, to = [to], cc=[cc_email], bcc = [bcc_email],
+ sender_email, [to], cc=[cc_email], bcc = [bcc_email],
headers={"Content-type": "text/html;charset=iso-8859-1"}
)
#email.attach_alternative(message, "text/html")