diff --git a/mailer.rst b/mailer.rst index e109c581adc..cca774a7bf5 100644 --- a/mailer.rst +++ b/mailer.rst @@ -368,6 +368,17 @@ and create an :class:`Symfony\\Component\\Mime\\Email` object:: That's it! The message will be sent via the transport you configured. +.. tip:: + + If the transport is configured to send emails asynchronously, then no email will + be sent until a worker consumes it. To send queued emails, run console commands as + specified in :doc:`Consuming Messages (Running the Worker) `. + Also ensure the PHP timezone in php.ini is set correctly for your region for both + the CLI php.ini and webserver php.ini, this ensures the timestamp that the worker + sees aligns to the timestamp recorded on the email in the message queue. (Sometimes + the CLI and webserver will read different php.ini files, depending on environment + setup). + Email Addresses ~~~~~~~~~~~~~~~