Skip to content

Commit

Permalink
task/TUP-528 addenum: Update wording on form confirmation email (#396)
Browse files Browse the repository at this point in the history
* send an email when users submit a form

* move email settings to non-local conf.

* update email template

---------

Co-authored-by: Jake Rosenberg <[email protected]>
  • Loading branch information
jarosenb and Jake Rosenberg authored Dec 15, 2023
1 parent 6870af0 commit f07eefa
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions apps/tup-cms/src/apps/portal/apps.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,18 @@ def submit_ticket(form_data):

def send_confirmation_email(form_name, form_data):
email_body = """
<p>Hello,</p>
<p>Greetings,</p>
<p>
Thank you for submitting a form on the TACC website.
Your have successfully submitted a form on the TACC website. Thank you for your submission.
</p>
<p>
We will act on your request according to the information provided on the form webpage.
Business hours are Monday - Friday, 8AM to 5PM Central. We will respond to your submission
according to the information provided on the form webpage.
</p>
<p>
Sincerely,<br>
TACC Communications
</p>
- TACC
"""
send_mail(
f"TACC Form Submission Received: {form_name}",
Expand Down

0 comments on commit f07eefa

Please sign in to comment.