-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[Mailer][FrameworkBundle] Add a way to use a custom transport #31931
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
kevin-verschaeve
wants to merge
2
commits into
symfony:4.4
from
kevin-verschaeve:mailer/custom-transport
Closed
[Mailer][FrameworkBundle] Add a way to use a custom transport #31931
kevin-verschaeve
wants to merge
2
commits into
symfony:4.4
from
kevin-verschaeve:mailer/custom-transport
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
653bc72
to
dc59b0e
Compare
please rebase for 4.4 |
dc59b0e
to
dd07ad3
Compare
Branch changed to 4.4 |
dd07ad3
to
541dcbd
Compare
ajgarlag
reviewed
Jun 7, 2019
3 tasks
ajgarlag
reviewed
Jun 10, 2019
d4b1405
to
2eff65d
Compare
2eff65d
to
b91e330
Compare
This implementation would only allow one custom DSN, but we want third-parties to be able to provide their own DSN, so we need multiple possible custom DSNs. |
fabpot
added a commit
that referenced
this pull request
Jul 17, 2019
…stom transports (Koc) This PR was merged into the 4.4 branch. Discussion ---------- [Mailer] Extract transport factory and allow create custom transports | Q | A | ------------- | --- | Branch? | 4.4 | Bug fix? | no | New feature? | yes | BC breaks? | no | Deprecations? | no | Tests pass? | yes, failure unrelated (master hasn't this PR) | Fixed tickets | #31385, #32523 | License | MIT | Doc PR | TBD Alternative approach to allow create custom transports and register DSN for it. Replaces #31931, #31935 . Similar to already existent TansportFactory from Messenger. TODO: - [x] Update changelog - [x] Add more tests for factories - [x] Add test for configuration + DI extension Commits ------- 5b9cded Add transport factories (closes #31385, closes #32523)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Add a "custom" provider, to allow using a custom transport class.
MAILER_DSN=http://user:pass@custom
can fix #31385