Skip to content

Commit

Permalink
[FIX] mail_composer_cc_bcc: update upstream override
Browse files Browse the repository at this point in the history
  • Loading branch information
chienandalu committed Feb 4, 2025
1 parent 2e5d4f2 commit 17e2d76
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion mail_composer_cc_bcc/models/mail_mail.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,9 +197,12 @@ def _send( # noqa: max-complexity: 4
{"state": "sent", "message_id": res, "failure_reason": False}
)
_logger.info(
"Mail with ID %r and Message-Id %r successfully sent",
"Mail with ID %r and Message-Id %r from %r to (redacted) %r "
"successfully sent",
mail.id,
mail.message_id,
tools.email_normalize(msg["from"]),
tools.mail.email_anonymize(tools.email_normalize(msg["to"])),
)
# /!\ can't use mail.state here, as mail.refresh() will cause an error
# see revid:[email protected] in 6.1
Expand Down
1 change: 1 addition & 0 deletions mail_composer_cc_bcc/tests/test_mail_cc_bcc.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"5d1ab352416f5074e131f35f20098d5b",
"46172c91183f2cb50b22a6b3b5e3869b",
"8f26c4084cc7fc300e64d19ccdc944fe",
"db6cc0d3513a0c85bd716e4cb0a4d09c",
]


Expand Down

0 comments on commit 17e2d76

Please sign in to comment.