ID: 11500 Updated by: sniper Reported By: [EMAIL PROTECTED] 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] [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! --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=11500&edit=2 -- 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]