DEV Community

Cover image for Configure Odoo 16.0 to Receive Email
Gusti Tammam
Gusti Tammam

Posted on

Configure Odoo 16.0 to Receive Email

I have previously written about how to Configure Odoo 16.0 to Sending Email, providing a step-by-step guide on how to configuring the SMTP server. And now, I am writing about how to configure Odoo 16.0 to receive email.

The emails that are received by the system is handled by mail gateway. The mail gateway is responsible for receiving emails, processing them and then routing them to the appropriate location within the Odoo system.

When an email is received by the mail gateway, it first checks if the email is related to an existing record, such as a customer or a project. If the email is related to an existing record, it will be linked to that record and added to the mail thread. If the email is not related to an existing record, the mail gateway will create a new record and link the email to that record.

To get started, please go to "Settings/General Settings". In "Discuss" section, please check on "Custom Email Servers" option. Please fill in your alias domain, for example is tammam.id. Then click on Save button.

After page is reloaded, then click on "Incoming Email Servers" link. Before we continue, please make sure you've already set up an email account and got its credentials. Let's say we have this credentials:

POP Host: pop.tammam.id
POP Port: 995
Requires SSL: Yes
Username: catchall@tammam.id
Password: ********

Then, click on Create button to add new incoming mail server. Then please fill in the form with your email account's credentials:

  • Name: Catchall Tammam Mailbox. Please set the name of the mail server.
  • Server Type: POP Server. It depends on what's the type of mail server you're using. In this example, I'm using POP Server.
  • Server Name: pop.tammam.id.
  • Port: 995.
  • SSL/TLS: True.
  • Username: catchall@tammam.id
  • Password: ********

Then, click on Test & Confirm button. If the message is successful then you're done, otherwise, there's a problem with your mail server.

If all is configured correctly, all messages out from Odoo will have "catchall@tammam.id" as a "Reply-to" email. Odoo will periodically fetch the mailbox of "catchall@tammam.id", if there's an email related to a record, it will be shown in the chatter of that record.

Cover image by Angela Roma on Pexels.

Image of Timescale

Timescale – the developer's data platform for modern apps, built on PostgreSQL

Timescale Cloud is PostgreSQL optimized for speed, scale, and performance. Over 3 million IoT, AI, crypto, and dev tool apps are powered by Timescale. Try it free today! No credit card required.

Try free

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Dive into an ocean of knowledge with this thought-provoking post, revered deeply within the supportive DEV Community. Developers of all levels are welcome to join and enhance our collective intelligence.

Saying a simple "thank you" can brighten someone's day. Share your gratitude in the comments below!

On DEV, sharing ideas eases our path and fortifies our community connections. Found this helpful? Sending a quick thanks to the author can be profoundly valued.

Okay