mirror of
https://github.com/simple-login/app.git
synced 2024-09-30 05:31:30 +02:00
delete Reply-To header in reply phase
This commit is contained in:
parent
ba46d8f7e0
commit
f1befd7024
@ -250,8 +250,8 @@ class MailHandler:
|
|||||||
msg.replace_header("From", alias)
|
msg.replace_header("From", alias)
|
||||||
|
|
||||||
# some email providers like ProtonMail adds automatically the Reply-To field
|
# some email providers like ProtonMail adds automatically the Reply-To field
|
||||||
# make sure to replace it too
|
# make sure to delete it
|
||||||
add_or_replace_header(msg, "Reply-To", alias)
|
delete_header(msg, "Reply-To")
|
||||||
|
|
||||||
msg.replace_header("To", forward_email.website_email)
|
msg.replace_header("To", forward_email.website_email)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user