From e8bd883f65efb6928d0d20c09a5bed274805b2da Mon Sep 17 00:00:00 2001 From: komalsheth286 Date: Mon, 3 Oct 2016 16:20:59 +0530 Subject: dumy smtp setting removed --- scipy2016/settings.py | 14 +++++++------- website/templates/cfp.html | 6 ++++++ website/views.py | 24 ++++++++++++------------ 3 files changed, 25 insertions(+), 19 deletions(-) diff --git a/scipy2016/settings.py b/scipy2016/settings.py index d3af3d3..01cedf0 100755 --- a/scipy2016/settings.py +++ b/scipy2016/settings.py @@ -154,10 +154,10 @@ LOGIN_REDIRECT_URL = '/cfp' # smtp -ACCOUNT_ACTIVATION_DAYS = 7 -EMAIL_HOST = 'localhost' -EMAIL_PORT = 1025 -EMAIL_HOST_USER = '' -EMAIL_HOST_PASSWORD = '' -EMAIL_USE_TLS = False -DEFAULT_FROM_EMAIL = 'komal@gmail.com' \ No newline at end of file +# ACCOUNT_ACTIVATION_DAYS = 7 +# EMAIL_HOST = 'localhost' +# EMAIL_PORT = 1025 +# EMAIL_HOST_USER = '' +# EMAIL_HOST_PASSWORD = '' +# EMAIL_USE_TLS = False +# DEFAULT_FROM_EMAIL = 'komal@gmail.com' \ No newline at end of file diff --git a/website/templates/cfp.html b/website/templates/cfp.html index 2aa14cc..e0eb537 100755 --- a/website/templates/cfp.html +++ b/website/templates/cfp.html @@ -47,7 +47,13 @@
{% if proposal_submit %}
+ + + + +

Thank You for your submission. Your proposal has been saved successfully and is under review. You can check the status of submission here !

+
{% endif %} {% if registration_complete %} diff --git a/website/views.py b/website/views.py index cad56be..276f70e 100755 --- a/website/views.py +++ b/website/views.py @@ -155,10 +155,10 @@ def submitcfp(request): to = (social_user.email, "scipy@fossee.in") message = """ Dear {0},

- Thank you for showing interest & submitting a talk proposal at SciPy India 2016 conference for the talk titled “{1}”. Reviewal of the proposals will start once the CFP closes. + Thank you for showing interest & submitting a talk proposal at SciPy India 2016 conference for the talk titled “{1}”. Reviewal of the proposals will start once the CFP closes.

You will be notified regarding comments/selection/rejection of your talk via email. Visit this {2} link to view status of your submission. - Thank You !

Regards,
SciPy India 2016,
FOSSEE - IIT Bombay. +
Thank You !

Regards,
SciPy India 2016,
FOSSEE - IIT Bombay. """.format( social_user.first_name, request.POST['title'], @@ -205,10 +205,10 @@ def submitcfw(request): to = (social_user.email, "scipy@fossee.in") message = """ Dear {0},

- Thank you for showing interest & submitting a workshop proposal at SciPy India 2016 conference for the workshop titled “{1}”. Reviewal of the proposals will start once the CFP closes. + Thank you for showing interest & submitting a workshop proposal at SciPy India 2016 conference for the workshop titled “{1}”. Reviewal of the proposals will start once the CFP closes.

You will be notified regarding comments/selection/rejection of your workshop via email. Visit this {2} link to view status of your submission. - Thank You !

Regards,
SciPy India 2016,
FOSSEE - IIT Bombay. +
Thank You !

Regards,
SciPy India 2016,
FOSSEE - IIT Bombay. """.format( social_user.first_name, request.POST['title'], @@ -369,7 +369,7 @@ def comment_abstract(request, proposal_id = None): subject = "SciPy India 216 - Comment on Your talk Proposal" message = """ Dear {0},

- There is a comment posted on your proposal for the talk titled {1}.
+ There is a comment posted on your proposal for the talk titled {1}.
Once we receive your response, you will be notified regarding further comments/acceptance/ rejection of your talk/workshop via email. Visit this link {2} to view comments on your submission.

Thank You !

Regards,
SciPy India 2016,
FOSSEE - IIT Bombay. @@ -382,7 +382,7 @@ def comment_abstract(request, proposal_id = None): subject = "SciPy India 216 - Comment on Your Workshop Proposal" message = """ Dear {0},

- There is a comment posted on your proposal for the workshop titled {1}.
+ There is a comment posted on your proposal for the workshop titled {1}.
Once we receive your response, you will be notified regarding further comments/acceptance/ rejection of your talk/workshop via email. Visit this {2} link to view comments on your submission.

Thank You !

Regards,
SciPy India 2016,
FOSSEE - IIT Bombay. @@ -455,13 +455,13 @@ def status(request, proposal_id= None): if proposal.proposal_type == 'ABSTRACT': subject = "SciPy India 2016 - Talk Proposal Rejected" message = """Dear """+proposal.user.first_name+""", - We regret to inform you that your proposal for the talk titled '"""+ proposal.title+ """' as not been shortlisted.
+ We regret to inform you that your proposal for the talk titled '"""+ proposal.title+ """' has not been shortlisted. You may register and attend the conference by clicking http://scipyindia2016.doattend.com/. \n\nThank You ! \n\nRegards,\nSciPy India 2016,\nFOSSEE - IIT Bombay""" elif proposal.proposal_type == 'WORKSHOP': subject = "SciPy India 2016 - Workshop Proposal Rejected" message = """Dear """+proposal.user.first_name+""", - We regret to inform you that your proposal for the workshop titled '"""+ proposal.title+ """' as not been shortlisted.
+ We regret to inform you that your proposal for the workshop titled '"""+ proposal.title+ """' has not been shortlisted. You may register and attend the conference by clicking http://scipyindia2016.doattend.com/. \n\nThank You ! \n\nRegards,\nSciPy India 2016,\nFOSSEE - IIT Bombay""" send_mail(subject, message, sender_email, to) @@ -582,13 +582,13 @@ def status_change(request): if proposal.proposal_type == 'ABSTRACT': subject = "SciPy India 2016 - Talk Proposal Rejected" message = """Dear """+proposal.user.first_name+""", - We regret to inform you that your proposal for the talk titled '"""+ proposal.title+ """'as not been shortlisted.
+ We regret to inform you that your proposal for the talk titled '"""+ proposal.title+ """' as not been shortlisted.
You may register and attend the conference by clicking http://scipyindia2016.doattend.com/ \n\nThank You ! \n\nRegards,\nSciPy India 2016,\nFOSSEE - IIT Bombay""" elif proposal.proposal_type == 'WORKSHOP': subject = "SciPy India 2016 - Workshop Proposal Rejected" message = """Dear """+proposal.user.first_name+""", - We regret to inform you that your proposal for the workshop titled '"""+ proposal.title+ """'as not been shortlisted.
+ We regret to inform you that your proposal for the workshop titled '"""+ proposal.title+ """' as not been shortlisted.
You may register and attend the conference by clicking http://scipyindia2016.doattend.com/ \n\nThank You ! \n\nRegards,\nSciPy India 2016,\nFOSSEE - IIT Bombay""" send_mail(subject, message, sender_email, to) @@ -608,7 +608,7 @@ def status_change(request): subject = "SciPy India 216 - Talk Proposal Resumbmission" message = """ Dear {0},

- Thank you for showing interest & submitting a talk proposal at SciPy India 2016 conference for the talk titled "{1}". You are requested to submit this talk proposal once again.
+ Thank you for showing interest & submitting a talk proposal at SciPy India 2016 conference for the talk titled "{1}". You are requested to submit this talk proposal once again.
You will be notified regarding comments/selection/rejection of your talk via email. Visit this {2} link to view comments on your submission.

Thank You !

Regards,
SciPy India 2016,
FOSSEE - IIT Bombay. @@ -620,7 +620,7 @@ def status_change(request): elif proposal.proposal_type =='WORKSHOP': subject = "SciPy India 216 - Workshop Proposal Resubmission" message = """ - Thank you for showing interest & submitting a workshop proposal at SciPy India 2016 conference for the workshop titled "{1}". You are requested to submit this talk proposal once again.
+ Thank you for showing interest & submitting a workshop proposal at SciPy India 2016 conference for the workshop titled "{1}". You are requested to submit this talk proposal once again.
You will be notified regarding comments/selection/rejection of your workshop via email. Visit this {2} link to view comments on your submission.

Thank You !

Regards,
SciPy India 2016,
FOSSEE - IIT Bombay. -- cgit