By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,391 Members | 1,387 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,391 IT Pros & Developers. It's quick & easy.

Is it possible to open concurrent connections using Net::IMAP::Simple library ?

P: 1
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.
Oct 24 '07 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.