mirror of
https://github.com/simple-login/app.git
synced 2024-11-10 17:35:27 +08:00
try fixing spam issue: use personal email in forward phase
This commit is contained in:
parent
b80dbdf60b
commit
bfb1c27528
1 changed files with 2 additions and 0 deletions
|
@ -116,6 +116,8 @@ 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,
|
||||
|
|
Loading…
Reference in a new issue