DEV Community

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

Posted on • Edited on

Configure Odoo 16.0 to Sending Email

The mail module in Odoo is a powerful feature that allows users to manage and send emails directly from within the Odoo application. It allows users to easily send and receive emails, create and manage email templates, and keep track of sent and received emails.

To send out email messages from the Odoo application, we need SMTP server. To configure the SMTP server in Odoo, you need to activate the Developer Mode. When Developer Mode is active, please go to menu "Settings/Technical/Email/Outgoing Mail Servers".

Click on Create button to add new outgoing mail server. Then please fill in the form with your SMTP server's credential and information. Let's say we've SMTP server with the credentials are:

  • SMTP Host: smtp.tammam.id
  • SMTP Port: 465
  • Requires SSL: Yes
  • Username: outgoing@tammam.id
  • Password: ********

Then here is how to configure them into the Odoo:

  • Name: "Notification Mail Server". Please set the name of the mail server.
  • FROM Filtering: "no-reply@tammam.id". This helps us to not spoof the email address coming from another mail server that is not the same as ours. I've written an article to cover more about this here.
  • Authenticate with: Username.
  • Connection Encryption: SSL/TLS.
  • SMTP Server: smtp.tammam.id.
  • SMTP Port: 465.
  • Username: outgoing@tammam.id.
  • Password: ********

Please save your new server and then click on the Test Connection button. If the message is successful then you're done, otherwise, there's a problem with your mail server.

From now we'll receive email notifications for every message posted on Odoo chatter or when we're mentioned on Odoo chatter. All features related to the mail module to send out emails from Odoo will also be working.

Cover image by Joel Lee on Unsplash.

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)

👋 Kindness is contagious

Engage with a sea of insights in this enlightening article, highly esteemed within the encouraging DEV Community. Programmers of every skill level are invited to participate and enrich our shared knowledge.

A simple "thank you" can uplift someone's spirits. Express your appreciation in the comments section!

On DEV, sharing knowledge smooths our journey and strengthens our community bonds. Found this useful? A brief thank you to the author can mean a lot.

Okay