From: [EMAIL PROTECTED] Operating system: Windows 2000 Advanced Server PHP version: 4.2.3 PHP Bug Type: IMAP related Bug description: imap_sort seems to crash when reading mail messages with many recipients
I build an webmail interface for a Courier IMAP mail server on RedHat 7.3 Linux. There are some users which have mail messages containing very many recipients in the To or CC or BCC headers and when the PHP script get to the line imap_sort function the browser displays invariable "The page cannot be displayed". I tried to determine a maximum limit number of recipients on which the PHP script works fine and I've noticed a limit of 170 recipents in one header (To or CC or BCC). I also tried to find a error record in the php error log but I haven't found a thing. The line that I use is: $messages = imap_sort($mailbox, $imap_sort_criteria, $imap_sort_order, SE_NOPREFETCH); Thank you for your time. -- Edit bug report at http://bugs.php.net/?id=21170&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=21170&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=21170&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=21170&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=21170&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=21170&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=21170&r=support Expected behavior: http://bugs.php.net/fix.php?id=21170&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=21170&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=21170&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=21170&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=21170&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=21170&r=dst IIS Stability: http://bugs.php.net/fix.php?id=21170&r=isapi
