Skip to content

[FW][IMP] mail: from filter ICP missing part #13205

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,15 @@ emails. The deliverability is optimized for this subdomain as it uses Odoo’s D
If the database subdomain is `company-name.odoo.com` and all mailing configurations are the
default ones, all emails will be sent from `notifications@company-name.odoo.com`.

.. important::
Only **one** subdomain can be used as a mailing server in Odoo. Subdomains for additional
companies require an external email server with a custom domain.
.. _email-outbound-default-from-filtering:

This configuration is handled by the system parameter `mail.default.from_filter`.
In case where the sender's domain do not match the value of this parameter, the notification address
is used instead. Multiple values can be defined in this system parameter: comma-separated, domains
or full email addresses are all allowed. Once an :ref:`outgoing mail server is configured
<email-outbound-different-servers-personalized>`, the system parameter is no longer considered
and the value used is the :ref:`FROM filtering
<email-outbound-different-servers-personalized-from-filtering>` of the mail server.

.. image:: email_servers_outbound/diagram-inbound-mailing-method.png
:alt: Odoo’s default outbound messages configuration.
Expand Down Expand Up @@ -213,6 +219,9 @@ When an email is sent from Odoo, the following sequence is used to choose the ou
higher the priority is). Failing to do so, the first server is determined by the servers' names,
using alphabetical order.

- If there is no mail server, Odoo relies on the :ref:`system parameter
<email-outbound-default-from-filtering>` value.

It is also possible to use Odoo's mail server for transactional emails in addition to mass mailings.

.. _email-outbound-different-servers-external-odoo:
Expand Down Expand Up @@ -333,7 +342,7 @@ Using a unique email address for all outgoing emails

To force the email address from which emails are sent, activate the :ref:`developer-mode`, and go to
:menuselection:`Settings --> Technical --> Email: Alias Domains`. On the :guilabel:`Default From
Alias`, use the the local-part or a complete email address as the value.
Alias`, use the local-part or a complete email address as the value.

.. warning::
If a **complete address** is used as the :guilabel:`Default From Alias` value, **all** outgoing
Expand Down