Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.1.4

Bug #19865 GetMSG function returns empty result towards gmail
Submitted: 2013-03-20 23:56 UTC
From: soul__reaver Assigned:
Status: Open Package: Net_IMAP (version 1.1.2)
PHP Version: 5.4.13 OS: Windows
Roadmaps: (Not assigned)    
Subscription  


 [2013-03-20 23:56 UTC] soul__reaver (Soul Reaver)
Description: ------------ If i use the GetMSG function towards a gmail IMAP account with a valid integer msg_id an empty array is returned. This seems to be an issue with the $indexIsMessageNumber param and subsequent actions in the getmessages function. (see test script for code part in question in the getmessages function) $indexIsMessageNumberis is by default false when used from within getmsg. But if i set it to true then a proper message is returned while if it is false then i get an empty array. Test script: --------------- if (!$indexIsMessageNumber) { $ret = $this->cmdUidFetch($message_set, 'RFC822'); } else { $ret = $this->cmdFetch($message_set, 'RFC822'); }

Comments