Skip to content

Navigation Menu

Sign in
Appearance settings
Sign up
Appearance settings

Commit 53bf627

Browse filesBrowse the repository at this point in the historyBrowse files
minor #65614 [Mailer] Add some docs related to the Scaleway bridge (javiereguiluz)
This PR was merged into the 8.2 branch. Discussion ---------- [Mailer] Add some docs related to the Scaleway bridge | Q | A | ------------- | --- | Branch? | 8.2 | Bug fix? | no | New feature? | no | Deprecations? | no | Issues | - | License | MIT Moves some docs from symfony/symfony-docs#22730 Commits ------- 5dc5955 [Mailer] Add some docs related to the Scaleway bridge
2 parents 63dd02f + 5dc5955 commit 53bf627
Copy full SHA for 53bf627

1 file changed

+21Lines changed: 21 additions & 0 deletions

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • src/Symfony/Component/Mailer/Bridge/Scaleway
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎src/Symfony/Component/Mailer/Bridge/Scaleway/README.md‎

Copy file name to clipboardExpand all lines: src/Symfony/Component/Mailer/Bridge/Scaleway/README.md
+21Lines changed: 21 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,25 @@ where:
1717
- `PROJECT_ID` is your Scaleway project ID
1818
- `API_KEY` is your Scaleway API secret key
1919

20+
Webhook
21+
-------
22+
23+
Scaleway delivers email events through [Scaleway Topics and Events][topics-and-events],
24+
which signs each message instead of sharing a secret. That's why the `secret`
25+
option is not needed for this provider.
26+
27+
The bridge verifies the signature with the certificate referenced by the
28+
`SigningCertURL` field of the message, after checking that the Scaleway
29+
certificate authority bundled with the bridge issued it. Fetching the
30+
certificate requires the [HttpClient component][http-client]. In Symfony
31+
applications, the certificate is cached in the `cache.app` pool.
32+
33+
The first time Scaleway calls the endpoint, it sends a subscription confirmation
34+
message and the bridge confirms it automatically. That message contains no
35+
email event, so your application responds to it with an HTTP 406 status code.
36+
This is expected: the subscription is confirmed by the request the bridge makes
37+
to Scaleway, not by that response.
38+
2039
Sponsor
2140
-------
2241

@@ -34,3 +53,5 @@ Resources
3453

3554
[1]: https://symfony.com/backers
3655
[3]: https://symfony.com/sponsor
56+
[topics-and-events]: https://www.scaleway.com/en/docs/topics-and-events/reference-content/verifying-webhooks/
57+
[http-client]: https://symfony.com/http-client

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.