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  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 46 - 14 = ?

 
 [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