summaryrefslogtreecommitdiff
path: root/website/send_mails.py
diff options
context:
space:
mode:
authorprashantsinalkar2019-09-03 16:13:30 +0530
committerprashantsinalkar2019-09-03 16:13:30 +0530
commit3b43b6bb868c4ff428b8e03c975cc6cd1b1d36bb (patch)
treebbe188e619da3daab4669353703bab41f8ee2177 /website/send_mails.py
parent463e9487c6ee11146a6a8fb3689650af663dfe51 (diff)
downloadSciPy2019-3b43b6bb868c4ff428b8e03c975cc6cd1b1d36bb.tar.gz
SciPy2019-3b43b6bb868c4ff428b8e03c975cc6cd1b1d36bb.tar.bz2
SciPy2019-3b43b6bb868c4ff428b8e03c975cc6cd1b1d36bb.zip
fixed send mail
Diffstat (limited to 'website/send_mails.py')
-rw-r--r--website/send_mails.py8
1 files changed, 3 insertions, 5 deletions
diff --git a/website/send_mails.py b/website/send_mails.py
index eb4e25b..ca631db 100644
--- a/website/send_mails.py
+++ b/website/send_mails.py
@@ -1,5 +1,3 @@
-__author__ = "Akshen Doke"
-
import hashlib
import logging
import logging.config
@@ -111,20 +109,20 @@ def send_email(request, call_on,
print(LOG_FOLDER)
if call_on == "Registration":
message = dedent("""\
- Thank you for registering for SciPy India 2018.
+ Thank you for registering for SciPy India 2019.
You can now proceed to submit a paper/workshop for the conference.
In case of queries regarding submitting a proposal,
revert to this email.""".format(settings.PRODUCTION_URL, key))
try:
send_mail(
- "User Registration - SciPy India 2018, FOSSEE, IIT Bombay", message, SENDER_EMAIL,
+ "User Registration - SciPy India 2019, FOSSEE, IIT Bombay", message, SENDER_EMAIL,
[request.user.email], fail_silently=True
)
except Exception:
send_smtp_email(request=request,
- subject="User Registration - SciPy India 2018, FOSSEE, IIT Bombay",
+ subject="User Registration - SciPy India 2019, FOSSEE, IIT Bombay",
message=message, other_email=request.user.email,
)