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

From: Date: Sun, 22 Jul 2001 17:15:47 +0000
Subject: Bug #11500 Updated: imap_header imap_fetchstructure can't return any value when ...
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-60646@lists.php.net to get a copy of this message
ID: 11500 Updated by: andy Reported By: lidongsheng2001@hotmail.com Old Status: Feedback Status: Closed Bug Type: IMAP related Operating System: linux 7.0 PHP Version: 4.0.4pl1 New Comment: no feedback after 35+ days. Previous Comments: ------------------------------------------------------------------------ [2001-06-15 10:06:06] sniper@php.net 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. ------------------------------------------------------------------------ [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! ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=11500&edit=1

« previous php.dev (#60646) next »