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

Bug #6493 delete() sometimes fails without errors but delete did not occur
Submitted: 2006-01-15 00:19 UTC
From: wim dot delvaux at adaptiveplanet dot com Assigned:
Status: Bogus Package: Mail_IMAPv2
PHP Version: 5.1.0 OS: linux
Roadmaps: (Not assigned)    
Subscription  


 [2006-01-15 00:19 UTC] wim dot delvaux at adaptiveplanet dot com
Description: ------------ Calling $IMap->delete($ID) and then $IMap->expunge() sometimes does not delete the message on the server. I notice this because I poll a POP server every 5 seconds and notice that sometimes the messages that should have been deleted in the previous loop still exist in the next loop. I have added $IMap->errors->hasErrors() but that does not produce TRUE so there are not errors, right ?

Comments

 [2013-03-16 21:01 UTC] richy (Richard York)
The delete() and expunge() methods are straight-up wrappers of imap_delete() and imap_expunge(). If it doesn't work, then it is your PHP installation, or your IMAP server, there is absolutely NO logic in Mail_IMAP that deals with this other than providing wrapper methods that themselves call on the c-client library methods.
 [2013-03-16 21:01 UTC] richy (Richard York)
-Status: Open +Status: Bogus
Not a bug in Mail_IMAP.