8000 [Mailer] Allow manually stop() of SmtpTransport by dvaeversted · Pull Request #45307 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[Mailer] Allow manually stop() of SmtpTransport #45307

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
Feb 4, 2022

Conversation

dvaeversted
Copy link
Contributor
@dvaeversted dvaeversted commented Feb 4, 2022
Q A
Branch? 6.1
Bug fix? no
New feature? yes
Deprecations? no
Tickets Fix #43237
License MIT
Doc PR

Mark the stop() method on SmtpTransport as public, to allow greater control in long running jobs and similar.

@dvaeversted dvaeversted changed the title [Mailer] Allow manually start()/stop() of SmtpTransport [Mailer] Allow manually stop() of SmtpTransport Feb 4, 2022
@fabpot
Copy link
Member
fabpot commented Feb 4, 2022

Thank you @dvaeversted.

@dvaeversted
Copy link
Contributor Author

What is the chance of getting this merged into the 5.4 branch as well ?

https://symfony.com/blog/the-end-of-swiftmailer

According to this, Swiftmailer was disconitnued as 5.4 was released, which now puts users of the LTS releases in a limbo state if this feature is a requirement to successfully get rid of the Swiftmailer dependency.

@fabpot fabpot mentioned this pull request Apr 15, 2022
javiereguiluz added a commit to javiereguiluz/symfony-docs that referenced this pull request Aug 3, 2022
…ort (94noni)

This PR was merged into the 6.1 branch.

Discussion
----------

[Mailer] Document the stop() method of SmtpTransport

Ref symfony#16473
Also see the comment symfony/symfony#45307 (comment)
The text is heavily inspired by the code comment

Commits
-------

18006fb [Mailer] Document the stop() method of SmtpTransport
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.

Ability to start & stop SMTP connection when needed
3 participants
0