File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -800,6 +800,13 @@ provides access to the original message (``getOriginalMessage()``) and to some
800
800
debug information (``getDebug() ``) such as the HTTP calls done by the HTTP
801
801
transports, which is useful to debug errors.
802
802
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
+
803
810
.. note ::
804
811
805
812
If your code used :class: `Symfony\\ Component\\ Mailer\\ MailerInterface `, you
You can’t perform that action at this time.
0 commit comments