473,394 Members | 1,739 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

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
0 1371

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

Similar topics

12
by: Chuck Anderson | last post by:
Can anyone point me in the right direction? I want to use Php to automate confirmation of someone joining an email list by them replying to an email (so they don't have to have a browser?). I...
20
by: drs | last post by:
Hi, I am trying to find all lists of length x with elements a, b, and c. To this end, I have created the class below, but it is not quite working and I am having trouble figuring out what to...
6
by: Grant Edwards | last post by:
According to Google, the question has come up before, but there doesn't seem to be much of an answer. The imaplib module return values are mostly useless as-is: they're just whatever string the...
1
by: MuffinMan | last post by:
Hi, I use php to program some useles stuff for fun. Now I want to use a certain funcion, imap, and to do that I have to install the library first. I want to use the imap functions. Now they...
2
by: nh_capricorn | last post by:
Hi, I am fairly new to .NET (coming from a Java background) and I am trying to port an application that I originally wrote in Java, to .NET / C#. My problem is that I cannot find a C# analog for...
1
by: Trevor | last post by:
In the PHP manual (http://us3.php.net/imap) it reads: >LIX. IMAP, POP3 and NNTP Functions >Introduction > >These functions are not limited to the IMAP protocol, despite their name. The...
5
by: Kun | last post by:
Hey guys, I would like to have a code in python (as simple as possible) to scan a specific folder in my mailbox and if the subject is equal to, say, 'BIKES', I would like to have the code...
2
by: rcp | last post by:
Hi all, I've read all posts from all existing threads and none of them worked to solve my problem, although its exactly the same. I'll try to explain my case and see if a kind soul could help me...
0
by: Olga | last post by:
Hi! I have to make some investigation about possibility to develop IMAP/SSL client. Can somebody help me with the understanding how SSL will work? Now I have the simple example to establish the...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.