DEV Community

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

Posted on • Updated 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.

Top comments (0)