@@ -140,11 +140,11 @@ by adding the ``delivery_whitelist`` option:
140
140
delivery_whitelist :
141
141
# all email addresses matching this regex will *not* be
142
142
# redirected to dev@example.com
143
- - " /@specialdomain.com$/"
143
+ - " /@specialdomain\ . com$/"
144
144
145
145
# all emails sent to admin@mydomain.com won't
146
146
# be redirected to dev@example.com too
147
- - " /^admin@mydomain.com$/"
147
+ - " /^admin@mydomain\ . com$/"
148
148
149
149
.. code-block :: xml
150
150
@@ -156,10 +156,10 @@ by adding the ``delivery_whitelist`` option:
156
156
157
157
<swiftmailer : config delivery-address =" dev@example.com" >
158
158
<!-- all email addresses matching this regex will *not* be redirected to dev@example.com -->
159
- <swiftmailer : delivery-whitelist-pattern >/@specialdomain.com$/</swiftmailer : delivery-whitelist-pattern >
159
+ <swiftmailer : delivery-whitelist-pattern >/@specialdomain\ .com$/</swiftmailer : delivery-whitelist-pattern >
160
160
161
161
<!-- all emails sent to admin@mydomain.com won't be redirected to dev@example.com too -->
162
- <swiftmailer : delivery-whitelist-pattern >/^admin@mydomain.com$/</swiftmailer : delivery-whitelist-pattern >
162
+ <swiftmailer : delivery-whitelist-pattern >/^admin@mydomain\ .com$/</swiftmailer : delivery-whitelist-pattern >
163
163
</swiftmailer : config >
164
164
165
165
.. code-block :: php
@@ -170,11 +170,11 @@ by adding the ``delivery_whitelist`` option:
170
170
'delivery_whitelist' => array(
171
171
// all email addresses matching this regex will *not* be
172
172
// redirected to dev@example.com
173
- '/@specialdomain.com$/',
173
+ '/@specialdomain\ .com$/',
174
174
175
175
// all emails sent to admin@mydomain.com won't be
176
176
// redirected to dev@example.com too
177
- '/^admin@mydomain.com$/',
177
+ '/^admin@mydomain\ .com$/',
178
178
),
179
179
));
180
180
0 commit comments