Skip to content

[Mailer] add new events #17181

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

Merged
merged 1 commit into from
Sep 20, 2022

Conversation

mdoutreluingne
Copy link
Contributor

Fixes #17071

mailer.rst Outdated

.. versionadded:: 6.2

``SentMessageEvent`` and ``FailedMessageEvent`` was introduced in Symfony 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.

were introduced

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

mailer.rst Outdated
SentMessageEvent
~~~~~~~~~~~~

``SentMessageEvent`` it allows acting on the :class:`Symfony\\Component\\Mailer\\SentMessage`::
Copy link
Contributor

Choose a reason for hiding this comment

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

Perhaps document like this?
https://symfony.com/doc/current/reference/events.html#kernel-request

When and why and what can be done in it

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good idea !
Personally I like it when it's uniform (it's simpler and nicer to read). So I standardized like https://symfony.com/doc/current/reference/events.html#kernel-request

I have detailed this event. Thanks for your review

@javiereguiluz javiereguiluz merged commit 7b0b500 into symfony:6.2 Sep 20, 2022
@javiereguiluz
Copy link
Member

Nice contribution! Thanks Maxime ... and thanks to reviewers too!

@mdoutreluingne mdoutreluingne deleted the mailer/add-new-events branch September 20, 2022 18:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Mailer] Add new events
4 participants