mirror of https://github.com/zulip/zulip.git
Set Reply-To to noreply@ explicitly in all required cases
It seems that even though we set the From to be <noreply@humbughq.com> it's possible that when sending mail via Google it automatically sets the From: field to be humbug@humbughq.com. Here we set Reply-To to noreply@ in all cases explicitly in order to avoid having replies sent to our inboxes. (imported from commit 5fa643be2b78fd632e310836bf1be862d6f1d333)
This commit is contained in:
parent
e736e393aa
commit
2d4ba0ed4b
|
@ -1259,6 +1259,7 @@ def do_send_missedmessage_email(user_profile, missed_messages):
|
|||
# There are some @-mentions mixed in with personals
|
||||
template_payload['mention'] = True
|
||||
template_payload['reply_warning'] = True
|
||||
headers['Reply-To'] = "Nobody <noreply@humbughq.com>"
|
||||
|
||||
subject = "Missed Humbug%s from %s" % ('s' if len(senders) > 1 else '', sender_str)
|
||||
from_email = "%s (via Humbug) <noreply@humbughq.com>" % (sender_str)
|
||||
|
|
Loading…
Reference in New Issue