Skip to Content

Outgoing Mail by Multi Company or User

by

5.65

19.0 0
Live Preview
Required Apps Discuss (mail)
Technical Name outgoing_mail_by_multi_company_or_user
License OPL-1
You bought this module and need support ? Click here!
Technical Name outgoing_mail_by_multi_company_or_user
License OPL-1

Introduction

The Outgoing Mail by Multi-Company / User module for Odoo delivers refined email routing control by letting administrators assign outgoing SMTP server settings per company or per user. In multi-company environments or in setups where different users must send emails from different domains or email servers, this module ensures that the correct “From” address and mail server are used. This improves email deliverability, reinforces company branding, and reduces misrouted or blocked messages.

Key Features

  • Configure an outgoing mail server specific to each company

  • Assign a distinct SMTP / outgoing mail server per user (overriding company default)

  • Automatically choose the appropriate mail server based on current company or user context

  • Support fallback logic when no specific server is assigned (e.g. default global SMTP)

  • Maintain standard email aliasing, templating, and Discuss / chatter integration

  • Manage priority or filtering rules to select among multiple servers if needed

Benefits

  • Ensures emails are sent from correct domain or server aligned with company identity

  • Reduces email bounces by matching “From” domain and SMTP server credentials

  • Improves consistency and professionalism in intercompany or client communications

  • Grants flexibility for users with special email domains or external sending needs

  • Avoids the limitation of a single SMTP instance in multi-company setups

Compatibility & Technical Details

  • Technical Name: likely something like outgoing_mail_by_multi_company_or_user

  • Required Modules:

    • Mail / Discuss (mail)

    • Multi-company support (base)

    • Possibly user (res.users) settings extension

  • License: as declared in module metadata (often proprietary license)

  • Installation Steps:

    1. Install the module into your Odoo environment alongside standard mailing components.

    2. In Settings → Technical → Outgoing Mail Servers, configure and assign SMTP servers to companies or users as needed.

    3. On user records, enable or specify “Use user mail server” or similar override field.

    4. On company records, assign default outgoing server for that company context.

    5. When sending emails (from the user or in a company environment), Odoo selects the SMTP server based on user → company hierarchy and sends via the appropriate server.

    6. Test sending emails under different user and company contexts to validate routing.

Odoo Proprietary License v1.0
This software and associated files (the "Software") may only be used (executed,
modified, executed after modifications) if you have purchased a valid license
from the authors, typically via Odoo Apps, or if you have received a written
agreement from the authors of the Software (see the COPYRIGHT file).

You may develop Odoo modules that use the Software as a library (typically
by depending on it, importing it and using its resources), but without copying
any source code or material from the Software. You may distribute those
modules under the license of your choice, provided that this license is
compatible with the terms of the Odoo Proprietary License (For example:
LGPL, MIT, or proprietary licenses similar to this one).

It is forbidden to publish, distribute, sublicense, or sell copies of the Software
or modified copies of the Software.

The above copyright notice and this permission notice must be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.