Skip to content

Commit

Permalink
Merge pull request #53 from DaemonLab/fix_mailing_issue
Browse files Browse the repository at this point in the history
Fix mailing issue
  • Loading branch information
mittal-ishaan authored Apr 23, 2024
2 parents 1d2699b + da2e6b5 commit 916f30f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion home/utils/django_email_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ def send_html(subject, message, recipient):
Your long term rebate application from {start_date} to {end_date} has been {approved}.
{reason}
"""

left_message = """Note: Bills for {left_start_date} to {left_end_date} will be removed as an when you are allocated a caterer during this period.
"""

message_long_rebate_query = """
Dear Student,
Expand Down
2 changes: 1 addition & 1 deletion home/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ def addLongRebateBill(request):
long.save()
text = "Long Term rebate added Successfully"
except Exception as e:
text = "Allocation ID for the entered email does not exist"
text = "An error occurred while processing your form submission. If you're submitting an application, try compressing it before resubmitting. If the issue persists, please report it to the admin."
print(e)
except:
text = "Email ID does not exist in the database. Please login using the correct email ID"
Expand Down

0 comments on commit 916f30f

Please sign in to comment.