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
7 changes: 7 additions & 0 deletions mailer.rst
Original file line number Diff line number Diff line change
Expand Up @@ -834,6 +834,13 @@ The exceptions related to mailer transports (those which implement
:class:`Symfony\\Component\\Mailer\\Exception\\TransportException`) also provide
this debug information via the ``getDebug()`` method.

But you have to keep in mind that using :class:`Symfony\\Component\\Mailer\\Transport\\TransportInterface`
you can't rely on asynchronous sending emails.
It doesn't use a bus to dispatch :class:`Symfony\\Component\\Mailer\\Messenger\\SendEmailMessage`.

Use :class:`Symfony\\Component\\Mailer\\MailerInterface` if you want to have an opportunity
to send emails asynchronously.

.. _mailer-twig:

Twig: HTML & CSS
Expand Down
Loading