Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: More efficient way to get unseen IMAP messages

by davidrw (Prior)
on May 01, 2006 at 02:11 UTC ( [id://546622]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my @unread = $imap->unseen or warn "Could not find unseen msgs: $@\n";
    
  2. or download this
            foreach my $f ($imap->folders) {
                    print   "The $f folder has ",
                            $imap->unseen_count($f)||0, 
                            " unseen messages.\n";          
            }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (5)
As of 2024-04-26 08:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found