-
-
Notifications
You must be signed in to change notification settings - Fork 636
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIX] mail_composer_cc_bcc: update upstream override
- Loading branch information
1 parent
84ec456
commit cf9b7be
Showing
2 changed files
with
5 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters