This question has been flagged
2 Replies
38664 Views

We are using Odoo 10 Community Edition

  • We have a single Odoo Incoming Mail Server configured. It maps to our gmail "catch all" account.

  • We have several projects created -- each having a unique email alias.

  • When an email is sent to one of the project email aliases it "drops thru" to our gmail "catch all" account and is sent to Odoo.

  • Odoo then directs the email to the project having corresponding email alias and a new task is created for that project.

The question is what happens to an email who's address does not match any of the project email aliases? It seems to be ignored by Odoo and is not directed anywhere.

Is it possible to configure a "catch all" email address within Odoo so that such emails are not lost? If so how?


Thank you in advance.



Avatar
Discard
Best Answer

Hello,

please have a look at this good explanation how aliases work (the first answer) : https://www.odoo.com/forum/help-1/question/how-to-setup-email-alias-111570. 

Basically, if you have a properly configured catch-all, the emails would be there. However, if no alias is defined (or no properly configured meta data), Odoo would ignore such emails. It just can't know where to put those messages. And you can't define an alias for each possible combination.

The only solution (I guess the only) is to re-define the method message_route of mail.thread. Currently, undefined messages are ignored, but you may apply any sort of action on a code level. For example, we faced a similar issue: not all users reply to messages, but create a new email. Such emails are lost in Odoo. That's why we have re-defined the method to put such emails in a special menu for further re-direction. Regretfully, the app is paid - https://apps.odoo.com/apps/modules/10.0/mail_manual_routing/, but you may rely upon the same logic while developing your tool. 

Avatar
Discard
Best Answer

How can I route all catchall new messages to automatically make new Leads ?

Avatar
Discard