PEAR is archived and read-only

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

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