Skip to content

Update spool.rst #4852

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions cookbook/email/spool.rst
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ swiftmailer with the memory option, use the following configuration:

<!--
xmlns:swiftmailer="http://symfony.com/schema/dic/swiftmailer"
http://symfony.com/schema/dic/swiftmailer http://symfony.com/schema/dic/swiftmailer/swiftmailer-1.0.xsd
http://symfony.com/schema/dic/swiftmailer
http://symfony.com/schema/dic/swiftmailer/swiftmailer-1.0.xsd
-->

<swiftmailer:config>
Expand All @@ -49,7 +50,7 @@ swiftmailer with the memory option, use the following configuration:

// app/config/config.php
$container->loadFromExtension('swiftmailer', array(
...,
// ...
'spool' => array('type' => 'memory')
));

Expand All @@ -75,7 +76,8 @@ In order to use the spool with a file, use the following configuration:

<!--
xmlns:swiftmailer="http://symfony.com/schema/dic/swiftmailer"
http://symfony.com/schema/dic/swiftmailer http://symfony.com/schema/dic/swiftmailer/swiftmailer-1.0.xsd
http://symfony.com/schema/dic/swiftmailer
http://symfony.com/schema/dic/swiftmailer/swiftmailer-1.0.xsd
-->

<swiftmailer:config>
Expand All @@ -99,7 +101,7 @@ In order to use the spool with a file, use the following configuration:
.. tip::

If you want to store the spool somewhere with your project directory,
remember that you can use the `%kernel.root_dir%` parameter to reference
remember that you can use the ``%kernel.root_dir%`` parameter to reference
the project's root:

.. code-block:: yaml
Expand Down