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:
9898 Sendgrid sendgrid+smtp://apikey:KEY@default n/a sendgrid+api://KEY@default
9999==================== ========================================== =========================================== ========================================
100100
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+
101111Instead of choosing a specific protocol, you can also let Symfony pick the
102112best one by omitting it from the scheme: for instance, ``mailgun://KEY:DOMAIN@default ``
103113is equivalent to ``mailgun+https://KEY:DOMAIN@default ``.
@@ -213,3 +223,4 @@ To learn more about how to use the mailer component, refer to the
213223
214224.. _`high availability` : https://en.wikipedia.org/wiki/High_availability
215225.. _`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