Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: More efficient way to get unseen IMAP messages

by davidrw (Prior)
on May 01, 2006 at 02:11 UTC ( #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
Node Status?
node history
Node Type: note [id://546622]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (3)
As of 2020-02-22 04:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What numbers are you going to focus on primarily in 2020?










    Results (98 votes). Check out past polls.

    Notices?