From c09730a7d77ffc65c684672dd68fbca8e256ce18 Mon Sep 17 00:00:00 2001 From: Marcus Bointon Date: Mon, 6 Oct 2025 09:07:54 +0200 Subject: [PATCH] CS --- src/PHPMailer.php | 2 +- test/PHPMailer/PHPMailerTest.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/PHPMailer.php b/src/PHPMailer.php index dae7c50a..8df4c394 100644 --- a/src/PHPMailer.php +++ b/src/PHPMailer.php @@ -4607,7 +4607,7 @@ class PHPMailer $cid_domain = '@phpmailer.0'; if (filter_var($this->From, FILTER_VALIDATE_EMAIL)) { //prepend with a character to create valid RFC822 string in order to validate - $cid_domain = substr( $this->From, strrpos( $this->From, '@') + 1); + $cid_domain = substr($this->From, strrpos($this->From, '@') + 1); } preg_match_all('/(?Mail->setFrom('test@example.com'); self::assertTrue($result, 'setFrom failed'); - + $this->Mail->msgHTML('