Skip to content

Commit 136ecbe

Browse files
[Mailer] Document the optional HttpClient dependency
1 parent 44f2388 commit 136ecbe

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

mailer.rst

+7
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,13 @@ Service Install with
129129
<mail-catcher>` instead. Note that most supported providers also offer a
130130
free tier.
131131

132+
.. note::
133+
134+
When using a 3rd party transport, you might want to use a web API
135+
instead of directly rely on the SMTP protocol to send emails.
136+
To do so, you have to install the optional HttpClient dependency
137+
thanks to ``composer require symfony/http-client``.
138+
132139
.. versionadded:: 5.2
133140

134141
The Sendinblue integration was introduced in Symfony 5.2.

0 commit comments

Comments
 (0)