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:
174
174
For example, the DSN ``ses+smtp://ABC1234:abc+12/345@default `` should be
175
175
configured as ``ses+smtp://ABC1234:abc%2B12%2F345@default ``
176
176
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
+
177
188
.. note ::
178
189
179
190
When using SMTP, the default timeout for sending a message before throwing an
@@ -1112,6 +1123,8 @@ the final email)::
1112
1123
$email->getHeaders()->addTextHeader('X-Transport', 'alternative');
1113
1124
$mailer->send($email);
1114
1125
1126
+ .. _mailer-sending-messages-async :
1127
+
1115
1128
Sending Messages Async
1116
1129
----------------------
1117
1130
You can’t perform that action at this time.
0 commit comments