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.

Heroku

Simplify your DevOps and maximize your time.

Since 2007, Heroku has been the go-to platform for developers as it monitors uptime, performance, and infrastructure concerns, allowing you to focus on writing code.

Learn More

Top comments (0)

The Most Contextual AI Development Assistant

Pieces.app image

Our centralized storage agent works on-device, unifying various developer tools to proactively capture and enrich useful materials, streamline collaboration, and solve complex problems through a contextual understanding of your unique workflow.

👥 Ideal for solo developers, teams, and cross-company projects

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay