Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Artificial Intelligence
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Property Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
    • Meet an advisor
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Get a demo
  • Pricing
  • Help
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
Help

Odoo + Email (Azure/Outlook) setup issue: replies (incoming) to outgoing Chatter messages not linking to same Chatter thread

Subscribe

Get notified when there's activity on this post

This question has been flagged
emailincomingazure
1 Reply
1560 Views
Avatar
Justin

I have an Odoo setup for a client and I am having a bit of trouble with the incoming email. 

  • This is Odoo Online 19.1
  • Using Outlook/Azure for the email service
  • We are using a custom domain with these, not the default Odoo.com email-domain.

For reference, in the examples below:

  • The system account setup for this database: odoo@mydomain.com
  • This account ("odoo@mydomain.com") is also the catchall, bounce, default-from aliases for this domain.

I have outgoing emails configured and correctly working - when I send a message from the Chatter (say from a Vehicle, in Fleet), to an out-of-company account (i.e one that is not part of the "mydomain.com"); that email is received in that outside account ( with the 'From' as "Name odoo@mydomain.com", and 'Reply-to' is the same: "Name odoo@mydomain.com"). This is all as expected (I believe). (But maybe it should have 'From' as "Name name@mydomain.com" instead of the Catchall address "odoo@mydomain.com", while the 'Reply-To' would still be odoo@mydomain.com.)


For the incoming configuration:

  • My incoming email server is configured to use the 'catchall' account as the user
  • the 'From_filter' is the same 'catchall' address.
  • The connection to the account is correct - there is a green 'Outlook token is valid' on the Incoming configuration page, and it has been 'Confirmed'.

When I mark the email as 'unread' in the inbox, I can run either the 'Incoming server -> Fetch Now' function, or the 'Scheduled Action -> Mail: Fetchmail Service', and the email will get marked as 'read'. So the connection to the inbox of this account appears to be correct. But that email isn't ingested anywhere, that I can see, and certainly not attached/related to the Chatter for the originating Vehicle.

The Incoming server is not configured with a 'create record in', but to my understanding that shouldn't matter if the message is a reply to a message that came from Odoo to start with.  The routing priority should check and use the internal email headers to link it to the Chatter first.

Is there a log somewhere I can review, to see what Odoo is doing with this email? Or some other way to troubleshoot this exchange? Or does somebody have a common-issues thing I can check?

0
Avatar
Discard
Codesphere Tech

Hello,
Odoo is fetching the email, but cannot match it to any existing thread AND has no fall-back rule to process it. So it silently drops it.
-> Simple working setup
Catchall: odoo@mydomain.com
->Outgoing:
From: user email
Reply-To: catchall
Incoming: No strict From filter
Aliases: At least one model alias (for fallback)
Hope this helps
Thanks

Justin
Author

Thanks Codesphere,
I'll adjust the settings some more, see what I can get to work - but I thought I had tried these points before. :)

Avatar
Zehntech Technologies Inc.
Best Answer

Hello Justin,

Yes, you're correct that Odoo should automatically link incoming replies to the original Chatter thread using email headers.

From your description, the connection to Outlook/Azure is working, but the issue likely lies in how the reply email headers (like Message-ID, In-Reply-To, etc.) are being handled. If these are modified or not preserved by Outlook/Azure, Odoo won’t be able to match the reply to the original record.

A few things you can check:

  • Ensure the Reply-To remains consistent and points to the catchall հասցress
  • Verify that email aliases and catchall domain are properly configured in Odoo
  • Check if Azure/Outlook is altering email headers or threading behavior
  • Enable developer mode and review logs (mail.thread, fetchmail) for routing clues

Also, if no alias or routing rule matches and headers are missing, Odoo won’t know where to attach the email—especially since “Create a new record” is not configured.

Hope this works for you! If you need any help implementing this or want a more optimized approach, feel free to reach out for further discussion

Regards,

Zehntech Technologies Inc.

santosh.sekwadia@zehntech.com

0
Avatar
Discard
Justin
Author

Hi Santosh, thanks for the response. Where would I find the logs you mention (mail.thread, fetchmail)? I didn't see them anywhere...

Justin
Author

(Keep in mind this is Odoo Online, not .SH or on-premise.)

Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Sign up
Related Posts Replies Views Activity
Can someone explain the full procedure to configure incoming mail? Solved
email incoming
Avatar
Avatar
Avatar
Avatar
Avatar
7
May 22
27286
Odoo 9 incoming mail servers Solved
email incoming odoo9
Avatar
Avatar
1
Nov 15
6354
email is not fetching correctly ( incoming emails) ?
email incoming fetching
Avatar
0
Mar 15
6523
Use custom Outlook/MS Entra as Email provide, and issues with Entra security configuration
security email smtp azure
Avatar
0
Apr 26
1119
A none catchall Email setup for Office 365 and oauth / Experience or Co-Financing Module
email oauth catchall azure
Avatar
Avatar
Avatar
Avatar
3
Apr 24
10011
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk Slovenščina Español (América Latina) Español Svenska ภาษาไทย Türkçe українська Tiếng Việt

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now