Skip to content

Commit 82606fe

Browse files
94nonijaviereguiluz
authored andcommitted
[Mailer] add more info for debugging
1 parent 6192540 commit 82606fe

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
@@ -663,6 +663,12 @@ provides access to the original message (``getOriginalMessage()``) and to some
663663
debug information (``getDebug()``) such as the HTTP calls done by the HTTP
664664
transports, which is useful to debug errors.
665665

666+
.. note::
667+
668+
You will need to replace :class:`Symfony\\Component\\Mailer\\MailerInterface`
669+
with :class:`Symfony\\Component\\Mailer\\Transport\\TransportInterface` to have
670+
the message object returned.
671+
666672
.. note::
667673

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

0 commit comments

Comments
 (0)