Skip to content

Swiftmailer spool collector #84

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

Closed
wants to merge 2 commits into from
Closed

Swiftmailer spool collector #84

wants to merge 2 commits into from

Conversation

dator-zz
Copy link

This commit add a DataCollector for Swiftmailer spool with the number of messages in the spool.

I choose an icon in iconfinder.com, if you have a better one :)

@stof
Copy link
Member

stof commented Feb 23, 2011

A great thing would be to have a DataCollector showing the email sent as it would be easier to debug the mailing.

Your implementation is not good as it does not collect the data about the current request. The spooled messages can concern another request.

@dator-zz
Copy link
Author

Mmm ok I see, so you are saying that showing spooled messages is not required but you prefer to have the webprofiler showing the current email sent ?

@stof
Copy link
Member

stof commented Feb 23, 2011

Yes. The profiler is about collecting data on the current request: http://docs.symfony-reloaded.org/master/guides/internals/profiler.html so a Swiftmailer DataCollector should respect this design.

But showing the email sent can be more difficult. I don't know if Swiftmailer provide an extension point to log the email sent (which would allow to collect them by logging in an array just like Doctrine and the Logger do for the profiler).

@fabpot
Copy link
Member

fabpot commented Feb 23, 2011

@stof: We have such an implementation in symfony1, so it is definitely possible.
@dator: Have a look at the symfony1 code for inspiration.

@fabpot
Copy link
Member

fabpot commented Mar 16, 2011

I'm closing this PR as the current implementation cannot be merged as is.

SofHad pushed a commit to SofHad/symfony that referenced this pull request Oct 12, 2015
…ndre)

This PR was merged into the master branch.

Discussion
----------

Added Brazilian Portuguese translations

Hi!

Here is a complete Brazilian Portuguese translation

Commits
-------

233ade0 Added Brazilian Portuguese translations
jderusse pushed a commit to jderusse/symfony that referenced this pull request Mar 30, 2020
…sories#12-yaml-syntax-fixes

Correcting YAML syntax for branch names
derrabus pushed a commit to derrabus/symfony that referenced this pull request Jul 25, 2023
derrabus pushed a commit to derrabus/symfony that referenced this pull request Jul 25, 2023
…ersion (iluuu1994)

This PR was merged into the 2.0-dev branch.

Discussion
----------

Fix BinaryFileResponse with range to psr response conversion

Closes symfony#84

As requested by [Fabien](symfony#38280 (comment)).

I think using the slightly less optimal version of checking for a `Content-Range` header is better than relying on reflection. In theory, this could be slightly sub optimal when streaming whole files and setting the `Content-Range` manually but I'm assuming that's very rare in practice.

Commits
-------

5d5932d Fix BinaryFileResponse with range to psr response conversion
stobrien89 pushed a commit to stobrien89/symfony that referenced this pull request Feb 27, 2025
Increase minimum version minor version of PHPUnit version 5
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants