Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit7f54a27

Browse files
Tyraelqpjaviereguiluz
authored andcommitted
[Mailer] ping_threshold for ses+smtp
1 parent5e9a391 commit7f54a27

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

‎mailer.rst‎

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff 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+
11151128
Sending Messages Async
11161129
----------------------
11171130

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp