Skip to content

Commit

Permalink
made max_per_second option configurable by dsn
Browse files Browse the repository at this point in the history
  • Loading branch information
gassan committed Jun 3, 2022
1 parent e2bd729 commit 0b1b8b8
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions mailer.rst
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,15 @@ Other Options

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

``max_per_second``
The number of messages to send per second (0 to disable)::

$dsn = 'smtps://smtp.example.com?max_per_second=2'

.. versionadded:: 6.2

The ``max_per_second`` option was introduced in Symfony 6.2.

Creating & Sending Messages
---------------------------

Expand Down

0 comments on commit 0b1b8b8

Please sign in to comment.