467,114 Members | 1,295 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,114 developers. It's quick & easy.

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

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
  • viewed: 1163
Share:

Post your reply

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

Similar topics

12 posts views Thread by Chuck Anderson | last post: by
20 posts views Thread by drs | last post: by
6 posts views Thread by Grant Edwards | last post: by
1 post views Thread by MuffinMan | last post: by
1 post views Thread by Trevor | last post: by
5 posts views Thread by Kun | last post: by
reply views Thread by Olga | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.