File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -174,6 +174,17 @@ party provider:
174174 For example, the DSN ``ses+smtp://ABC1234:abc+12/345@default `` should be
175175 configured as ``ses+smtp://ABC1234:abc%2B12%2F345@default ``
176176
177+ .. caution ::
178+
179+ If you want to use ``ses+smtp `` transport together with :doc: `Messenger </messenger >`
180+ to :ref: `send messages in background <mailer-sending-messages-async >`,
181+ you need to add ``ping_threshold `` parameter to your ``MAILER_DSN `` with
182+ value lower than ``10 ``: ``ses+smtp://USERNAME:PASSWORD@default?ping_threshold=9 ``
183+
184+ .. versionadded :: 5.4
185+
186+ The ``ping_threshold `` option for ``ses-smtp `` was introduced in Symfony 5.4.
187+
177188.. note ::
178189
179190 When using SMTP, the default timeout for sending a message before throwing an
@@ -1112,6 +1123,8 @@ the final email)::
11121123 $email->getHeaders()->addTextHeader('X-Transport', 'alternative');
11131124 $mailer->send($email);
11141125
1126+ .. _mailer-sending-messages-async :
1127+
11151128Sending Messages Async
11161129----------------------
11171130
You can’t perform that action at this time.
0 commit comments