Skip to content

[Mailer] Add Sweego bridge #57431

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
Aug 19, 2024
Merged

[Mailer] Add Sweego bridge #57431

merged 1 commit into from
Aug 19, 2024

Conversation

welcoMattic
Copy link
Member

@welcoMattic welcoMattic commented Jun 17, 2024

Q A
Branch? 7.2
Bug fix? no
New feature? yes
Deprecations? no
Issues
License MIT
Doc PR symfony/symfony-docs#20136
Recipe PR symfony/recipes#1334

This PR adds a new Mailer bridge for 🇫🇷 French based service Sweego.
For now, it does not support attachments, neither webhooks. I'm in touch with @pydubreucq CTO at Sweego to improve this bridge once attachments, webhooks are available.

NB: Docs PR will land later this week

@welcoMattic welcoMattic requested a review from OskarStark June 17, 2024 18:06
@carsonbot carsonbot added this to the 7.2 milestone Jun 17, 2024
@welcoMattic welcoMattic force-pushed the mailer-sweego branch 5 times, most recently from 7de0928 to 9178bba Compare June 17, 2024 18:25
@fabpot
Copy link
Member

fabpot commented Jul 5, 2024

@welcoMattic Can we finish this PR without webhook support?
Another PR that would add more features like webhook support would be fine.

@OskarStark OskarStark changed the title [Mailer] Add Sweego Bridge [Mailer] Add Sweego bridge Jul 5, 2024
@welcoMattic
Copy link
Member Author

@welcoMattic Can we finish this PR without webhook support? Another PR that would add more features like webhook support would be fine.

Sorry for the delay. This PR is still WIP, I'm in touch with Sweego engineers to implement their webhooks. I plan to work on it during august.

@welcoMattic welcoMattic force-pushed the mailer-sweego branch 2 times, most recently from 778d938 to 4224669 Compare August 15, 2024 17:12
@welcoMattic
Copy link
Member Author

The bridge is ready for review!

However, I did not implement all webhooks since I need to discuss in detail with Sweego team (plus, they plan to add webhook signature. We will discuss the timing to be able or not to implement it for 7.2).

(CI failures seems unrelated)

@fabpot
Copy link
Member

fabpot commented Aug 19, 2024

Thank you @welcoMattic.

@fabpot fabpot merged commit 7a7b686 into symfony:7.2 Aug 19, 2024
4 of 10 checks passed
@fabpot
Copy link
Member

fabpot commented Aug 19, 2024

@welcoMattic Can you submit a PR on symfony/recipes to add support for this new mailer?

OskarStark added a commit to symfony/symfony-docs that referenced this pull request Aug 20, 2024
This PR was merged into the 7.2 branch.

Discussion
----------

feat(mailer): Add Sweego Mailer doc

This PR adds the necessary documentation for Sweego Mailer Bridge and Webhooks.

Code PR : symfony/symfony#57431

Commits
-------

bad2a21 feat(mailer): Add Sweego Mailer doc
fabpot added a commit that referenced this pull request Oct 18, 2024
This PR was merged into the 7.2 branch.

Discussion
----------

[Notifier] Add Sweego bridge

| Q             | A
| ------------- | ---
| Branch?       | 7.2
| Bug fix?      | no
| New feature?  | yes
| Deprecations? | no
| Issues        |
| License       | MIT

This PR folllows
* #57431

This Bridge brings Webhook support for `sent` event for now. Others will follow in the future.
`from` parameter is handled on Sweego side (AFAIK, it means one `from` per API Key. `@pydubreucq` can you confirm my words?).

Commits
-------

ba55f32 Add Sweego Notifier bridge
@fabpot fabpot mentioned this pull request Oct 27, 2024
fabpot added a commit that referenced this pull request Nov 18, 2024
… to them! (nicolas-grekas)

This PR was merged into the 7.2 branch.

Discussion
----------

[Mailer][Notifier] Sweego is backing their bridges, thanks to them!

| Q             | A
| ------------- | ---
| Branch?       | 7.2
| Bug fix?      | yes
| New feature?  | no
| Deprecations? | no
| Issues        | -
| License       | MIT

After sponsoring `@welcoMattic` for their bridges (see #58322 and #57431), Sweego doubles down and is now also sponsoring the bridges themselves.

Thanks to them! (and give Sweego a try ;) )

/cc `@Wasta`-Geek `@pydubreucq`

Commits
-------

600d49e [Mailer][Notifier] Sweego is backing their bridges, thanks to them!
fabpot added a commit that referenced this pull request Dec 6, 2024
… on Sweego bridges (welcoMattic)

This PR was merged into the 7.3 branch.

Discussion
----------

[Mailer][Notifier] Add webhooks signature verification on Sweego bridges

| Q             | A
| ------------- | ---
| Branch?       | 7.3
| Bug fix?      | no
| New feature?  | yes
| Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files -->
| Issues        | Fix #... <!-- prefix each issue number with "Fix #", no need to create an issue if none exists, explain below instead -->
| License       | MIT

This PR follows the 2 previous ones (#57431, and #58322). It brings webhook signature verification to improve security.

Sweego documentation about webhook is here https://learn.sweego.io/docs/webhooks/webhook_signature

Commits
-------

9c59199 Add webhooks signature verification on Sweego bridges
@welcoMattic welcoMattic deleted the mailer-sweego branch April 18, 2025 14:36
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.

6 participants