From 82ec06e09fc6b4966276cfecf9075bc7bbe1d52a Mon Sep 17 00:00:00 2001 From: Alexandre Daubois Date: Tue, 12 Dec 2023 11:41:24 +0100 Subject: [PATCH] [Webhook] Add missing webhook parsers --- mailer.rst | 4 ++-- webhook.rst | 27 +++++++++++++++++---------- 2 files changed, 19 insertions(+), 12 deletions(-) diff --git a/mailer.rst b/mailer.rst index 3604d423f83..7fe2089d526 100644 --- a/mailer.rst +++ b/mailer.rst @@ -105,10 +105,10 @@ via a third-party provider: Service Install with Webhook support ===================== =============================================== =============== `Amazon SES`_ ``composer require symfony/amazon-mailer`` -`Brevo`_ ``composer require symfony/brevo-mailer`` +`Brevo`_ ``composer require symfony/brevo-mailer`` yes `Infobip`_ ``composer require symfony/infobip-mailer`` `Mailgun`_ ``composer require symfony/mailgun-mailer`` yes -`Mailjet`_ ``composer require symfony/mailjet-mailer`` +`Mailjet`_ ``composer require symfony/mailjet-mailer`` yes `MailPace`_ ``composer require symfony/mail-pace-mailer`` `MailerSend`_ ``composer require symfony/mailer-send-mailer`` `Mandrill`_ ``composer require symfony/mailchimp-mailer`` diff --git a/webhook.rst b/webhook.rst index f9bde7451a9..19122db3b13 100644 --- a/webhook.rst +++ b/webhook.rst @@ -77,20 +77,27 @@ The Webhook component routing needs to be defined: ; }; -Currently, the following third-party mailer services support webhooks: +Currently, the following third-party services support webhooks: + +======== ========================================== +Service Parser service name +======== ========================================== +Brevo ``mailer.webhook.request_parser.brevo`` +Mailgun ``mailer.webhook.request_parser.mailgun`` +Mailjet ``mailer.webhook.request_parser.mailjet`` +Postmark ``mailer.webhook.request_parser.postmark`` +Sendgrid ``mailer.webhook.request_parser.sendgrid`` +Vonage ``notifier.webhook.request_parser.vonage`` +======== ========================================== -=============== ========================================== -Mailer service Parser service name -=============== ========================================== -Mailgun ``mailer.webhook.request_parser.mailgun`` -Postmark ``mailer.webhook.request_parser.postmark`` -Sendgrid ``mailer.webhook.request_parser.sendgrid`` -=============== ========================================== +.. versionadded:: 6.3 -.. versionadded:: 6.4 + The support for Mailgun and Postmark was introduced in Symfony 6.3. - Webhook support for the Sendgrid service was introduced in Symfony 6.4. +.. versionadded:: 6.4 + The support for Brevo, Mailjet, Sendgrid and Vonage was introduced in + Symfony 6.4. Set up the webhook in the third-party mailer. For Mailgun, you can do this in the control panel. As URL, make sure to use the ``/webhook/mailer_mailgun``