Skip to Content
Menu
This question has been flagged

Greetings, I have company's odoo instance on odoo.sh (15 enterprise) where i have outgoing SMTP server setup. Not sure how incoming (support) smtp server is working support@company.com , because it was never setup manually and incoming mail servers are empty.

In helpdesk overview when se setup Email Alias - it says "Create tickets by sending an email to an alias"


When i send email to support email. it sends me automatic response and gives ticket number (ticket reference (#1)), but when i answer on that response from email instead of keeping that number (ticket reference (#1)) it creates new ticket (ticket reference (#1) (#2)). So basically it will escalate with every response.
Is it normal behavior?
Can i fix it somehow?
Is there code that checks if user responding on odoo-side email?

I found helpdesk/models/helpdesk_ticket.py line 474 function that creates new ticket number, but had no luck debugging where does it check if it is response for odoo-side email or not.

Any ideas are welcome, not sure what to try next ...

Avatar
Discard
Best Answer

It is likely your Outgoing SMTP Server is stripping metadata from the emails.

Without this metadata, Odoo thinks the email is a new ticket and creates one.

You can test this by archiving your Email Server and using the Odoo one.

Note: both incoming and outgoing are available by default with no entries in either Menu - see https://www.odoo.com/documentation/15.0/applications/general/email_communication/email_domain.html



Avatar
Discard
Author

Thanks Ray, you are right. smtp server was stripping headers, so Odoo could not parce message right! Had crazy idea to add supported header for smtp on outgoing mail, and add parcer on that header on receiving in extension module, but ended up by switching smtp.

Related Posts Replies Views Activity
3
Oct 24
746
2
Mar 24
671
0
Feb 24
686
1
Dec 23
1002
1
Nov 23
735