File tree 2 files changed +56
-5
lines changed
Filter options
2 files changed +56
-5
lines changed
Original file line number Diff line number Diff line change @@ -264,6 +264,57 @@ the application or when using a self-signed certificate::
264
264
265
265
The ``verify_peer `` option was introduced in Symfony 5.1.
266
266
267
+ Other Options
268
+ ~~~~~~~~~~~~~
269
+
270
+ ``command ``
271
+ Command to be executed by ``sendmail `` transport::
272
+
273
+ $dsn = 'sendmail://default?command=/usr/sbin/sendmail%20-oi%20-t'
274
+
275
+ .. versionadded :: 5.2
276
+
277
+ This option was introduced in Symfony 5.2.
278
+
279
+
280
+ ``local_domain ``
281
+ The domain name to use in ``HELO `` command::
282
+
283
+ $dsn = 'smtps://smtp.example.com?local_domain=example.org'
284
+
285
+ .. versionadded :: 5.2
286
+
287
+ This option was introduced in Symfony 5.2.
288
+
289
+ ``restart_threshold ``
290
+ The maximum number of messages to send before re-starting the transport. It
291
+ can be used together with ``restart_threshold_sleep ``::
292
+
293
+ $dsn = 'smtps://smtp.example.com?restart_threshold=10&restart_threshold_sleep=1'
294
+
295
+ .. versionadded :: 5.2
296
+
297
+ This option was introduced in Symfony 5.2.
298
+
299
+ ``restart_threshold_sleep ``
300
+ The number of seconds to sleep between stopping and re-starting the transport.
301
+ It's common to combine it with ``restart_threshold ``::
302
+
303
+ $dsn = 'smtps://smtp.example.com?restart_threshold=10&restart_threshold_sleep=1'
304
+
305
+ .. versionadded :: 5.2
306
+
307
+ This option was introduced in Symfony 5.2.
308
+
309
+ ``ping_threshold ``
310
+ The minimum number of seconds between two messages required to ping the server::
311
+
312
+ $dsn = 'smtps://smtp.example.com?ping_threshold=200'
313
+
314
+ .. versionadded :: 5.2
315
+
316
+ This option was introduced in Symfony 5.2.
317
+
267
318
Creating & Sending Messages
268
319
---------------------------
269
320
Original file line number Diff line number Diff line change @@ -189,9 +189,9 @@ If you customize these paths, some files copied from a recipe still may contain
189
189
references to the original path. In other words: you may need to update some things
190
190
manually after a recipe is installed.
191
191
192
- .. _`default services.yaml file` : https://github.com/symfony/recipes/blob/master/symfony/framework-bundle/4.2 /config/services.yaml
193
- .. _`shown in this example` : https://github.com/symfony/skeleton/blob/8e33fe617629f283a12bbe0a6578bd6e6af417af /composer.json#L24-L33
194
- .. _`shown in this example of the skeleton-project` : https://github.com/symfony/skeleton/blob/8e33fe617629f283a12bbe0a6578bd6e6af417af /composer.json#L44-L46
195
- .. _`copying Symfony's index.php source` : https://github.com/symfony/recipes/blob/master/symfony/framework-bundle/5.1 /public/index.php
196
- .. _`copying Symfony's bin/console source` : https://github.com/symfony/recipes/blob/master/symfony/console/5.1 /bin/console
192
+ .. _`default services.yaml file` : https://github.com/symfony/recipes/blob/master/symfony/framework-bundle/5.3 /config/services.yaml
193
+ .. _`shown in this example` : https://github.com/symfony/skeleton/blob/a0770a7f26eeda9890a104fa3de8f68c4120fca5 /composer.json#L30-L39
194
+ .. _`shown in this example of the skeleton-project` : https://github.com/symfony/skeleton/blob/a0770a7f26eeda9890a104fa3de8f68c4120fca5 /composer.json#L55-L57
195
+ .. _`copying Symfony's index.php source` : https://github.com/symfony/recipes/blob/master/symfony/framework-bundle/5.3 /public/index.php
196
+ .. _`copying Symfony's bin/console source` : https://github.com/symfony/recipes/blob/master/symfony/console/5.3 /bin/console
197
197
.. _`Symfony Requirements Checker` : https://github.com/symfony/requirements-checker
You can’t perform that action at this time.
0 commit comments