From cdf88112b56dbfb8953bf254dfee2a99a7504570 Mon Sep 17 00:00:00 2001 From: MrMicky Date: Tue, 18 Jul 2023 16:07:25 +0200 Subject: [PATCH] [Mailer] Add Scaleway bridge documentation --- mailer.rst | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/mailer.rst b/mailer.rst index 5c72606af65..b463e27682c 100644 --- a/mailer.rst +++ b/mailer.rst @@ -111,6 +111,7 @@ Service Install with `MailPace`_ ``composer require symfony/mail-pace-mailer`` `MailerSend`_ ``composer require symfony/mailer-send-mailer`` `Postmark`_ ``composer require symfony/postmark-mailer`` +`Scaleway`_ ``composer require symfony/scaleway-mailer`` `SendGrid`_ ``composer require symfony/sendgrid-mailer`` ===================== ============================================== @@ -126,8 +127,8 @@ Service Install with .. versionadded:: 6.4 - The ``Brevo`` integration was renamed in Symfony 6.4 (in previous - Symfony versions it was called ``Sendinblue``). + The ``Brevo`` (in previous Symfony versions it was called ``Sendinblue``) + and ``Scaleway`` integrations were introduced in Symfony 6.4. .. note:: @@ -161,7 +162,7 @@ how to deliver messages via SendGrid. The *only* part you need to change is the Each provider has different environment variables that the Mailer uses to configure the *actual* protocol, address and authentication for delivery. Some also have options that can be configured with query parameters at the end of the -``MAILER_DSN`` - like ``?region=`` for Amazon SES or Mailgun. Some providers support +``MAILER_DSN`` - like ``?region=`` for Amazon SES, Mailgun or Scaleway. Some providers support sending via ``http``, ``api`` or ``smtp``. Symfony chooses the best available transport, but you can force to use one: @@ -217,6 +218,10 @@ party provider: | | - HTTP n/a | | | - API postmark+api://KEY@default | +------------------------+-----------------------------------------------------+ +| `Scaleway`_ | - SMTP scaleway+smtp://PROJECT_ID:API_KEY@default | +| | - HTTP n/a | +| | - API scaleway+api://PROJECT_ID:API_KEY@default | ++------------------------+-----------------------------------------------------+ | `Sendgrid`_ | - SMTP sendgrid+smtp://KEY@default | | | - HTTP n/a | | | - API sendgrid+api://KEY@default | @@ -1881,4 +1886,5 @@ the :class:`Symfony\\Bundle\\FrameworkBundle\\Test\\MailerAssertionsTrait`:: .. _`Postmark`: https://github.com/symfony/symfony/blob/{version}/src/Symfony/Component/Mailer/Bridge/Postmark/README.md .. _`RFC 3986`: https://www.ietf.org/rfc/rfc3986.txt .. _`S/MIME`: https://en.wikipedia.org/wiki/S/MIME +.. _`Scaleway`: https://github.com/symfony/symfony/blob/{version}/src/Symfony/Component/Mailer/Bridge/Scaleway/README.md .. _`SendGrid`: https://github.com/symfony/symfony/blob/{version}/src/Symfony/Component/Mailer/Bridge/Sendgrid/README.md