From f1befd70244dda83f85b3f6e461ae29e3eb94003 Mon Sep 17 00:00:00 2001 From: Son NK Date: Tue, 7 Jan 2020 19:50:24 +0100 Subject: [PATCH] delete Reply-To header in reply phase --- email_handler.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/email_handler.py b/email_handler.py index 983e6fb2..9a69281d 100644 --- a/email_handler.py +++ b/email_handler.py @@ -250,8 +250,8 @@ class MailHandler: msg.replace_header("From", alias) # some email providers like ProtonMail adds automatically the Reply-To field - # make sure to replace it too - add_or_replace_header(msg, "Reply-To", alias) + # make sure to delete it + delete_header(msg, "Reply-To") msg.replace_header("To", forward_email.website_email)