ソースを参照

Revert "try fixing spam issue: use personal email in forward phase"

This reverts commit 2f46a225e1b9099c2905a771132445caf42b4284.
Son NK 5 年 前
コミット
6015dbd4d1
1 ファイル変更0 行追加2 行削除
  1. 0 2
      email_handler.py

+ 0 - 2
email_handler.py

@@ -116,8 +116,6 @@ class MailHandler:
                 msg.add_header("X-SimpleLogin-Type", "Forward")
                 msg.add_header("Reply-To", forward_email.reply_email)
 
-                msg.replace_header("To", f"{alias} <{gen_email.user.email}>")
-
                 LOG.d(
                     "Send mail from %s to %s, mail_options %s, rcpt_options %s ",
                     envelope.mail_from,