4.22.4
Some checks are pending
continuous-integration/drone/tag Build is running

This commit is contained in:
MrMeeb 2023-03-08 12:00:06 +00:00
parent 4d70590d05
commit 03053d0e54
2 changed files with 4 additions and 3159 deletions

View File

@ -840,10 +840,12 @@ def forward_email_to_mailbox(
orig_subject = msg[headers.SUBJECT]
orig_subject = get_header_unicode(orig_subject)
add_or_replace_header(msg, "Subject", mailbox.generic_subject)
sender = msg[headers.FROM]
sender = get_header_unicode(sender)
msg = add_header(
msg,
f"""Forwarded by SimpleLogin to {alias.email} with "{orig_subject}" as subject""",
f"""Forwarded by SimpleLogin to {alias.email} with <b>{orig_subject}</b> as subject""",
f"""Forwarded by SimpleLogin to {alias.email} from "{sender}" with "{orig_subject}" as subject""",
f"""Forwarded by SimpleLogin to {alias.email} from "{sender}" with <b>{orig_subject}</b> as subject""",
)
try:

File diff suppressed because it is too large Load Diff