Skip to content

Commit 7de0684

Browse files
committed
Minor reword
1 parent 6682765 commit 7de0684

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

mailer.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1852,9 +1852,9 @@ a specific address, instead of the *real* address:
18521852
;
18531853
};
18541854
1855-
You may also go even further by restricting the recipient to a specific
1856-
address, except for some specific ones. This can be done by using the
1857-
``allowed_recipients`` option:
1855+
Use the ``allowed_recipients`` option to specify exceptions to the behavior defined
1856+
in the ``recipients`` option; allowing emails directed to these specific recipients
1857+
to maintain their original destination:
18581858

18591859
.. configuration-block::
18601860

@@ -1867,7 +1867,7 @@ address, except for some specific ones. This can be done by using the
18671867
envelope:
18681868
recipients: ['youremail@example.com']
18691869
allowed_recipients:
1870-
- 'interal@example.com'
1870+
- 'internal@example.com'
18711871
# you can also use regular expression to define allowed recipients
18721872
- 'internal-.*@example.(com|fr)'
18731873
@@ -1914,8 +1914,8 @@ address, except for some specific ones. This can be done by using the
19141914
};
19151915
19161916
With this configuration, all emails will be sent to ``youremail@example.com``,
1917-
except for those sent to ``internal@example.com``, which will receive emails as
1918-
usual.
1917+
except for those sent to ``internal@example.com``, ``internal-monitoring@example.fr``,
1918+
etc., which will receive emails as usual.
19191919

19201920
.. versionadded:: 7.1
19211921

0 commit comments

Comments
 (0)