Skip to content

Commit f00bc2a

Browse files
committed
made max_per_second option configurable by dsn
1 parent e948453 commit f00bc2a

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

mailer.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -272,6 +272,15 @@ Other Options
272272

273273
$dsn = 'smtps://smtp.example.com?ping_threshold=200'
274274

275+
``max_per_second``
276+
The number of messages to send per second (0 to disable)::
277+
278+
$dsn = 'smtps://smtp.example.com?max_per_second=2'
279+
280+
.. versionadded:: 6.2
281+
282+
The ``max_per_second`` option was introduced in Symfony 6.2.
283+
275284
Creating & Sending Messages
276285
---------------------------
277286

0 commit comments

Comments
 (0)