Skip to content

Commit 7a82890

Browse files
committed
Merge branch '5.4' into 6.2
* 5.4: [Mailer] add more info for debugging
2 parents 01d4026 + 2b8bbfe commit 7a82890

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

mailer.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -641,6 +641,12 @@ provides access to the original message (``getOriginalMessage()``) and to some
641641
debug information (``getDebug()``) such as the HTTP calls done by the HTTP
642642
transports, which is useful to debug errors.
643643

644+
.. note::
645+
646+
If your code used :class:`Symfony\\Component\\Mailer\\MailerInterface`, you
647+
need to replace it by :class:`Symfony\\Component\\Mailer\\Transport\\TransportInterface`
648+
to have the ``SentMessage`` object returned.
649+
644650
.. note::
645651

646652
Some mailer providers change the ``Message-Id`` when sending the email. The

0 commit comments

Comments
 (0)