From 2a6f9178bd02ba0729d6538bd81b9f8e6c24a62d Mon Sep 17 00:00:00 2001 From: Dan Felder Date: Tue, 28 Nov 2023 10:20:25 -0500 Subject: [PATCH] Updated certificate email text to reference GSA --- training/services/quiz.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/training/services/quiz.py b/training/services/quiz.py index 1f317408..03f4e9a7 100644 --- a/training/services/quiz.py +++ b/training/services/quiz.py @@ -19,11 +19,11 @@

Congratulations!

-

You've successfully passed the quiz for the $course_name.

+

You've successfully passed the GSA SmartPay® $course_name quiz.

Your certificate is attached below.

-If you have any questions or need further assistance, -email us at gsa_smartpay@gsa.gov. +If you did not submit this request, you may be receiving this message in error. Please disregard this email. If you have any questions or need further + assistance, email us at gsa_smartpay@gsa.gov.

Thank you.

''') @@ -141,7 +141,7 @@ def email_certificate(self, user_name: str, course_name: str, to_email: str, cer body = CERTIFICATE_EMAIL_TEMPLATE.substitute({"name": user_name, "course_name": course_name}) message = EmailMessage() message.set_content(body, subtype="html") - message["Subject"] = "Certificate - " + course_name + message["Subject"] = "Certificate - GSA SmartPay " + course_name message["From"] = f"{settings.EMAIL_FROM_NAME} <{settings.EMAIL_FROM}>" message["To"] = to_email message.add_attachment(certificate, maintype="application", subtype="pdf", filename="SmartPayTraining.pdf")