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

[Mailer] Add custom transport factories#16373

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

Merged
javiereguiluz merged 1 commit intosymfony:5.4fromAlbertMorenoDEV:4.4
Jan 18, 2024

Conversation

@AlbertMorenoDEV
Copy link
Contributor

@AlbertMorenoDEVAlbertMorenoDEV commentedJan 5, 2022
edited
Loading

This might be useful for very custom use cases where we need to extract some data or do something before being able to create the actual transport.

The feature apparently was added here:symfony/symfony#31946

@carsonbotcarsonbot added this to the4.4 milestoneJan 5, 2022
@AlbertMorenoDEVAlbertMorenoDEV changed the titleAdd Custom Transport FactoriesAdd custom transport factories to Mailer documentationJan 5, 2022
@AlbertMorenoDEVAlbertMorenoDEV changed the titleAdd custom transport factories to Mailer documentation[Mailer] Add custom transport factoriesJan 7, 2022
@ilohpro
Copy link

Hi,
Is it possible to show how to use custom transport factory by loading the dsn from a property of the current user requesting Symfony ?
This should also be very usefull .
Thank you

@AlbertMorenoDEV
Copy link
ContributorAuthor

Hello,

Does a transport gets created in every request? Just wondering because not sure how good would be doing that 🤔

Could you elaborate on a specific example?

Cheers

@javiereguiluzjaviereguiluz changed the base branch from4.4 to5.4January 18, 2024 12:42
@javiereguiluzjaviereguiluz merged commitdcc3404 intosymfony:5.4Jan 18, 2024
@javiereguiluz
Copy link
Member

Albert, we finally merged your contribution. Sorry it took us so long. Also, congrats on your first Symfony Docs contribution 🎉

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

5.4

Development

Successfully merging this pull request may close these issues.

4 participants

@AlbertMorenoDEV@ilohpro@javiereguiluz@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp