Skip to content

[18.0][FIX] mail_composer_cc_bcc: Solve 'To' and '(B)Cc' overlap - #255

Open
qgroulard wants to merge 1 commit into
OCA:18.0from
acsone:18.0-fix-mail_to_cc_overlap-qgr
Open

[18.0][FIX] mail_composer_cc_bcc: Solve 'To' and '(B)Cc' overlap#255
qgroulard wants to merge 1 commit into
OCA:18.0from
acsone:18.0-fix-mail_to_cc_overlap-qgr

Conversation

@qgroulard

Copy link
Copy Markdown
Contributor

A partner who is both the record's resolved "To" and present in the cc/bcc set was never deduplicated.
That overlap then reaches mail_mail._prepare_outgoing_list, whose formula (partner_to = all_recipients - partners_cc_bcc) excludes anyone found in partners_cc_bcc from "To".
If that partner was the only "To" recipient, the sent email ends up with a blank "To:" header.

A partner who is both the record's resolved "To" and present in the
cc/bcc set was never deduplicated.
That overlap then reaches mail_mail._prepare_outgoing_list,
whose formula (partner_to = all_recipients - partners_cc_bcc)
excludes anyone found in partners_cc_bcc from "To".
If that partner was the only "To" recipient,
the sent email ends up with a blank "To:" header.
@OCA-git-bot

Copy link
Copy Markdown
Contributor

Hi @trisdoan,
some modules you are maintaining are being modified, check this out!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mod:mail_composer_cc_bcc Module mail_composer_cc_bcc series:18.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants