From 747199c873ef2a41a220d9de690fe4309d110f1f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Terje=20Br=C3=A5ten?= Date: Mon, 16 Feb 2015 13:32:38 +0000 Subject: [PATCH] Swiched mydomain and specialdomain --- cookbook/email/dev_environment.rst | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/cookbook/email/dev_environment.rst b/cookbook/email/dev_environment.rst index b6f5ff17e22..a58c8faa41f 100644 --- a/cookbook/email/dev_environment.rst +++ b/cookbook/email/dev_environment.rst @@ -138,11 +138,11 @@ This can be done by adding the ``delivery_whitelist`` option: delivery_whitelist: # all email addresses matching this regex will *not* be # redirected to dev@example.com - - "/@mydomain.com$/" + - "/@specialdomain.com$/" - # all emails sent to admin@specialdomain.com won't + # all emails sent to admin@mydomain.com won't # be redirected to dev@example.com too - - "/^admin@specialdomain.com$/" + - "/^admin@mydomain.com$/" .. code-block:: xml @@ -155,9 +155,9 @@ This can be done by adding the ``delivery_whitelist`` option: - /@mydomain.com$/ - - /^admin@specialdomain.com$/ + /@specialdomain.com$/ + + /^admin@mydomain.com$/ .. code-block:: php @@ -167,17 +167,17 @@ This can be done by adding the ``delivery_whitelist`` option: 'delivery_whitelist' => array( // all email addresses matching this regex will *not* be // redirected to dev@example.com - '/@mydomain.com$/', + '/@specialdomain.com$/', - // all emails sent to admin@specialdomain.com won't be + // all emails sent to admin@mydomain.com won't be // redirected to dev@example.com too - '/^admin@specialdomain.com$/' + '/^admin@mydomain.com$/', ), )); In the above example all email messages will be redirected to ``dev@example.com``, -except messages sent to the ``admin@specialdomain.com`` address or to any email -address belonging to the domain ``mydomain.com``, which will be delivered as normal. +except messages sent to the ``admin@mydomain.com`` address or to any email +address belonging to the domain ``specialdomain.com``, which will be delivered as normal. Viewing from the Web Debug Toolbar ----------------------------------