helpo11 has asked for the wisdom of the Perl Monks concerning the following question:

Hi All,

Here's my dilemma, I use Mail::IMAPClient to access and clean out my imap messages once a week; however, after a certain amount of messages it fails to do anything. I do get the error message, Trying command when NOT connected! at /usr/local/share/perl/5.10.1/Mail/ line 118....

Though I am to able to manually log into imap and remove the messages manually, and rerun the script without any issues.

Is the there a limitation on the amount of messages, IMAPClient can handle? i.e. expunge or store in deleted folder

Is Net::IMAP::Simple a better option?