diff --git a/cookbook/email/dev_environment.rst b/cookbook/email/dev_environment.rst index d5dbabba918..7aa9de1e257 100644 --- a/cookbook/email/dev_environment.rst +++ b/cookbook/email/dev_environment.rst @@ -33,14 +33,15 @@ will not be sent when you run tests, but will continue to be sent in the .. code-block:: xml - - + xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd + http://symfony.com/schema/dic/swiftmailer http://symfony.com/schema/dic/swiftmailer/swiftmailer-1.0.xsd"> - + + .. code-block:: php @@ -70,13 +71,15 @@ via the ``delivery_address`` option: .. code-block:: xml - - + xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd + http://symfony.com/schema/dic/swiftmailer http://symfony.com/schema/dic/swiftmailer/swiftmailer-1.0.xsd"> - + + .. code-block:: php @@ -151,16 +154,21 @@ by adding the ``delivery_whitelist`` option: + + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xmlns:swiftmailer="http://symfony.com/schema/dic/swiftmailer" + xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd + http://symfony.com/schema/dic/swiftmailer http://symfony.com/schema/dic/swiftmailer/swiftmailer-1.0.xsd"> - - - /@specialdomain.com$/ + + + /@specialdomain.com$/ - - /^admin@mydomain.com$/ - + + /^admin@mydomain.com$/ + + .. code-block:: php diff --git a/cookbook/email/email.rst b/cookbook/email/email.rst index 5db319c538a..3aa93822148 100644 --- a/cookbook/email/email.rst +++ b/cookbook/email/email.rst @@ -41,17 +41,20 @@ already included: .. code-block:: xml - - - - + xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd + http://symfony.com/schema/dic/swiftmailer http://symfony.com/schema/dic/swiftmailer/swiftmailer-1.0.xsd"> + + + .. code-block:: php diff --git a/cookbook/email/spool.rst b/cookbook/email/spool.rst index db40c23ba44..3747f421f81 100644 --- a/cookbook/email/spool.rst +++ b/cookbook/email/spool.rst @@ -35,16 +35,17 @@ swiftmailer with the memory option, use the following configuration: .. code-block:: xml - - + xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd + http://symfony.com/schema/dic/swiftmailer http://symfony.com/schema/dic/swiftmailer/swiftmailer-1.0.xsd"> - - - + + + + .. code-block:: php @@ -73,18 +74,20 @@ In order to use the spool with a file, use the following configuration: .. code-block:: xml - - - - - - + xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd + http://symfony.com/schema/dic/swiftmailer http://symfony.com/schema/dic/swiftmailer/swiftmailer-1.0.xsd"> + + + + + .. code-block:: php