Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
[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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
[Mailer][FrameworkBundle] Add a way to use a custom transport#31931
Uh oh!
There was an error while loading.Please reload this page.
Conversation
653bc72 todc59b0eComparenicolas-grekas commentedJun 7, 2019
please rebase for 4.4 |
dc59b0e todd07ad3Comparekevin-verschaeve commentedJun 7, 2019
Branch changed to 4.4 |
dd07ad3 to541dcbdCompareUh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
d4b1405 to2eff65dCompare2eff65d tob91e330Comparefabpot commentedJun 29, 2019
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. |
…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 | TBDAlternative 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 extensionCommits-------5b9cded Add transport factories (closes#31385,closes#32523)
Uh oh!
There was an error while loading.Please reload this page.
Add a "custom" provider, to allow using a custom transport class.
MAILER_DSN=http://user:pass@customcanfix#31385