Compare commits

...

10 Commits

Author SHA1 Message Date
Cédric Thiry
ef6568023a Update content/applications/productivity/discuss/advanced/email_servers.rst
Co-authored-by: Timothy Kukulka <91896312+tiku-odoo@users.noreply.github.com>
2022-06-21 21:28:25 +02:00
Cédric Thiry
5f60dcbbe0 Update content/applications/productivity/discuss/advanced/email_servers.rst
Co-authored-by: Timothy Kukulka <91896312+tiku-odoo@users.noreply.github.com>
2022-06-21 21:28:16 +02:00
Cédric Thiry
b26c9d91c3 Update content/applications/productivity/discuss/advanced/email_servers.rst
Co-authored-by: Timothy Kukulka <91896312+tiku-odoo@users.noreply.github.com>
2022-06-21 21:28:09 +02:00
Cédric Thiry
9df0dfcfc1 Update content/applications/productivity/discuss/advanced/email_servers.rst
Co-authored-by: Timothy Kukulka <91896312+tiku-odoo@users.noreply.github.com>
2022-06-21 21:28:01 +02:00
Cédric Thiry
a84bff9221 Update content/applications/productivity/discuss/advanced/email_servers.rst
Co-authored-by: Timothy Kukulka <91896312+tiku-odoo@users.noreply.github.com>
2022-06-21 21:27:55 +02:00
Cédric Thiry
2f4afb3611 Update content/applications/productivity/discuss/advanced/email_servers.rst
Co-authored-by: Timothy Kukulka <91896312+tiku-odoo@users.noreply.github.com>
2022-06-21 21:27:48 +02:00
Cédric Thiry
06bda1070a Update content/applications/productivity/discuss/advanced/email_servers.rst
Co-authored-by: Timothy Kukulka <91896312+tiku-odoo@users.noreply.github.com>
2022-06-21 21:27:41 +02:00
Cédric Thiry
e037020985 Update content/applications/productivity/discuss/advanced/email_servers.rst
Co-authored-by: Timothy Kukulka <91896312+tiku-odoo@users.noreply.github.com>
2022-06-15 22:46:45 +02:00
Cédric Thiry
c40861692d Update email_servers.rst
Typo
2021-12-22 12:25:17 +01:00
Cédric Thiry
dc7f1793a7 Update email_servers.rst
Odoo 15.0 introduced the ability to use a specific email server depending on the "From". So a new section "Set up different outgoing servers in a multi-company environment" has been added in the documentation. This explains the logic applied to select the right email server.
2021-12-22 11:40:57 +01:00

View File

@@ -224,6 +224,39 @@ alias in your mail server.
.. _Office 365 documentation:
https://support.office.com/en-us/article/how-to-set-up-a-multifunction-device-or-application-to-send-email-using-office-365-69f58e99-c550-4274-ad18-c805d654b4c4
Setting up different outgoing email servers for a multi-company environment
================================================================
The "From Filter" allows for the use of a specific outgoing email server depending on the "From"
email address that Odoo is sending on behalf of. When an email is sent from Odoo and the "From
Filter" is configured, then the email server will be chosen as follows:
#. Odoo searches for an email server having the same "From Filter" as the "From" email address
defined in the outgoing email. For example, if the "From" email address is test@example.com, only
the email servers having the "From Filter" equal to test@example.com will be returned.
#. If no email servers are found, then Odoo searches for an email server having the same domain in
the "From Filter" as in the "From" email address of the outgoing email. For example, if the "From"
email address is test@example.com, only the email servers having the "From Filter" equal to
example.com will be returned.
If no email servers are found after checking for the domain, then Odoo will return all email
servers without any "From Filter" set.
Should this previous query return no results, then Odoo performs a search for an email server
using the system parameter: 'mail.default.from'. First, the email address listed will attempt
to match an email server and then the domain will attempt a match.
If no email server is found then Odoo will return the first outgoing email server (sorted by
priority). In this case, it is likely the email configuration will be spoofing the email and it
will be flagged as Spam.
.. note::
If several email servers are found, then Odoo will use the first one according to its priority.
For example, if there are two email servers, one with a priority of 10 and the other with a
priority of 20, then the email server with a priority of 10 will be used.
Set up different dedicated servers for transactional and mass mails
===================================================================
@@ -250,4 +283,4 @@ server here selected for mass mails.
Note that in this case, you have to set your domain's Sender Policy Framework (SPF) records to
include both transactional and mass mail servers. If your server resides with xxxx.odoo.com, the
available options are Sendinblue and Mailchimp, as your e-mails would be originated from the
xxxx.odoo.com domain.
mycompany.odoo.com domain