Skip to Content
Menu
This question has been flagged
1 Reply
3225 Views

Hello,

I use Odoo V15 and odoo studio.

Here's my problem: when you send an email to several recipients using Odoo templates, the email is sent via the "catchall" in the name of the user who initiated the action in Odoo. The various recipients and the people copied do not appear when the email is sent. So the recipient doesn't know who else he's talking to. 

For example: an internal user (user 1) sends an email containing a price request to contacts A and B of supplier 1 with another internal user (user 2) as a copy.

Contact A (from outside Odoo) will receive an email from Catchall in his inbox as "user 1" but the other recipients of the email (contact B and user 2) will not appear. Contact A is therefore not informed of the other recipients of the email and does not know to which contacts he will reply.


How can we ensure that all the people in the email chain are informed of the different people in the email exchange (including external people)?

Avatar
Discard
Author Best Answer

I found a solution by using a third-party app and modifying the Odoo subscriber system.

The principle is to send an email with a single main recipient and the other recipients as copies (using the third-party app's functions). I also add the address of the sender in copy so that it remains in the exchanges. I then developed a code that lets you delete subscribers to avoid multiple notifications. This makes it possible to keep a classic email flow outside Odoo while using catchall and the mail template function. 

This method allows you to keep a classic email flow and therefore all the email recipients to be informed of the different email recipients.

Avatar
Discard

What 3rd Party App did you use for this? I also need to develop a way to notify recipients who all is "CC'd" on a message sent out from Odoo.

Author

I use this app : https://apps.odoo.com/apps/modules/15.0/sh_email_enhancement/.
Please note that the method described above only allows you to use the catchall to retrieve the email exchange (as long as the catchall address remains in the recipients) because we have deleted the subscribers (action to be created in addition to the third-party app). The recipients of the email will be added as copies using the third-party app, except for the main recipient. If you want to use the email templates with this functionality, you need to create a new field in "mail.compose.message" with an action that pre-fills the email when using the mail composition wizard.

Related Posts Replies Views Activity
0
Feb 25
1320
0
Sep 22
102
1
Feb 24
4480
1
Dec 22
2461
1
May 22
4210