From c3c35f09da324355b74706f341fcbbc46f94c573 Mon Sep 17 00:00:00 2001 From: camer0n Date: Sun, 20 Jul 2025 11:33:39 -0700 Subject: [PATCH] Fixes #5535 Persistent Recipients (e.g., CC) Across Multiple sendEmail() Calls --- e107_handlers/mail.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/e107_handlers/mail.php b/e107_handlers/mail.php index fba5b92f1..67e523f3c 100644 --- a/e107_handlers/mail.php +++ b/e107_handlers/mail.php @@ -1204,6 +1204,8 @@ class e107Email extends PHPMailer $this->clearAddresses(); // In case we send another email $this->clearCustomHeaders(); + $this->clearAllRecipients(); + $this->clearAttachments(); if ($result) {