mirror of
https://github.com/simple-login/app.git
synced 2025-02-25 00:03:03 +08:00
call forward_email_to_mailbox on the msg copy
This commit is contained in:
parent
5705842415
commit
c61e7c697d
1 changed files with 2 additions and 1 deletions
|
@ -82,6 +82,7 @@ from app.email_utils import (
|
|||
parseaddr_unicode,
|
||||
send_email_with_rate_control,
|
||||
get_email_domain_part,
|
||||
copy,
|
||||
)
|
||||
from app.extensions import db
|
||||
from app.greylisting import greylisting_needed
|
||||
|
@ -391,7 +392,7 @@ def handle_forward(
|
|||
for mailbox in alias.mailboxes:
|
||||
ret.append(
|
||||
forward_email_to_mailbox(
|
||||
alias, msg, email_log, contact, envelope, smtp, mailbox, user
|
||||
alias, copy(msg), email_log, contact, envelope, smtp, mailbox, user
|
||||
)
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in a new issue