mirror of
https://github.com/PHPMailer/PHPMailer.git
synced 2024-09-20 01:52:15 +02:00
Improve simple messageid regex for default pattern
This commit is contained in:
parent
cb25751853
commit
84325b80b3
@ -106,6 +106,6 @@ final class GetLastMessageIDTest extends TestCase
|
||||
$this->buildBody();
|
||||
$this->Mail->preSend();
|
||||
$lastid = $this->Mail->getLastMessageID();
|
||||
self::assertMatchesRegularExpression('/^<.*@.*>$/', $lastid, 'Invalid default Message ID');
|
||||
self::assertMatchesRegularExpression('/^<.+@.+>$/D', $lastid, 'Invalid default Message ID');
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user