Subject: | Bug in Net::IMAP::Simple ? |
Date: | Tue, 12 Feb 2008 19:14:01 +0100 |
To: | bug-Net-IMAP-Simple [...] rt.cpan.org |
From: | Andy Spiegl <Andy.Spiegl [...] br-online.de> |
Hi, first of all thanks a lot for the really nice perl modules
Net::IMAP::Simple and Net::IMAP::Simple:SSL !
While playing around with it and trying to write my imap-biff tool
I stumbled over a possible bug:
The returned message numbers are not always correct.
An example:
$imap->select($folder) : 334
$imap->recent : 0
(counting over a loop) not $imap->seen($i) : 308
But imap STATUS says: 334 messages, 1 recent, 315 unseen
Do you have any idea for the discrepancy?
The Imap-Server is cyrus, btw.
Thanks,
Andy.
--
We are Microsoft. Unix is irrelevant. Openness is futile.
Prepare to be assimilated.