Skip to content

Commit 87f4ee8

Browse files
committed
minor #21193 [Mailer] Fix Mailer #21190 : Update documentation about allowed_recipients behaviour (jordanaubert)
This PR was submitted for the 7.3 branch but it was merged into the 7.2 branch instead. Discussion ---------- [Mailer] Fix Mailer #21190 : Update documentation about `allowed_recipients` behaviour Fix #21190 Mailer issue <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/releases for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `7.x` for features of unreleased versions). --> Commits ------- b0d3f22 Fix Mailer #21190 : Update documentation about `allowed_recipients` behaviour
2 parents 78b9a86 + b0d3f22 commit 87f4ee8

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

mailer.rst

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1926,9 +1926,8 @@ a specific address, instead of the *real* address:
19261926
;
19271927
};
19281928
1929-
Use the ``allowed_recipients`` option to specify exceptions to the behavior defined
1930-
in the ``recipients`` option; allowing emails directed to these specific recipients
1931-
to maintain their original destination:
1929+
Use the ``allowed_recipients`` option to specify a "whitelist": this will allow emails directed to these specific recipients
1930+
to maintain their original destination, as well as being sent to the destinations defined in ``recipients``:
19321931

19331932
.. configuration-block::
19341933

@@ -1988,8 +1987,8 @@ to maintain their original destination:
19881987
};
19891988
19901989
With this configuration, all emails will be sent to ``[email protected]``,
1991-
except for those sent to ``[email protected]``, ``[email protected]``,
1992-
etc., which will receive emails as usual.
1990+
and in addition, those sent to ``[email protected]``, ``[email protected]``,
1991+
etc., will receive emails as usual.
19931992

19941993
.. versionadded:: 7.1
19951994

0 commit comments

Comments
 (0)