File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -98,6 +98,16 @@ For third-party providers, refer to the following table:
98
98
Sendgrid sendgrid+smtp://apikey:KEY@default n/a sendgrid+api://KEY@default
99
99
==================== ========================================== =========================================== ========================================
100
100
101
+ .. note ::
102
+
103
+ When using SMTP, the default timeout for sending a message before throwing an
104
+ exception is the value defined in the `default_socket_timeout `_ PHP.ini option.
105
+
106
+ .. versionadded :: 5.1
107
+
108
+ The usage of ``default_socket_timeout `` as the default timeout was
109
+ introduced in Symfony 5.1.
110
+
101
111
Instead of choosing a specific protocol, you can also let Symfony pick the
102
112
best one by omitting it from the scheme: for instance, ``mailgun://KEY:DOMAIN@default ``
103
113
is equivalent to ``mailgun+https://KEY:DOMAIN@default ``.
@@ -213,3 +223,4 @@ To learn more about how to use the mailer component, refer to the
213
223
214
224
.. _`high availability` : https://en.wikipedia.org/wiki/High_availability
215
225
.. _`load balancing` : https://en.wikipedia.org/wiki/Load_balancing_(computing)
226
+ .. _`default_socket_timeout` : https://www.php.net/manual/en/filesystem.configuration.php#ini.default-socket-timeout
You can’t perform that action at this time.
0 commit comments