From 2d4ba0ed4b20ddd4f68b49a70c930c7a06f01e78 Mon Sep 17 00:00:00 2001 From: Leo Franchi Date: Wed, 10 Jul 2013 17:29:42 -0400 Subject: [PATCH] Set Reply-To to noreply@ explicitly in all required cases It seems that even though we set the From to be 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) --- zephyr/lib/actions.py | 1 + 1 file changed, 1 insertion(+) diff --git a/zephyr/lib/actions.py b/zephyr/lib/actions.py index a9e375ea3a..63a2089be3 100644 --- a/zephyr/lib/actions.py +++ b/zephyr/lib/actions.py @@ -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 " subject = "Missed Humbug%s from %s" % ('s' if len(senders) > 1 else '', sender_str) from_email = "%s (via Humbug) " % (sender_str)