summaryrefslogtreecommitdiff
path: root/website/views.py
diff options
context:
space:
mode:
authorSashi202019-11-14 16:08:09 +0530
committerGitHub2019-11-14 16:08:09 +0530
commit961c4751216fc8ca9d88aac55c151fb00be5a126 (patch)
tree0d1baa55a84c13d2faa462c48afd135624e10015 /website/views.py
parent03c45cfa094c28ce0ef4be22e494cbdc02209d3f (diff)
parent053b3831eae76340ed7d0a0232f55de1b78c26b0 (diff)
downloadSciPy2019-961c4751216fc8ca9d88aac55c151fb00be5a126.tar.gz
SciPy2019-961c4751216fc8ca9d88aac55c151fb00be5a126.tar.bz2
SciPy2019-961c4751216fc8ca9d88aac55c151fb00be5a126.zip
Merge pull request #34 from Sashi20/development
Modify rejected emails headers
Diffstat (limited to 'website/views.py')
-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")