8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 534c983 commit 9c2d1d9Copy full SHA for 9c2d1d9
mailer.rst
@@ -834,6 +834,13 @@ The exceptions related to mailer transports (those which implement
834
:class:`Symfony\\Component\\Mailer\\Exception\\TransportException`) also provide
835
this debug information via the ``getDebug()`` method.
836
837
+But you have to keep in mind that using :class:`Symfony\\Component\\Mailer\\Transport\\TransportInterface`
838
+you can't rely on asynchronous sending emails.
839
+It doesn't use a bus to dispatch :class:`Symfony\\Component\\Mailer\\Messenger\\SendEmailMessage`.
840
+
841
+Use :class:`Symfony\\Component\\Mailer\\MailerInterface` if you want to have an opportunity
842
+to send emails asynchronously.
843
844
.. _mailer-twig:
845
846
Twig: HTML & CSS
0 commit comments