There is no concept of "current message" in IMAP. You can process all messages that have been delivered since you last checked. You can also look at Mail::Action if you want an action to be triggered whenever a mail is received by your mail transfer agent (MTA, sendmail for example).
In reply to Re^3: how to read current message from IMAP
by Corion
in thread how to read current message from IMAP
by chandanperl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |