-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added reply to parameter to email handler
- Loading branch information
1 parent
e5dc2e9
commit 0031b05
Showing
1 changed file
with
3 additions
and
0 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 |
---|---|---|
|
@@ -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): | ||
|
@@ -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, | ||
) | ||
|
||
|
||
|
@@ -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, | ||
) |