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 more information about sending email async#17065

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:6.2fromfabpot:mailer-async-impr
Jul 27, 2022

Conversation

@fabpot
Copy link
Member

@fabpotfabpot commentedJul 27, 2022
edited
Loading

The example only works as of 6.2 thanks tosymfony/symfony#47075

I've written this PR because we keep having issues likesymfony/symfony#44439.
So, documenting a bit more how it works internally might help people understand what to do.


Thanks to this, instead of being delivered immediately, messages will be sent to
the transport to be handled later (see:ref:`messenger-worker`).
..versionadded::6.2
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Imho this should be a warning, otherwise it gets removed in Symfony 7 docs

Copy link
MemberAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Having this removed in 7.0 is a good thing.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Done then

fabpot added a commit to symfony/symfony that referenced this pull requestJul 27, 2022
…e (fabpot)This PR was merged into the 6.2 branch.Discussion----------[Mime] Change the way we avoid rendering an email twice| Q             | A| ------------- | ---| Branch?       | 6.2| Bug fix?      | yes-ish| New feature?  | yes-ish <!-- please update src/**/CHANGELOG.md files -->| Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files -->| Tickets       | n/a <!-- prefix each issue number with "Fix #", no need to create an issue if none exist, explain below instead -->| License       | MIT| Doc PR        |symfony/symfony-docs#17065Trying to kill several birds with one stone here.I was not very happy with the way we ensured that emails were not renderer more than once.This solution seems easier and allows for people to render an email **before** sending it to Messenger (important when you have Doctrine entities in the context for instance) as documented in the related doc PR.Commits-------cc3b871 [Mime] Change the way we avoid rendering an email twice
@fabpot
Copy link
MemberAuthor

Related PR has been merged now.

@carsonbotcarsonbot changed the titleAdd more information about sending email async[Mailer] Add more information about sending email asyncJul 27, 2022
@javiereguiluz
Copy link
Member

Thank you Fabien.

@javiereguiluzjaviereguiluz merged commitb15763c intosymfony:6.2Jul 27, 2022
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@OskarStarkOskarStarkOskarStark approved these changes

Assignees

No one assigned

Projects

None yet

Milestone

6.2

Development

Successfully merging this pull request may close these issues.

4 participants

@fabpot@javiereguiluz@OskarStark@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp