in reply to finding unread emails in IMAP maildir

Doe Mail::IMAPClient fit your needs? It's very easy to use..
use Mail::IMAPClient; my $imap = Mail::IMAPClient->new( Server => $host, User => $id, Password=> $pass, ) or die "Cannot connect to $host as $id: $@"; $imap->select($folder); my @msgs = $imap->unseen(); foreach my $msgid( @msgs ){ ... }

Replies are listed 'Best First'.
Re^2: finding unread emails in IMAP maildir
by chrisj0 (Acolyte) on Aug 08, 2005 at 20:11 UTC
    Thanks,
    I really don't want to make an IMAP connection to the server. I'd rather do this on at the filesystem. I'll look into the IMAPClient module. I have a feeling that you're right in saying the way to check for new messages is with an IMAP connection.
    Thanks again,
    chrisj