@@ -140,11 +140,11 @@ by adding the ``delivery_whitelist`` option:
140140 delivery_whitelist :
141141 # all email addresses matching this regex will *not* be
142142 # redirected to dev@example.com
143- - " /@specialdomain.com$/"
143+ - " /@specialdomain\ . com$/"
144144
145145 # all emails sent to admin@mydomain.com won't
146146 # be redirected to dev@example.com too
147- - " /^admin@mydomain.com$/"
147+ - " /^admin@mydomain\ . com$/"
148148
149149 .. code-block :: xml
150150
@@ -156,10 +156,10 @@ by adding the ``delivery_whitelist`` option:
156156
157157 <swiftmailer : config delivery-address =" dev@example.com" >
158158 <!-- 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 >
160160
161161 <!-- 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 >
163163 </swiftmailer : config >
164164
165165 .. code-block :: php
@@ -170,11 +170,11 @@ by adding the ``delivery_whitelist`` option:
170170 'delivery_whitelist' => array(
171171 // all email addresses matching this regex will *not* be
172172 // redirected to dev@example.com
173- '/@specialdomain.com$/',
173+ '/@specialdomain\ .com$/',
174174
175175 // all emails sent to admin@mydomain.com won't be
176176 // redirected to dev@example.com too
177- '/^admin@mydomain.com$/',
177+ '/^admin@mydomain\ .com$/',
178178 ),
179179 ));
180180
0 commit comments