8000 Mentioned the mailer debugging options by javiereguiluz · Pull Request #12341 · symfony/symfony-docs · GitHub
[go: up one dir, main page]

Skip to content

Mentioned the mailer debugging options #12341

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

Merged
merged 1 commit into from
Sep 25, 2019

Conversation

javiereguiluz
Copy link
Member

Fixes #11985 and #12082.

@fabpot I'm having some problems trying to understand this feature. It's related to SentMessage class ... but we don't even mention that class in the docs. In the basic mailer example (https://symfony.com/doc/current/mailer.html#creating-sending-messages) the send() method doesn't return anything. How can developers access to this SentMessage objects? Thanks!

@wouterj
Copy link
Member
wouterj commented Sep 23, 2019

As far as I can see, it should be returned: https://github.com/fabpot/symfony/blob/fded3cd68cf4422d427a15a503f2fe21428c29d5/src/Symfony/Component/Mailer/Transport/AbstractTransport.php#L57 The only case when it isn't returned is when it's done asychronously I think.

@javiereguiluz
Copy link
Member Author

Thanks for your reviews!

javiereguiluz added a commit that referenced this pull request Sep 25, 2019
This PR was merged into the 4.4 branch.

Discussion
----------

Mentioned the mailer debugging options

Fixes #11985 and #12082.

@fabpot I'm having some problems trying to understand this feature. It's related to `SentMessage` class ... but we don't even mention that class in the docs. In the basic mailer example (https://symfony.com/doc/current/mailer.html#creating-sending-messages) the `send()` method doesn't return anything. How can developers access to this `SentMessage` objects? Thanks!

Commits
-------

58716c6 Mentioned the mailer debugging options
@javiereguiluz javiereguiluz merged commit 58716c6 into symfony:4.4 Sep 25, 2019
@javiereguiluz javiereguiluz deleted the mailer_debug branch September 25, 2019 15:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants
0