Merge branch 'master' of https://github.com/PHPMailer/PHPMailer
This commit is contained in:
commit
b79bda64fe
|
|
@ -1417,6 +1417,19 @@ EOT;
|
|||
),
|
||||
'Failed to recognise address list (IMAP parser)'
|
||||
);
|
||||
$this->assertEquals(
|
||||
array(
|
||||
array("name" => 'Joe User', 'address' => 'joe@example.com'),
|
||||
array("name" => 'Jill User', 'address' => 'jill@example.net'),
|
||||
array("name" => '', 'address' => 'frank@example.com'),
|
||||
),
|
||||
$this->Mail->parseAddresses(
|
||||
'Joe User <joe@example.com>,'
|
||||
. 'Jill User <jill@example.net>,'
|
||||
. 'frank@example.com,'
|
||||
),
|
||||
'Parsed addresses'
|
||||
);
|
||||
//Test simple address parser
|
||||
$this->assertCount(
|
||||
2,
|
||||
|
|
|
|||
Loading…
Reference in New Issue