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_mimeDecode » Bug #8299

Library unable to process messages without body

Details

Submitted2006-07-26 12:05 UTC
Fromalexei at net24 dot co dot nz
StatusFeedback
PackageMail_mimeDecode
PHP Version5.1.3
Roadmaps1.6.0

Comments

[2006-07-26 12:05 UTC] alexei at net24 dot co dot nz

Description:
------------
Message body and \r\n separating it from headers is not compulsory part of the message according to RFC822.

There're situations when i get messages consisting of only headers, no "\r\nBODY" included. However function _splitBodyHeader is unaware of such situations and returns an error instead of returning headers and empty (null) body