fix forward phase: use reply email as envelope-from

This commit is contained in:
Son NK 2019-11-21 14:44:44 +01:00
parent 1cb8282cb2
commit 64f7d04960

View file

@ -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,