in reply to How to stop get_rfc822_body method of Net::IMAP::Client package to mark an unread email as read ?

It seems there is another way to do that -->
$imap->examine('INBOX');
Using "examine" instead of "select".
The folder is selected in read-only mode.
  • Comment on Re: How to stop get_rfc822_body method of Net::IMAP::Client package to mark an unread email as read ?
  • Download Code