This commit is contained in:
Marcus Bointon 2025-10-06 09:07:54 +02:00
parent 306ea7022f
commit c09730a7d7
No known key found for this signature in database
GPG Key ID: DE31CD6EB646AA24
2 changed files with 2 additions and 2 deletions

View File

@ -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('/(?<!-)(src|background)=["\'](.*)["\']/Ui', $message, $images);

View File

@ -622,7 +622,7 @@ EOT;
{
$result = $this->Mail->setFrom('test@example.com');
self::assertTrue($result, 'setFrom failed');
$this->Mail->msgHTML('<!DOCTYPE html>
<html lang="en">
<head>