-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
10 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -44,18 +44,26 @@ def submit_ticket(form_data): | |
|
||
|
||
def send_confirmation_email(form_name, form_data): | ||
|
||
tour_receipt = "" | ||
if form_name == "Tour Request Form": | ||
tour_receipt = "<p>A copy of your tour request is provided below for your records:</p>\n" | ||
for key in form_data: | ||
tour_receipt += f"<p>{key}: {form_data[key]}</p>\n" | ||
|
||
email_body = f""" | ||
<p>Greetings,</p> | ||
<p> | ||
Thank you for reaching out to TACC and completing the {form_name}. | ||
</p> | ||
<p> | ||
<ul> | ||
<li>For training registration requests, you will be contacted within one week to confirm registration. For additional help please contact Lauren Bruce (lbruce@tacc.utexas.edu).</li> | ||
<li>For information about training opportunities, please visit the <a href="https://tacc.utexas.edu/use-tacc/training/">Training page</a>, or contact Tabish Khan (tkhan@tacc.utexas.edu).</li> | ||
<li>For tour requests, a tour coordinator will contact you within two business days to complete your reservation. For additional assistance please reach out to [email protected].</li> | ||
<li>For all other issues, a TACC support person will be in contact shortly. For additional assistance please reach out to [email protected].</li> | ||
<li>For additional assistance please reach out to [email protected].</li> | ||
</ul> | ||
</p> | ||
{tour_receipt} | ||
<p> | ||
Thank you for your time,<br> | ||
TACC Support | ||
|