TimeTrex Community Edition v16.2.0
This commit is contained in:
19
vendor/pear/mail_mime/tests/test_Bug_13962.phpt
vendored
Normal file
19
vendor/pear/mail_mime/tests/test_Bug_13962.phpt
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
--TEST--
|
||||
Bug #13962 Multiple header support
|
||||
--SKIPIF--
|
||||
--FILE--
|
||||
<?php
|
||||
require_once('Mail/mime.php');
|
||||
|
||||
$mime = new Mail_mime();
|
||||
|
||||
$mime->setFrom('user@from.example.com');
|
||||
$r = $mime->txtHeaders(array('Received' => array('Received 1', 'Received 2')));
|
||||
|
||||
print_r($r);
|
||||
?>
|
||||
--EXPECT--
|
||||
Received: Received 1
|
||||
Received: Received 2
|
||||
MIME-Version: 1.0
|
||||
From: user@from.example.com
|
Reference in New Issue
Block a user