update: whoops the OP wants new messages. In that case you use the qty_recent method or query the unseen response directly.
After logging in, authenticating, and selecting the mailbox, you want to use the qty_messages method. It returns the number of messages.
--
જલધર
In reply to Re: IMAP
by jaldhar
in thread Get messages via IMAP with Perl?
by batkins
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |