-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[Mailer] Add Resend bridge #53554
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
[Mailer] Add Resend bridge #53554
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
b08c198
to
8beb4dc
Compare
OskarStark
reviewed
Jan 16, 2024
src/Symfony/Component/Mailer/Bridge/Resend/Tests/ResendApiTransportTest.php
Outdated
Show resolved
Hide resolved
src/Symfony/Component/Mailer/Bridge/Resend/Tests/ResendApiTransportTest.php
Outdated
Show resolved
Hide resolved
src/Symfony/Component/Mailer/Bridge/Resend/Transport/ResendApiTransport.php
Outdated
Show resolved
Hide resolved
src/Symfony/Component/Mailer/Bridge/Resend/Transport/ResendApiTransport.php
Outdated
Show resolved
Hide resolved
src/Symfony/Component/Mailer/Bridge/Resend/Webhook/ResendRequestParser.php
Outdated
Show resolved
Hide resolved
Please add a PR to |
8beb4dc
to
12aaf09
Compare
12aaf09
to
34134c5
Compare
34134c5
to
df72253
Compare
OskarStark
approved these changes
Jan 17, 2024
fabpot
approved these changes
Jan 18, 2024
Thank you @welcoMattic. |
fabpot
added a commit
that referenced
this pull request
Apr 17, 2024
…ation (welcoMattic) This PR was squashed before being merged into the 7.1 branch. Discussion ---------- [Mailer] [Resend] Add Resend webhook signature verification | Q | A | ------------- | --- | Branch? | 7.1 | Bug fix? | no | New feature? | yes | Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files --> | Issues | Fix #53554 <!-- prefix each issue number with "Fix #", no need to create an issue if none exists, explain below instead --> | License | MIT Follow up of #53554. At this time I missed webhook signature verification. To complete the Bridge before 7.1 release, here it is! I plan to add more webhook payloads in test, I asked Resend to send me example, because some are tough to reproduce. Commits ------- 8daa804 [Mailer] [Resend] Add Resend webhook signature verification
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR adds a new Mailer bridge for Resend.
In addition, it handles the webhooks sent by Resend for various events (sent, delivered, delivery_delayed, bounced, clicked, opened, complained).
The bridge and webhooks has been tested in a real 7.1 project (I can provide the reproducer if anyone want to test it).
Thanks to @zenorocha and all the Resend team for this tool!
NB: Docs PR will land later this week