Skip to content

Commit

Permalink
feature #18581 [Mailer] Add Scaleway bridge documentation (MrMicky-FR)
Browse files Browse the repository at this point in the history
This PR was squashed before being merged into the 6.4 branch.

Discussion
----------

[Mailer] Add Scaleway bridge documentation

This PR adds documentation for
* symfony/symfony#51014

Commits
-------

cdf8811 [Mailer] Add Scaleway bridge documentation
  • Loading branch information
OskarStark committed Jul 31, 2023
2 parents 4de0ccd + cdf8811 commit c3a449d
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions mailer.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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``
===================== ==============================================

Expand All @@ -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::

Expand Down Expand Up @@ -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:

Expand Down Expand Up @@ -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 |
Expand Down Expand Up @@ -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

0 comments on commit c3a449d

Please sign in to comment.