Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions mailer.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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) <messenger-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
~~~~~~~~~~~~~~~

Expand Down