Skip to content
KMEE Sign in
Odoo 16.0 View Community

Email issues

This document contains an explanation of the most recurring emailing issues in Odoo.

Outgoing emails

Email is not sent

The first indicator showing that an email has not been sent is the presence of a red ✉️ (envelope) icon, next to the date and time of the message, located in the chatter.

Red envelope icon displayed in chatter.

Unsent emails also appear in the Odoo email queue. In developer mode, the email queue can be accessed by going to Settings app -> Technical menu -> Email -> Emails. Unsent emails appear in turquoise, while sent emails appear in grey.

Common error messages

Daily limit reached

Warning in Odoo upon email limit reached.

Each email service provider has its own email sending limits. The limits may be daily, hourly, or sometimes, per minute. This is the same for Odoo, which limits a customer's sending to prevent Odoo's email servers from being blacklisted.

Here are the default limits for new databases:

  • 200 emails per day for Odoo Online and Odoo.sh databases with an active subscription.
  • 20 emails per day for one-app free databases.
  • 50 emails per day for trial databases.
  • In the case of migration, the daily limit might be reset to 50 emails per day.

If the daily limit is reached:

  • Contact the Odoo support team, who may increase the daily limit depending on the following factors:
    1. How many users are in the database?
    2. Which apps are installed?
    3. The bounce rate: the percentage of email addresses that did not receive emails because they were returned by a mail server on its way to the final recipient.
  • Use an external outgoing email server to be independent of Odoo's mail limit (refer to the corresponding email documentation).
  • Wait until 11 PM (UTC) for the daily limit to reset, and retry sending the email. In developer mode, go to Settings app -> Technical menu -> Email -> Emails, then click the Retry button next to an unsent email.
SMTP error

Simple Mail Transport Protocol (SMTP) error messages explain why an email wasn't transmitted successfully. SMTP is a protocol to describe the email structure, and transmits data from messages over the Internet. The error messages generated by email services are helpful tools to diagnose and troubleshoot email problems.

The debug menu can be used to investigate SMTP sending issues from a database. To access the menu, developer mode must be activated. Once activated, navigate to the Debug Menu in the top right of the menu bar (the 🐞 (bug) icon), Debug Menu -> Manage Messages

The Manage Messages menu opens a list of all the messages sent in a particular record. Within each message there is information on sending, including the type, and subtype, of the message.

Other information includes to whom the message was sent, and whether Odoo received a bounce-back message from an email server.

Manage messages menu option on the debug menu.

No error populated

Odoo is not always capable of providing information for the reason it failed. The different email providers implement a personalized policy of bounced emails, and it is not always possible for Odoo to interpret it correctly.

If this is a recurring problem with the same client, or the same domain, do not hesitate to contact Odoo Support for help in finding a reason.

Email is sent late

Email campaigns send at a scheduled time, using a delay pre-programed in the database. Odoo uses a delayed task to send emails that are considered "not urgent" (newsletter formats, such as: mass mailing, marketing automation, and events). The system utility cron can be used to schedule programs to run automatically at predetermined intervals. Odoo uses that policy in order to avoid cluttering the mail servers and, instead, prioritizes individual communication. This cron is called Mail: Email Queue Manager, and can be accessed in developer mode by going to Settings app -> Technical menu -> Automation -> Scheduled Actions.

Email scheduled to be sent later.

Emails that are considered urgent (communication from one person to another, such as sales orders, invoices, purchase orders, etc.) are sent immediately.

Incoming emails

When there is an issue with incoming emails, there might not be an indication, per se, in Odoo. It is the sending email client, who tries to contact a database, that will get a bounce-back message (most of the time a 550: mailbox unavailable error message).

Email is not received

The steps that should be taken depend on the Odoo platform where the database is hosted.

Odoo.sh users can find their live logs on the folder ~/logs/.

Logs are a stored collection of all the tasks completed in a database. They are a text-only representation, complete with timestamps of every action taken on the Odoo database. This can be helpful to track emails leaving the database. Failure to send can also be seen by logs that indicate that the message tried to send repeatedly. Logs will show every action to the email servers from the database.

The folder ~/logs/ (accessed by the command line or on the Odoo.sh dashboard) of an Odoo.sh database contains a list of files containing the logs of the database. The log files are created everyday at 5:00 AM (UTC).

See also

For more information on logs and how to access them via the Odoo.sh dashboard, see this administration documentation.

For more information on accessing logs via the command line visit this developer documentation.

Odoo Online users won't have access to the logs. However Odoo Support can be contacted if there is a recurring issue with the same client or domain.

Get help from Odoo support

In order to get helped efficiently, please provide as much information as possible. Here is a list of what can be helpful when reaching out to the Odoo Support team about an issue:

  1. Send a copy of the email headers. The .EML file (or headers) of the email is the file format containing all the technical information required for an investigation. The documentation from the email provider might explain how to access the EML file/header files. Once the headers of the email are obtained, adding it into the Odoo Support ticket is the most efficient way for the Odoo Support team to investigate.

  2. Explain the exact flow that is being followed to normally receive those emails in Odoo. Here are examples of questions whose answers can be useful:

    • Is this a notification message from a reply being received in Odoo?
    • Is this a message being sent from the Odoo database?
    • Is there an incoming email server being used, or is the email somehow being redirected?
    • Is there an example of an email that has been correctly forwarded?
  3. Provide answers to the following questions:

    • Is it a generic issue, or is it specific to a use case? If specific to a use case, which one exactly?
    • Is it working as expected? In case the email is sent using Odoo, the bounce email should reach the Odoo database, and display the red envelope.