Browse Source

fix forward phase: use reply email as envelope-from

Son NK 5 years ago
parent
commit
64f7d04960
1 changed files with 1 additions and 1 deletions
  1. 1 1
      email_handler.py

+ 1 - 1
email_handler.py

@@ -164,7 +164,7 @@ class MailHandler:
 
             smtp.send_message(
                 msg,
-                from_addr=envelope.mail_from,
+                from_addr=forward_email.reply_email,
                 to_addrs=[user_email],  # user personal email
                 mail_options=envelope.mail_options,
                 rcpt_options=envelope.rcpt_options,