This commit is contained in:
parent
306ea7022f
commit
c09730a7d7
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in New Issue