in reply to finding unread emails in IMAP maildir
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 |