Skip to content

[Mailer] Fix Mailer #21190 : Update documentation about allowed_recipients behaviour #21193

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

Merged
merged 1 commit into from
Jul 9, 2025
Merged
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
9 changes: 4 additions & 5 deletions mailer.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1926,9 +1926,8 @@ a specific address, instead of the *real* address:
;
};

Use the ``allowed_recipients`` option to specify exceptions to the behavior defined
in the ``recipients`` option; allowing emails directed to these specific recipients
to maintain their original destination:
Use the ``allowed_recipients`` option to specify a "whitelist": this will allow emails directed to these specific recipients
to maintain their original destination, as well as being sent to the destinations defined in ``recipients``:

.. configuration-block::

Expand Down Expand Up @@ -1988,8 +1987,8 @@ to maintain their original destination:
};

With this configuration, all emails will be sent to ``[email protected]``,
except for those sent to ``[email protected]``, ``[email protected]``,
etc., which will receive emails as usual.
and in addition, those sent to ``[email protected]``, ``[email protected]``,
etc., will receive emails as usual.

.. versionadded:: 7.1

Expand Down