Skip to content
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

[Mailer] Add Resend bridge recipe #1283

Merged
merged 1 commit into from
Jan 18, 2024
Merged

[Mailer] Add Resend bridge recipe #1283

merged 1 commit into from
Jan 18, 2024

Conversation

welcoMattic
Copy link
Member

@welcoMattic welcoMattic commented Jan 16, 2024

Q A
License MIT
Doc issue/PR symfony/symfony-docs#19432

Related to symfony/symfony#53554

Copy link

github-actions bot commented Jan 16, 2024

Thanks for the PR 😍

How to test these changes in your application

  1. Define the SYMFONY_ENDPOINT environment variable:

    # On Unix-like (BSD, Linux and macOS)
    export SYMFONY_ENDPOINT=https://raw.githubusercontent.com/symfony/recipes/flex/pull-1283/index.json
    # On Windows
    SET SYMFONY_ENDPOINT=https://raw.githubusercontent.com/symfony/recipes/flex/pull-1283/index.json
  2. Install the package(s) related to this recipe:

    composer req 'symfony/flex:^1.16'
    composer req 'symfony/resend-mailer:^7.1'
  3. Don't forget to unset the SYMFONY_ENDPOINT environment variable when done:

    # On Unix-like (BSD, Linux and macOS)
    unset SYMFONY_ENDPOINT
    # On Windows
    SET SYMFONY_ENDPOINT=

Diff between recipe versions

In order to help with the review stage, I'm in charge of computing the diff between the various versions of patched recipes.
I'm going keep this comment up to date with any updates of the attached patch.

fabpot added a commit to symfony/symfony that referenced this pull request Jan 18, 2024
This PR was merged into the 7.1 branch.

Discussion
----------

[Mailer] Add Resend bridge

| Q             | A
| ------------- | ---
| Branch?       | 7.1
| Bug fix?      | no
| New feature?  | yes
| Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files -->
| Issues        |
| License       | MIT
| Doc PR        | symfony/symfony-docs#19432
| Recipe        | symfony/recipes#1283

This PR adds a new Mailer bridge for [Resend](https://resend.com/).
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

Commits
-------

df72253 Add Resend Mailer bridge
symfony-splitter pushed a commit to symfony/framework-bundle that referenced this pull request Jan 18, 2024
This PR was merged into the 7.1 branch.

Discussion
----------

[Mailer] Add Resend bridge

| Q             | A
| ------------- | ---
| Branch?       | 7.1
| Bug fix?      | no
| New feature?  | yes
| Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files -->
| Issues        |
| License       | MIT
| Doc PR        | symfony/symfony-docs#19432
| Recipe        | symfony/recipes#1283

This PR adds a new Mailer bridge for [Resend](https://resend.com/).
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

Commits
-------

df72253350 Add Resend Mailer bridge
@fabpot fabpot disabled auto-merge January 18, 2024 07:50
@fabpot fabpot merged commit 1f1a1df into main Jan 18, 2024
1 of 2 checks passed
@fabpot fabpot deleted the mailer-resend branch January 18, 2024 07:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants