Skip to content

Commit 747199c

Browse files
TerjeBrweaverryan
authored andcommitted
Swiched mydomain and specialdomain
1 parent c35a26f commit 747199c

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

cookbook/email/dev_environment.rst

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -138,11 +138,11 @@ This can be done by adding the ``delivery_whitelist`` option:
138138
delivery_whitelist:
139139
# all email addresses matching this regex will *not* be
140140
# redirected to dev@example.com
141-
- "/@mydomain.com$/"
141+
- "/@specialdomain.com$/"
142142
143-
# all emails sent to admin@specialdomain.com won't
143+
# all emails sent to admin@mydomain.com won't
144144
# be redirected to dev@example.com too
145-
- "/^admin@specialdomain.com$/"
145+
- "/^admin@mydomain.com$/"
146146
147147
.. code-block:: xml
148148
@@ -155,9 +155,9 @@ This can be done by adding the ``delivery_whitelist`` option:
155155
156156
<swiftmailer:config delivery-address="dev@example.com" />
157157
<!-- all email addresses matching this regex will *not* be redirected to dev@example.com -->
158-
<swiftmailer:delivery-whitelist>/@mydomain.com$/</swiftmailer:delivery-whitelist>
159-
<!-- all emails sent to admin@specialdomain.com won't be redirected to dev@example.com too -->
160-
<swiftmailer:delivery-whitelist>/^admin@specialdomain.com$/</swiftmailer:delivery-whitelist>
158+
<swiftmailer:delivery-whitelist>/@specialdomain.com$/</swiftmailer:delivery-whitelist>
159+
<!-- all emails sent to admin@mydomain.com won't be redirected to dev@example.com too -->
160+
<swiftmailer:delivery-whitelist>/^admin@mydomain.com$/</swiftmailer:delivery-whitelist>
161161
162162
.. code-block:: php
163163
@@ -167,17 +167,17 @@ This can be done by adding the ``delivery_whitelist`` option:
167167
'delivery_whitelist' => array(
168168
// all email addresses matching this regex will *not* be
169169
// redirected to dev@example.com
170-
'/@mydomain.com$/',
170+
'/@specialdomain.com$/',
171171
172-
// all emails sent to admin@specialdomain.com won't be
172+
// all emails sent to admin@mydomain.com won't be
173173
// redirected to dev@example.com too
174-
'/^admin@specialdomain.com$/'
174+
'/^admin@mydomain.com$/',
175175
),
176176
));
177177
178178
In the above example all email messages will be redirected to ``dev@example.com``,
179-
except messages sent to the ``admin@specialdomain.com`` address or to any email
180-
address belonging to the domain ``mydomain.com``, which will be delivered as normal.
179+
except messages sent to the ``admin@mydomain.com`` address or to any email
180+
address belonging to the domain ``specialdomain.com``, which will be delivered as normal.
181181

182182
Viewing from the Web Debug Toolbar
183183
----------------------------------

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy