From abe503fdcd2330a9e545488407d1212e414368fb Mon Sep 17 00:00:00 2001 From: Chirag Aggarwal Date: Tue, 28 Jul 2026 17:07:50 +0530 Subject: [PATCH] chore: shorten doctor SMTP probe comment Co-authored-by: Cursor --- src/Appwrite/Platform/Tasks/Doctor.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/Appwrite/Platform/Tasks/Doctor.php b/src/Appwrite/Platform/Tasks/Doctor.php index 4e44915201..d5e2c29f24 100644 --- a/src/Appwrite/Platform/Tasks/Doctor.php +++ b/src/Appwrite/Platform/Tasks/Doctor.php @@ -220,10 +220,7 @@ class Doctor extends Action } } - // Never send a live message from doctor. Older compose files used `doctor` as the - // container healthcheck (~every 5s), which flooded SMTP with "Test SMTP Connection" - // mail to demo@example.com (#12760). Probe TCP reachability only; operators can use - // POST /v1/project/smtp/tests for an intentional end-to-end send. + // Probe SMTP reachability only; do not send a live message. try { $smtpHost = System::getEnv('_APP_SMTP_HOST', ''); $smtpPort = (int) System::getEnv('_APP_SMTP_PORT', '25');