Skip to content

Commit

Permalink
minor #4117 Added a note about the automatic handling of the memory s…
Browse files Browse the repository at this point in the history
…pool in the CLI (stof)

This PR was merged into the 2.3 branch.

Discussion
----------

Added a note about the automatic handling of the memory spool in the CLI

| Q             | A
| ------------- | ---
| Doc fix?      | yes
| New docs?     | no
| Applies to    | 2.3+
| Fixed tickets | n/a

since symfony/swiftmailer-bundle#64 flushing the memory spool manually is not necessary anymore when using Symfony 2.3+. I added a versionadded note here, but we might decide to remove the obsolete paragraph instead, making the cookbook only about generating urls (which would require renaming the page then)

Commits
-------

c99c70d Added a note about the automatic handling of the memory spool in the CLI
  • Loading branch information
weaverryan committed Aug 13, 2014
2 parents 5959b6c + c99c70d commit 7806aa7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cookbook/console/sending_emails.rst
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,10 @@ from the ``router`` service and override its settings::
Using Memory Spooling
---------------------

.. versionadded: 2.3
When using Symfony 2.3+ and SwiftmailerBundle 2.3.5+, the memory spool is now
handled automatically in the CLI and the code below is not necessary anymore.
Sending emails in a console command works the same way as described in the
:doc:`/cookbook/email/email` cookbook except if memory spooling is used.

Expand Down

0 comments on commit 7806aa7

Please sign in to comment.