title: can't locate object method "see" via package "Net::IMAP::Simple"
body: <p>I am trying to fetch unread emails from server and mark them as seen (read) after fetching. I'm using perl script and the package Net::IMAP::Simple. I'm writing this script for the office work.</p>
  
  <p>Below is some code :</p>
  
  <pre><code>use strict;    
  use warnings;
  use Net::IMAP::Simple;
  use Email::Simple;
  use HTTP::Date;
  #some code....
  
  # Create the object
  my $server = Net::IMAP::Simple-&gt;new($imap_server) or die "Can't connect to server: $imap_server ";
  
  # Log on
  my $login = $server-&gt;login($imap_user,$imap_passwd) or die "Login failed (bad username or password)";
  
  #some code.....
  
  # set the message as seen
  $server-&gt;see($i);
  
  # i also used $server-&gt;add_flags($i,'\Seen'); but it throws same error.
  </code></pre>
  
  <p>The Irony is, this code works fine on my Gmail account , which i use for testing. but when i test it in office it throws error ;</p>
  
  <p>can't locate object method "see" via package "Net::IMAP::Simple"</p>
  
  <p>I don't know what's the issue here.</p>