Skip to content

Commit

Permalink
Added reply to parameter to email handler
Browse files Browse the repository at this point in the history
  • Loading branch information
IanWearsHat committed Dec 16, 2023
1 parent e5dc2e9 commit 0031b05
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions apps/api/src/utils/email_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
from services.sendgrid_handler import Template

IH_SENDER = ("[email protected]", "IrvineHacks 2024 Applications")
REPLY_TO_HACK_AT_UCI = ("[email protected]", "Hack at UCI")


class ContactInfo(Protocol):
Expand All @@ -25,6 +26,7 @@ async def send_application_confirmation_email(user: ContactInfo) -> None:
"first_name": user.first_name,
"last_name": user.last_name,
},
reply_to=REPLY_TO_HACK_AT_UCI,
)


Expand All @@ -37,4 +39,5 @@ async def send_guest_login_email(email: EmailStr, passphrase: str) -> None:
"email": email,
"passphrase": passphrase,
},
reply_to=REPLY_TO_HACK_AT_UCI,
)

0 comments on commit 0031b05

Please sign in to comment.