-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
[Mailer] add more info for debugging #17950
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
mailer.rst
Outdated
@@ -641,6 +641,12 @@ provides access to the original message (``getOriginalMessage()``) and to some | |||
debug information (``getDebug()``) such as the HTTP calls done by the HTTP | |||
transports, which is useful to debug errors. | |||
|
|||
.. note:: | |||
|
|||
You will need to replace the typehint :class:`Symfony\\Component\\Mailer\\MailerInterface` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You will need to replace the typehint :class:`Symfony\\Component\\Mailer\\MailerInterface` | |
You will need to replace :class:`Symfony\\Component\\Mailer\\MailerInterface` |
mailer.rst
Outdated
.. note:: | ||
|
||
You will need to replace the typehint :class:`Symfony\\Component\\Mailer\\MailerInterface` | ||
:class:`Symfony\\Component\\Mailer\\Transport\\TransportInterface` to have |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
:class:`Symfony\\Component\\Mailer\\Transport\\TransportInterface` to have | |
with :class:`Symfony\\Component\\Mailer\\Transport\\TransportInterface` to have |
Open to finish this PR? |
@OskarStark thx for reviewing, here you are PR updated :) |
This is already the case in 5.4 branch, isn't it? |
Thanks Antoine! We merged this in 5.4 branch and up. |
Hi
I did not understand this section of getDebug until I navigate the code and see the swap to do with
MailerInterface
$a = $this->mailer->send($email); // $a is null
TransportInterface
$a = $this->mailer->send($email); // $a is SentMessage