Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions backend/app/helpers/email.py
Original file line number Diff line number Diff line change
Expand Up @@ -676,6 +676,7 @@ async def send_update_email(
payload = {
"from": settings.UPDATE_EMAIL_FROM_EMAIL,
"to": [to_email],
"reply_to": settings.UPDATE_EMAIL_REPLY_TO,
"subject": subject,
"html": html_body,
"text": text_body,
Expand Down
4 changes: 3 additions & 1 deletion backend/app/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@ class Settings(BaseSettings):
FEATURE_FROM_EMAIL: str = "BlogHub <featured@bloghub.app>"
# Product-update email campaigns (DB-driven daily batches). Sent from Arslan
# personally, not the BlogHub newsletter address.
UPDATE_EMAIL_FROM_EMAIL: str = "BlogHub <team@bloghub.app>"
UPDATE_EMAIL_FROM_EMAIL: str = "BlogHub <team@send.bloghub.app>"
# Replies go to team@bloghub.app, which forwards to Arslan's inbox.
UPDATE_EMAIL_REPLY_TO: str = "team@bloghub.app"
# Default UTC hour (0-23) a campaign's daily batch runs when its send_hour is -1.
UPDATE_EMAIL_SEND_HOUR: int = 9

Expand Down