Skip to content

Commit b3c6575

Browse files
authored
Update mailer.rst
Added a Tip to clarify that no async emails will be sent unless consumed by a worker.
1 parent f7708fd commit b3c6575

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

mailer.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -311,6 +311,13 @@ and create an :class:`Symfony\\Component\\Mime\\Email` object::
311311

312312
That's it! The message will be sent via the transport you configured.
313313

314+
.. tip::
315+
316+
If the transport is configured to send emails asynchronously, then no email will
317+
be sent until a worker consumes it. To send queued emails run console commands as
318+
specified in :doc:`Consuming Messages (Running the Worker) <messenger-worker>`.
319+
Also ensure the PHP timezone in php.ini is set correctly for your region.
320+
314321
Email Addresses
315322
~~~~~~~~~~~~~~~
316323

0 commit comments

Comments
 (0)