Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 62c0654

Browse filesBrowse files
authored
[Debugging Emails] Note about async transport
1 parent 73c6418 commit 62c0654
Copy full SHA for 62c0654

File tree

Expand file treeCollapse file tree

1 file changed

+7
-7
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+7
-7
lines changed

‎mailer.rst

Copy file name to clipboardExpand all lines: mailer.rst
+7-7Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -800,13 +800,6 @@ provides access to the original message (``getOriginalMessage()``) and to some
800800
debug information (``getDebug()``) such as the HTTP calls done by the HTTP
801801
transports, which is useful to debug errors.
802802

803-
But you have to keep in mind that using :class:`Symfony\\Component\\Mailer\\Transport\\TransportInterface`
804-
you can't rely on asynchronous sending emails.
805-
It doesn't use a bus to dispatch :class:`Symfony\\Component\\Mailer\\Messenger\\SendEmailMessage`.
806-
807-
Use :class:`Symfony\\Component\\Mailer\\MailerInterface` if you want to have an opportunity
808-
to send emails asynchronously.
809-
810803
.. note::
811804

812805
If your code used :class:`Symfony\\Component\\Mailer\\MailerInterface`, you
@@ -824,6 +817,13 @@ The exceptions related to mailer transports (those which implement
824817
:class:`Symfony\\Component\\Mailer\\Exception\\TransportException`) also provide
825818
this debug information via the ``getDebug()`` method.
826819

820+
But you have to keep in mind that using :class:`Symfony\\Component\\Mailer\\Transport\\TransportInterface`
821+
you can't rely on asynchronous sending emails.
822+
It doesn't use a bus to dispatch :class:`Symfony\\Component\\Mailer\\Messenger\\SendEmailMessage`.
823+
824+
Use :class:`Symfony\\Component\\Mailer\\MailerInterface` if you want to have an opportunity
825+
to send emails asynchronously.
826+
827827
.. _mailer-twig:
828828

829829
Twig: HTML & CSS

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.