Hi,
I'm using this module to logon to IMAP Server and fetch mails.
When there is any mail, either SEEN or NEW, it works fine.
Once I delete those mails, and try to login again it gives me the following error:
------------------------------------
Can't login to mailserver.gp.com : Bad file number
------------------------------------
Using the following to logon:
-----------------------------
$server = Net::IMAP::Simple->new($mail_server);
$server->login( $userid, $passwd )
or die "Can't login to $mail_server : $! \n";
Thanks,
Gyan
I'm using this module to logon to IMAP Server and fetch mails.
When there is any mail, either SEEN or NEW, it works fine.
Once I delete those mails, and try to login again it gives me the following error:
------------------------------------
Can't login to mailserver.gp.com : Bad file number
------------------------------------
Using the following to logon:
-----------------------------
$server = Net::IMAP::Simple->new($mail_server);
$server->login( $userid, $passwd )
or die "Can't login to $mail_server : $! \n";
Thanks,
Gyan