Login   Register  
PHP Classes
elePHPant
Icontem

TimeOut problem while RetrievingMessage

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

      POP3 e-mail client  >  All threads  >  TimeOut problem while RetrievingMessage  >  (Un) Subscribe thread alerts  
Subject:TimeOut problem while RetrievingMessage
Summary:TimeOut problem while RetrievingMessage
Messages:2
Author:Entero Gusten
Date:2010-03-08 16:05:35
Update:2010-07-16 08:27:09
 

  1. TimeOut problem while RetrievingMessage   Reply  
Picture of Entero Gusten
Entero Gusten
2010-03-08 16:05:35
Hi,

I noticed strange error while retrieving messages from mailbox. This problem occurs ONLY on one specific email message. During retrieving this message it is only possible to read two lines:
+OK Top of message follows
X-x: TimeOut

After that connection is broken (I think), because any other execution of function GetLine() ends up with the PHP fatal error: Maximum execution time of 15 seconds exceeded in.... this line:

$line.=fgets($this->connection,100);

When I have manually deleted this ONE specific email from mailbox, the problem disappeard. If you want, I can post a header information of this email.

  2. Re: TimeOut problem while RetrievingMessage   Reply  
Picture of Manuel Lemos
Manuel Lemos
2010-07-16 08:27:10 - In reply to message 1 from Entero Gusten
Sorry for the delay. Only now I noticed this message was never replied.

Your problem seems to be the fact that the message you are retrieving seems to be long and it exceeds the configured PHP execution limit, which in your case seems to be 15 seconds.

The only solution for that seems to be increase the PHP execution limit option, if allowed in your system.