I have run into only a few issues recently with the parser, and I am certain it may be that I can't find it documented anywhere.
Most issues notably are from me.com addresses, thinking something how Apple constructs the message?
I've had this issue with .ics calendar attachments as well. Instead of the attachment inside the subarray, it's part of the summary:
Array
(
[Type] => ms-excel
[Description] => Spreadsheet in Microsoft Excel format
[DataFile] => /tmp/14
[FileName] => Workbook1-1.xlsx
[FileDisposition] => attachment
[Subject] => Here's the excel file
[Date] => Sat, 09 Nov 2013 14:40:37 -0500
[From] => Array
(
[0] => Array
(
[address] => j***
[email protected]
[name] => Jon Y***s
)
)
[To] => Array
(
[0] => Array
(
[address] => bh***@****.com
[name] =>
)
)
Is this designed? Or is there a way to "properly" parse these types of attachments out?