PHP Classes

Class goes in endless loop

Recommend this page to a friend!

      IMAP  >  All threads  >  Class goes in endless loop  >  (Un) Subscribe thread alerts  
Subject:Class goes in endless loop
Summary:Class goes into endless loop - Response: -ERR Protocol error. Co
Messages:3
Author:Colin Jenkins
Date:2008-01-10 13:06:42
Update:2012-03-30 08:01:00
 

  1. Class goes in endless loop   Reply   Report abuse  
Picture of Colin Jenkins Colin Jenkins - 2008-01-10 13:06:45
Hi

I have found that this class goes in an endless loop.

By adding a echo on $response in the get_server_responce function, it keeps returning the following line in an endless loop:

Response: -ERR Protocol error. Connection is closed. 10

  2. Re: Class goes in endless loop   Reply   Report abuse  
Picture of Anders Jenbo Anders Jenbo - 2009-12-22 13:33:12 - In reply to message 1 from Colin Jenkins
Dont do that you will mess up the connection to the server.

  3. Re: Class goes in endless loop   Reply   Report abuse  
Picture of Anders Jenbo Anders Jenbo - 2012-03-30 08:01:01 - In reply to message 1 from Colin Jenkins
If you are still having this issue you might be interested in testing it with me rewrite of this class, it can be found here: https://github.com/AJenbo/PHP-imap