Skip to content

Commit 0fe6e7f

Browse files
patrick-mcdougleweaverryan
authored andcommitted
Added --env=prod because people are likely spooling their emails on production servers.
1 parent 526e9a2 commit 0fe6e7f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cookbook/email/spool.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,19 +67,19 @@ There is a console command to send the messages in the spool:
6767

6868
.. code-block:: bash
6969
70-
php app/console swiftmailer:spool:send
70+
php app/console swiftmailer:spool:send --env=prod
7171
7272
It has an option to limit the number of messages to be sent:
7373

7474
.. code-block:: bash
7575
76-
php app/console swiftmailer:spool:send --message-limit=10
76+
php app/console swiftmailer:spool:send --message-limit=10 --env=prod
7777
7878
You can also set the time limit in seconds:
7979

8080
.. code-block:: bash
8181
82-
php app/console swiftmailer:spool:send --time-limit=10
82+
php app/console swiftmailer:spool:send --time-limit=10 --env=prod
8383
8484
Of course you will not want to run this manually in reality. Instead, the
8585
console command should be triggered by a cron job or scheduled task and run

0 commit comments

Comments
 (0)