Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
3011 Widoki

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 ...

Awatar
Odrzuć
Najlepsza odpowiedź

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



Awatar
Odrzuć
Autor

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.

Powiązane posty Odpowiedzi Widoki Czynność
3
kwi 25
3441
2
mar 24
2183
0
lut 24
1875
1
gru 23
2658
1
lis 23
2130