Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
78 Представления

Summary

Incoming emails from our Outlook (Microsoft 365) mailboxes are not fetched automatically by Odoo on Odoo.sh. The scheduled action “Mail: Fetchmail Service” runs every 5 minutes but processes 0 records. If I run the job manually, the same unread messages are fetched immediately and appear in Odoo as expected.

Environment

  • Odoo edition: Odoo 18 on Odoo.sh 
  • Email provider: Outlook / Microsoft 365 (IMAP/SMTP)
  • Custom domain: (our company’s custom domain)
  • Odoo system domain: (Odoo-managed domain)
  • Scheduled action: Mail: Fetchmail Service every 5 minutes 

Symptoms

  • Replies to RFQs (and other inbound emails) arrive in Outlook and remain unread.
  • The cron “Mail: Fetchmail Service” executes on schedule but logs show 0 records processed.
  • Running the same scheduled action manually fetches the unread emails into Odoo.
  • No configuration errors show on the configured Incoming Mail Servers in Odoo.

Logs

When automatic cron runs:

2025-09-03 13:20:15,805 ... INFO odoo.addons.base.models.ir_cron: Job 'Mail: Fetchmail Service' (68) processed 0 records, 0 records remaining 2025-09-03 13:20:15,812 ... INFO odoo.addons.base.models.ir_cron: Job 'Mail: Fetchmail Service' (68) completed

When manual run of the same job:

  • Detailed steps appear in the logs and the unread emails are fetched correctly.

What’s already checked / tried

  1. Cron frequency set to 5 minutes (aware Odoo won’t run more frequently).
  2. Incoming server config connects successfully; no UI errors.
  3. Mailbox state: messages are unread in Outlook at expected fetch time.
  4. Credentials/permissions valid (manual run succeeds).
  5. Server load normal; no obvious throttling.
  6. Odoo.sh: standard workers; nothing custom in code touching mail.

Аватар
Отменить
Related Posts Ответы Просмотры Активность
0
мар. 15
5611
7
янв. 20
21892
0
июл. 18
2668
2
мая 25
722
0
мар. 25
917