From 240489d330c86491e902cec39329b485eeec024e Mon Sep 17 00:00:00 2001 From: Serreau Jovann Date: Fri, 3 Apr 2026 21:46:15 +0200 Subject: [PATCH] Add ping_threshold to mailer config to prevent SES SMTP timeout errors Set ping_threshold to 10 seconds so Symfony checks and reconnects stale SMTP connections before reuse, fixing "451 4.4.2 Timeout waiting for data from client" errors from Amazon SES. Co-Authored-By: Claude Opus 4.6 (1M context) --- config/packages/mailer.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/config/packages/mailer.yaml b/config/packages/mailer.yaml index 56a650d..4a7c321 100644 --- a/config/packages/mailer.yaml +++ b/config/packages/mailer.yaml @@ -1,3 +1,4 @@ framework: mailer: dsn: '%env(MAILER_DSN)%' + ping_threshold: 10