Skip to content

[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 1 commit into from
Jan 18, 2024
Merged

[Mailer] Add Resend bridge #53554

merged 1 commit into from
Jan 18, 2024

Conversation

welcoMattic
Copy link
Member

@welcoMattic welcoMattic commented Jan 16, 2024

Q A
Branch? 7.1
Bug fix? no
New feature? yes
Deprecations? no
Issues
License MIT
Doc PR symfony/symfony-docs#19432
Recipe symfony/recipes#1283

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

@carsonbot carsonbot added this to the 7.1 milestone Jan 16, 2024
@welcoMattic welcoMattic force-pushed the mailer-resend branch 2 times, most recently from b08c198 to 8beb4dc Compare January 16, 2024 17:46
@OskarStark OskarStark changed the title [Mailer] Add Resend Mailer bridge [Mailer] Add Resend bridge Jan 16, 2024
@OskarStark
Copy link
Contributor

Please add a PR to symfony/recipes, thanks

@fabpot
Copy link
Member

fabpot commented Jan 18, 2024

Thank you @welcoMattic.

@fabpot fabpot merged commit be2ba3f into symfony:7.1 Jan 18, 2024
@welcoMattic welcoMattic deleted the mailer-resend branch February 25, 2024 22:15
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
@fabpot fabpot mentioned this pull request May 2, 2024
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.

4 participants