Hi,
Is it possible to open concurrent connections using Net::IMAP::Simple library ?
My IMAP server allows 4 connections per ip, so I am having following problems while using Net::IMAP::Simple and Net::IMAP::Simple::SSL libraries:
1) The method new returns a valid connection even on 5th try, though the login fails as it looks like IMAP->login somehow knows that 5th object is not valid..Is it possible ?
2) Somtime, the script fails at the 3rd or 4th login itself? There is no error printed thru' errstr because if I try to print the error using $imap->errstr, perl gives me an error "Use of uninitialized value in concatenation (.) or string".
Is IMAP perl library not capable of handling the paralle;/concurrent connections
The system (IMAP server) works correctly when connected over telnet (telnet host 143) and it doesn't allow 5th parallel connection from same ip address. Any help would be appreciated.
Thanks
PS. I have sent a mail to cpan.org as well to let them know the problem. Here is the link http://rt.cpan.org/Public/Bug/Display.html?id=30229 . I am not sure if this is the library problem or I need to do something differently.
|