Skip to content

Commit 1448f58

Browse files
TerjeBrweaverryan
authored andcommitted
More xml fixes
1 parent 16907ed commit 1448f58

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

cookbook/email/dev_environment.rst

+3-2
Original file line numberDiff line numberDiff line change
@@ -154,9 +154,10 @@ by adding the ``delivery_whitelist`` option:
154154
155155
<swiftmailer:config delivery-address="[email protected]">
156156
<!-- all email addresses matching this regex will *not* be redirected to [email protected] -->
157-
<swiftmailer:delivery-whitelist>/@specialdomain.com$/</swiftmailer:delivery-whitelist>
157+
<swiftmailer:delivery-whitelist-pattern>/@specialdomain.com$/</swiftmailer:delivery-whitelist-pattern>
158+
158159
<!-- all emails sent to [email protected] won't be redirected to [email protected] too -->
159-
<swiftmailer:delivery-whitelist>/^[email protected]$/</swiftmailer:delivery-whitelist>
160+
<swiftmailer:delivery-whitelist-pattern>/^[email protected]$/</swiftmailer:delivery-whitelist-pattern>
160161
</swiftmailer:config>
161162
162163
.. code-block:: php

0 commit comments

Comments
 (0)