ID: 11500 Updated by: andy Reported By: [EMAIL PROTECTED] 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] [EMAIL PROTECTED] 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] [EMAIL PROTECTED] 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 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]