From 7fddf4d0f97fd4c1eebbd3091ad7fd224fd55d05 Mon Sep 17 00:00:00 2001 From: Gassan Gousseinov Date: Fri, 3 Jun 2022 12:12:16 +0200 Subject: [PATCH] [Mailer] `max_per_second` option configurable via DSN --- mailer.rst | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/mailer.rst b/mailer.rst index 466c2ebc65d..48e210fed79 100644 --- a/mailer.rst +++ b/mailer.rst @@ -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 this limitation):: + + $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 ---------------------------