Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Allow custom transports for mailer component#31935

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

Closed

Conversation

@ajgarlag
Copy link
Contributor

QA
Branch?4.4
Bug fix?no
New feature?yes
BC breaks?no
Deprecations?no
Tests pass?yes
Fixed tickets#31385
LicenseMIT
Doc PRTBD symfony/symfony-docs#...

This PR allows to define a custom transport for mailer component.
To enable it, set theframework.mailer.dsn key tonull and the newframework.mailer.transport_id key to the transport service id you want to inject into the default mailer instance.

@kevin-verschaeve
Copy link
Contributor

I have done the same a few hours ago in#31931 :/

(but not really the same way)

@ajgarlag
Copy link
ContributorAuthor

@kevin-verschaeve Sorry, did not see your PR. I'll review it.

@fabpot
Copy link
Member

Thanks for the PR. I think I prefer something that allows third party to implement a mailer provider with the same "feel" as built-in ones (with a proper DSN). That's what#31946 implements.

@fabpotfabpot closed thisJul 8, 2019
fabpot added a commit that referenced this pull requestJul 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        | 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)
@nicolas-grekasnicolas-grekas modified the milestones:next,4.4Oct 27, 2019
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Projects

None yet

Milestone

4.4

Development

Successfully merging this pull request may close these issues.

5 participants

@ajgarlag@kevin-verschaeve@fabpot@nicolas-grekas@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp