Follow Us

apps / email marketing Dec 12, 2024 · 3 min read

Managing Multiple Websites and Email Domains in Odoo

Domain Alignment for Emails

Odoo ERPGAP Blog Cover Image

In today’s digital landscape, having the right tools for effective website management is crucial for staying ahead of the competition. Odoo introduced a remarkable feature that simplifies managing multiple websites and email domains, especially for businesses operating under a single company or across branches. This functionality ensures emails sent from your system are aligned with the correct domain, addressing a common pain point for organizations with diverse online presences.

In this article, we’ll explore how this feature works, how to leverage company branches and email alias domains to effectively manage and separate email communications and how you can set it up to streamline your operations. We’ll demonstrate how to assign the appropriate email domain to the corresponding eCommerce domain within Odoo websites or Alokai.

How this Feature Works

Businesses often operate multiple websites - such as a B2B platform, an e-commerce site, or a corporate homepage. Each website may correspond to a distinct branch or division within the company. However, emails sent from these websites should reflect their specific domains to maintain professionalism and trust. For example:

  • Your main server domain might be used for internal operations.
  • Emails related to sales from a specific branch should originate from that branch's domain.

Prior to Odoo 17, aligning email domains with specific websites was complex and error-prone. This feature changed that by seamlessly linking websites, email servers, and branches.

How to configure your Odoo Email

Website and Branch Setup

Each website is tied to a branch or company within Odoo. This setup enables the platform to differentiate operations and align emails accordingly. For instance, here you can see the three different branches created for the same website:

Website : Linked to Main Company Website 2: Linked to Branch 1 Website shop : Linked to Shop Branch

Website branch set up.png

Alias Domains for Email Routing

Odoo allows you to define alias domains for each branch or company. In this example:

odoo1.dd.local is linked to Main Company. odoo2.dd.local is linked to Branch 1. shop.dd.local is linked to Shop Branch.

These aliases are configured through the email settings, ensuring outgoing emails reflect the correct sender domain.

Setting It Up

1. Create Website

Define your websites in the backend, linking each to its respective branch or company. Example: Website A linked to Main Company and Website B linked to Branch 1.

2. Configure Email Server

Set up separate outbound email servers for each domain. Example: Email server for odoo1.dd.local is assigned to Main Company.

3. Define Alias Domain

Assign alias domains for each website or branch. These aliases automatically link outgoing emails to the correct domain.

4. Test Functionality

Send quotes or emails from different websites. Verify the sender's email domain aligns with the intended website or branch.

Here's a short step by step.

Managing Multiple Websites and Email Domains in Odoo  YouTube cover image

Subscribe To Our Newsletter