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 e-mail system weird

Subscribe

Get notified when there's activity on this post

This question has been flagged
4 Replies
5731 Views
Avatar
Sanjin Šarić

Hello forum!

I have a very weird problem. It is about e-mail settings. I managed to make the outgoing SMTP server settings work very well. I can send e-mails through one account that I created as gateway. The problem exists with my incoming mail settings. I figured that you have to make separate e-mail settings for each of the users I created.

I created incoming IMAP mail settings for my account, and it passes nicely, it says testing ok, and fetching e-mail doesn't give any errors. But when I go to messaging tab of the account that is supposed to receive e-mails, I get nothing.

"I must have missed something, and my connection to outside world might be wrong?" Say no more, I went right ahead and tried POP incoming settings. Works like a charm. But I don't want POP settings. It doesn't suite my needs at all.


I am hereby humbly asking someone to help me debug this. Why is POP working and IMAP not? I should also mention,  that I have configured IMAP settings at my thunderbird client and it works flawlessly, so we can rule out server side problems.


On a sidenote, I am missing a send message button in my messaging tab, so the way I tested outgoing settings was to reply some of the messages that I received while POP settings were active.



1
Avatar
Discard
Shawn Varghese

Could it be that your email server has not been setup for IMAP? For example, if you use Gmail, you can sign in your account and go to Settings / Forwarding and POP/IMAP. I think by default POP is enabled,and IMAP is disabled.

Sanjin Šarić
Author

I should also mention, that I have configured IMAP settings at my thunderbird client and it works flawlessly, so we can rule out server side problems.

Avatar
Julian Robbins
Best Answer

Hi

Something that you may not appreciate, Odoo will only 'capture' mails if they are unread. Therefore this might account for the odd behaviour .. ie when you're testing the emails get parsed about once an hour, but if its a real user account you are using, then you are probably letting them get read. Then you go to bed, leave your emails, get up next day and the emails that were received overnight that have not been looked at are unread and have had ample opportunity to be parsed and brought into Odoo, as expected..

Really the only way to get Odoo and mails to work really nicely is I think with an unmonitored mailbox, which makes sense for support or sales perhaps. But how does it work for your own inbox? You will of course have mails that are then read and not picked up.  But this is surely how its supposed to work for your Inbox in Odoo, I am still working out quite how this is supposed to really function ...

For the best read up on how the mail works read this from Olivier Dony

https://www.odoo.com/forum/help-1/question/how-to-trigger-an-email-on-project-issue-changes-35894

It's a year or two old, and describes projects as well as CRM, but its very detailed, and from the best source possible;-)

Hope this helps, the info is a bit think on the mail gateway


3
Avatar
Discard
Avatar
Sanjin Šarić
Author Best Answer

Can it be that the machine odoo is running on is blocking the IMAP traffic?

I am running ubuntu server, with no firewall. But I did configure postfix and dovecot for experimenting (not odoo related, just same machine), could they be the culprits? 


EDIT: The problem fixed itself somehow. I had to let the settings "sit over night". Then I saw my emails in my odoo inbox.



EDIT 2: It didn't fix by itself. I have problems using timezones. They are causing this nonsense. It appears odoo is sending request to server in UTC time zone, but apparently my server where mail is running is in +2 with respect to UTC, meaning those mails never arrived at my Odoo server side. I am trying to fix this now.


EDIT 3: FINALLY I FOUND WHAT WAS THE PROBLEM.


NOTE TO ALL OTHERS WHO MIGHT HAVE A PROBLEM WITH THIS:


The IMAP protocol on Odoo is configured to use Search (Unseen) query to mail server. So if you read your mail somewhere else, Odoo will NOT download that mail to Odoo server. You will not receive it. So either don't read mail anywhere else, or modify the IMAP protocol query as I intend to do.


I did not see the answer below. I used wireshark to figure out what was the problem. The full answer is below. Thank you Julian for your in-depth answer, I will try to figure out how I will access mails.

1
Avatar
Discard
Julian Robbins

I think my post was after you used wireshark, but before you posted most recently.

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