PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

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.