From 85cae7b05d1ea52caa2fa02a3454433a6c174c5d Mon Sep 17 00:00:00 2001 From: Darcy Ye Date: Tue, 29 Oct 2024 14:32:10 +0800 Subject: [PATCH] chore: add tips for HTTP email connector --- packages/connectors/connector-http-email/README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/packages/connectors/connector-http-email/README.md b/packages/connectors/connector-http-email/README.md index 8874e91c6fd..2cc9481fc85 100644 --- a/packages/connectors/connector-http-email/README.md +++ b/packages/connectors/connector-http-email/README.md @@ -10,6 +10,12 @@ The HTTP email connector allows you to send emails via HTTP call. To use the HTT To use the HTTP email connector, you need to set up an HTTP endpoint that Logto can call. And an optional authorization token for the endpoint. +> 💡 **Tip** +> +> Note that to prevent errors in authentication flow, the configured `endpoint` must return a 2xx response after receiving the webhook to inform Logto that it has received the notification to send the email. +> +> Meanwhile, in this scenario, you need to monitor email service to ensure successful email delivery. Alternatively, you can add monitoring to your email sending API to promptly detect email delivery failures. + ## Payload The HTTP email connector will send the following payload to the endpoint when it needs to send an email: