do not delete DATE header

This commit is contained in:
Son 2022-01-07 10:22:46 +01:00
parent db30639380
commit 035d238c75
1 changed files with 2 additions and 0 deletions

View File

@ -733,6 +733,7 @@ def forward_email_to_mailbox(
headers.TO,
headers.CC,
headers.SUBJECT,
headers.DATE,
# do not delete original message id
headers.MESSAGE_ID,
# References and In-Reply-To are used for keeping the email thread
@ -1010,6 +1011,7 @@ def handle_reply(envelope, msg: Message, rcpt_to: str) -> (bool, str):
headers.TO,
headers.CC,
headers.SUBJECT,
headers.DATE,
# do not delete original message id
headers.MESSAGE_ID,
# References and In-Reply-To are used for keeping the email thread