fix case where reply-to is already present

This commit is contained in:
Son NK 2019-11-14 17:24:33 +01:00
parent 034605d9ac
commit 8b67a13581
1 changed files with 1 additions and 1 deletions

View File

@ -114,7 +114,7 @@ class MailHandler:
# add custom header
msg.add_header("X-SimpleLogin-Type", "Forward")
msg.add_header("Reply-To", forward_email.reply_email)
msg.replace_header("Reply-To", forward_email.reply_email)
LOG.d(
"Send mail from %s to %s, mail_options %s, rcpt_options %s ",