PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » Mail » Mail » Bug #4636

send() fails with more than one 'Received' header

Details

Submitted2005-06-20 10:18 UTC
Frommarek dot gleska at comp-win dot pl
Assignedjon
StatusClosed
PackageMail
PHP Version4.3.10
OSWindows
Roadmaps(Not assigned)

Comments

[2005-06-20 10:18 UTC] marek dot gleska at comp-win dot pl

Description:
------------
Function send() requires $headers as an associative array.

There is no simple way to build $headers with two (or more) 'Received' headers - associative array allow only one value with 'Received' key.
Array operator '+' or array_merge() does not help too.

Reproduce code:
---------------
na

Expected result:
----------------
na

Actual result:
--------------
na

[2005-06-21 06:21 UTC] marek dot gleska at comp-win dot pl

Yes. I think it is the best, simple solution.