Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[16.0][FIX]mail_composer_cc_bcc: recipients ignored #1551

Conversation

ChristophAbenthungCibex
Copy link
Contributor

Odoo added the context 'send_validated_to' for Mails see commit odoo/odoo#185793.
send_validated_to is a list of valid recipients. If the list contains at least one entry only the recipients of send_validated_to are valid. If the list is empty all recipients are valid. When sending an email from a composer the list of send_validated_to contains only the CC recipients and not the TO recipients. Therefore, only the CC recipients are valid and no TO recipient will receive the email.

Odoo added the context 'send_validated_to' for Mails see commit odoo/odoo#185793.
When sending mails from the chatter the list of the new context does not contain the to recipient. However,
the context 'send_validated_to' contains the cc recipients. This commit changes the behaviour accordingly
to the new Odoo code.
@OCA-git-bot
Copy link
Contributor

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

@ChristophAbenthungCibex ChristophAbenthungCibex marked this pull request as ready for review January 27, 2025 08:14
@trisdoan
Copy link
Contributor

Hello, the issue was fixed in https://github.com/OCA/social/pull/1592/files

@ChristophAbenthungCibex
Copy link
Contributor Author

Thank you for letting me know.

@ChristophAbenthungCibex ChristophAbenthungCibex deleted the 16.0-mail_composer_cc_bcc_recipients_ignored branch February 24, 2025 08:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants