From c99c70ddd509d64f9b5da980876c0b1996d1b8bf Mon Sep 17 00:00:00 2001 From: Christophe Coevoet Date: Tue, 12 Aug 2014 15:19:12 +0200 Subject: [PATCH] Added a note about the automatic handling of the memory spool in the CLI --- cookbook/console/sending_emails.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cookbook/console/sending_emails.rst b/cookbook/console/sending_emails.rst index 633ef0e8849..898008e4f8b 100644 --- a/cookbook/console/sending_emails.rst +++ b/cookbook/console/sending_emails.rst @@ -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.