From 14efa45da31892bb259efdd93bce22d55caa1c6d Mon Sep 17 00:00:00 2001 From: Farhad Hedayatifard Date: Tue, 29 Oct 2024 21:10:14 +0330 Subject: [PATCH 1/3] Add documentation for AhaSend mailer bridge. --- mailer.rst | 8 +++++++- webhook.rst | 3 ++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/mailer.rst b/mailer.rst index d2136839ad0..7f1a0a57e8a 100644 --- a/mailer.rst +++ b/mailer.rst @@ -100,6 +100,7 @@ via a third-party provider: ===================== =============================================== =============== Service Install with Webhook support ===================== =============================================== =============== +`AhaSend`_ ``composer require symfony/ahasend-mailer`` yes `Amazon SES`_ ``composer require symfony/amazon-mailer`` `Azure`_ ``composer require symfony/azure-mailer`` `Brevo`_ ``composer require symfony/brevo-mailer`` yes @@ -125,7 +126,7 @@ Service Install with Webhook su .. versionadded:: 7.2 - The Mailomat, Mailtrap, Postal and Sweego integrations were introduced in Symfony 7.2. + The Mailomat, Mailtrap, Postal, Sweego and AhaSend integrations were introduced in Symfony 7.2. .. note:: @@ -175,6 +176,10 @@ party provider: +------------------------+---------------------------------------------------------+ | Provider | Formats | +========================+=========================================================+ +| `AhaSend`_ | - API ``ahasend+api://KEY@default`` | +| | - HTTP n/a | +| | - SMTP ``ahasend+smtp://USERNAME:PASSWORD@default`` | ++------------------------+---------------------------------------------------------+ | `Amazon SES`_ | - SMTP ``ses+smtp://USERNAME:PASSWORD@default`` | | | - HTTP ``ses+https://ACCESS_KEY:SECRET_KEY@default`` | | | - API ``ses+api://ACCESS_KEY:SECRET_KEY@default`` | @@ -1991,6 +1996,7 @@ the :class:`Symfony\\Bundle\\FrameworkBundle\\Test\\MailerAssertionsTrait`:: following the redirection and the message will be lost from the mailer event handler. +.. _`AhaSend`: https://github.com/symfony/symfony/blob/{version}/src/Symfony/Component/Mailer/Bridge/AhaSend/README.md .. _`Amazon SES`: https://github.com/symfony/symfony/blob/{version}/src/Symfony/Component/Mailer/Bridge/Amazon/README.md .. _`Azure`: https://github.com/symfony/symfony/blob/{version}/src/Symfony/Component/Mailer/Bridge/Azure/README.md .. _`App Password`: https://support.google.com/accounts/answer/185833 diff --git a/webhook.rst b/webhook.rst index aba95cffb04..e33adb88d23 100644 --- a/webhook.rst +++ b/webhook.rst @@ -23,6 +23,7 @@ Currently, the following third-party mailer providers support webhooks: ============== ============================================ Mailer Service Parser service name ============== ============================================ +AhaSend ``mailer.webhook.request_parser.ahasend`` Brevo ``mailer.webhook.request_parser.brevo`` Mandrill ``mailer.webhook.request_parser.mailchimp`` MailerSend ``mailer.webhook.request_parser.mailersend`` @@ -42,7 +43,7 @@ Sweego ``mailer.webhook.request_parser.sweego`` .. versionadded:: 7.2 - The ``Mandrill``, ``Mailomat``, ``Mailtrap``, and ``Sweego`` integrations were introduced in + The ``Mandrill``, ``Mailomat``, ``Mailtrap``, ``Sweego`` and ``AhaSend`` integrations were introduced in Symfony 7.2. .. note:: From 09852d3481d270d8536e7d1315995f16b70a7180 Mon Sep 17 00:00:00 2001 From: Farhad Hedayatifard Date: Thu, 9 Jan 2025 09:12:13 +0100 Subject: [PATCH 2/3] The AhaSend integration was introduced in Symfony 7.3 --- mailer.rst | 6 +++++- webhook.rst | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/mailer.rst b/mailer.rst index b857739f201..c5d8138d708 100644 --- a/mailer.rst +++ b/mailer.rst @@ -100,7 +100,7 @@ via a third-party provider: ===================== =============================================== =============== Service Install with Webhook support ===================== =============================================== =============== -`AhaSend`_ ``composer require symfony/ahasend-mailer`` yes +`AhaSend`_ ``composer require symfony/aha-send-mailer`` yes `Amazon SES`_ ``composer require symfony/amazon-mailer`` `Azure`_ ``composer require symfony/azure-mailer`` `Brevo`_ ``composer require symfony/brevo-mailer`` yes @@ -128,6 +128,10 @@ Service Install with Webhook su The Mailomat, Mailtrap, Postal, Sweego and AhaSend integrations were introduced in Symfony 7.2. +.. versionadded:: 7.3 + + The AhaSend integration was introduced in Symfony 7.3. + .. note:: As a convenience, Symfony also provides support for Gmail (``composer diff --git a/webhook.rst b/webhook.rst index e33adb88d23..674c9f2c5c6 100644 --- a/webhook.rst +++ b/webhook.rst @@ -43,9 +43,13 @@ Sweego ``mailer.webhook.request_parser.sweego`` .. versionadded:: 7.2 - The ``Mandrill``, ``Mailomat``, ``Mailtrap``, ``Sweego`` and ``AhaSend`` integrations were introduced in + The ``Mandrill``, ``Mailomat``, ``Mailtrap``, and ``Sweego`` integrations were introduced in Symfony 7.2. +.. versionadded:: 7.3 + + The ``AhaSend`` integration was introduced in Symfony 7.3. + .. note:: Install the third-party mailer provider you want to use as described in the From 8cfaf4a27947102b3b964d0fe02840a512a796a5 Mon Sep 17 00:00:00 2001 From: Farhad Hedayatifard Date: Thu, 9 Jan 2025 13:24:01 +0330 Subject: [PATCH 3/3] Update mailer.rst Co-authored-by: Christian Flothmann --- mailer.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mailer.rst b/mailer.rst index c5d8138d708..e5d646d5aa2 100644 --- a/mailer.rst +++ b/mailer.rst @@ -126,7 +126,7 @@ Service Install with Webhook su .. versionadded:: 7.2 - The Mailomat, Mailtrap, Postal, Sweego and AhaSend integrations were introduced in Symfony 7.2. + The Mailomat, Mailtrap, Postal and Sweego integrations were introduced in Symfony 7.2. .. versionadded:: 7.3