[Tickets #14238] Re: Attachment size = 0 for Microsoft email address
noreply at bugs.horde.org
noreply at bugs.horde.org
Wed Feb 17 18:04:44 UTC 2016
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: https://bugs.horde.org/ticket/14238
------------------------------------------------------------------------------
Ticket | 14238
Updated By | Michael Rubinsky <mrubinsk at horde.org>
Summary | Attachment size = 0 for Microsoft email address
Queue | IMP
Version | Git master
Type | Bug
State | Feedback
Priority | 1. Low
Milestone |
Patch |
Owners |
------------------------------------------------------------------------------
Michael Rubinsky <mrubinsk at horde.org> (2016-02-17 18:04) wrote:
Also, your sample email parses perfectly fine for me here:
object(Horde_Support_CaseInsensitiveArray)#417 (1) {
["storage":"ArrayIterator":private]=>
array(2) {
["size"]=>
string(6) "751293"
["filename"]=>
string(36) "Be-Friends - Issues Descriptions.pdf"
}
}
WIth code:
$imap = $registry->mail->imapOb();
$mbox = new Horde_Imap_Client_Mailbox('Empty');
$query = new Horde_Imap_Client_Fetch_Query();
$query->structure();
$results = $imap->fetch($mbox, $query, array('ids' => new
Horde_Imap_Client_Ids(array('229'))));
var_dump($results[229]->getStructure());
More information about the bugs
mailing list