Bug #11500 Updated: imap_header imap_fetchstructure can't return any value when ...

From: Date: Fri, 15 Jun 2001 14:06:06 +0000
Subject: Bug #11500 Updated: imap_header imap_fetchstructure can't return any value when ...
Groups: php.dev 
Request: Send a blank email to php-dev+get-56735@lists.php.net to get a copy of this message
ID: 11500 Updated by: sniper Reported By: lidongsheng2001@hotmail.com Old-Status: Open Status: Feedback Bug Type: IMAP related Operating system: PHP Version: 4.0.4pl1 Assigned To: Comments: It's most likely the connection that dies. Try adding some check for that into the script. Also try adding sleep(1); before the imap_fetchstructure(). This might be some timing issue. Also check what your imap servers logs have got about this. Previous Comments: --------------------------------------------------------------------------- [2001-06-15 06:05:28] lidongsheng2001@hotmail.com Imap_fetchstructure can't return values when a script includes a cycle ,for example 'while' getting parameters from mailbox using imap_fetchstructure. example: while($i<300) ... $partinfo=imap_fetchstructure($mailstream,$i); ... When $i is large than certain number such as 200 but variable by different users and other situation,$partinfo return null array. I hope that you will do me a favour! --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=11500&edit=2

« previous php.dev (#56735) next »