|go ahead... be a heretic|
Using Mail::IMAPClient (code)by deprecated (Priest)
|on Oct 01, 2001 at 21:09 UTC ( #115910=perlquestion: print w/replies, xml )||Need Help??|
deprecated has asked for the wisdom of the Perl Monks concerning the following question:
I'm trying to rid myself of windows. In order to do that, I need to have an IMAP client. I dislike all the clients out there (dont want to learn mutt, dont like pine's license, not interested in mailsmith, outlook blows, and so on...), so I decided to write my own.
To my pleasant surprise, there is a module to do the work for me, Mail::IMAPClient. So I've drafted up some working code that does what I want it to, mostly, except I get interesting results.
Here is the code:
Unfortunately, it seems that when I tell it to print the oneth message, I "start" about a month ago. At the moment, the oneth message is from Aug 17 (yes, I've gotten at least 400 messages since then), and it looks fine in outlook.
I'm not certain where to go with this as I dont see too many logic errors. I'd rather not hear stylistic critiques as this was something I whipped up on a Saturday morning and is just a prototype.
Has anyone used this module <!- tilly, you need not answer ->? Can anyone see how I might be skipping a few hundred messages?
One other note, if you enter 'imap' in the straight search it goes to some defective node that should be reaped, but I cant seem to submit it for consideration.
Back to Seekers of Perl Wisdom