Skip to content

Commit 0ec3155

Browse files
Merge pull request #93 from FireBird-Technologies/develop
Develop
2 parents 7a8a686 + b3aa8bf commit 0ec3155

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

backend/app/helpers/email.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -676,6 +676,7 @@ async def send_update_email(
676676
payload = {
677677
"from": settings.UPDATE_EMAIL_FROM_EMAIL,
678678
"to": [to_email],
679+
"reply_to": settings.UPDATE_EMAIL_REPLY_TO,
679680
"subject": subject,
680681
"html": html_body,
681682
"text": text_body,

backend/app/settings.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,9 @@ class Settings(BaseSettings):
3333
FEATURE_FROM_EMAIL: str = "BlogHub <featured@bloghub.app>"
3434
# Product-update email campaigns (DB-driven daily batches). Sent from Arslan
3535
# personally, not the BlogHub newsletter address.
36-
UPDATE_EMAIL_FROM_EMAIL: str = "BlogHub <team@bloghub.app>"
36+
UPDATE_EMAIL_FROM_EMAIL: str = "BlogHub <team@send.bloghub.app>"
37+
# Replies go to team@bloghub.app, which forwards to Arslan's inbox.
38+
UPDATE_EMAIL_REPLY_TO: str = "team@bloghub.app"
3739
# Default UTC hour (0-23) a campaign's daily batch runs when its send_hour is -1.
3840
UPDATE_EMAIL_SEND_HOUR: int = 9
3941

0 commit comments

Comments
 (0)