Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: IMAPClient Fails when storing large amount of messages in deleted

by marinersk (Priest)
on Oct 17, 2013 at 19:01 UTC ( #1058664=note: print w/replies, xml ) Need Help??


in reply to IMAPClient Fails when storing large amount of messages in deleted

I had the same problem with my mail deletion routine. I, too, theorized the operation was timing out.

I wrapped it into a loop where it deletes 100 messages at a time. The problem has never returned.

NOTE: Re-read the inbox count at the start of each loop and terminate if you are out of messages. You are not allowed to ask how I know this is important.  :-)

  • Comment on Re: IMAPClient Fails when storing large amount of messages in deleted
  • Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1058664]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (2)
As of 2022-01-17 23:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (52 votes). Check out past polls.

    Notices?