ID:               21170
 User updated by:  [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Feedback
+Status:           Open
 Bug Type:         IMAP related
 Operating System: Windows 2000 Advanced Server
-PHP Version:      4.2.3
+PHP Version:      4.4.0
 New Comment:

I've just installed the version you told me about (4.4.0) and I just
made up a mail message with over 360 recipients in my mailbox and the
php script keep doing like that: it is loading for 1-2 minutes and then
the browser tells me "The page cannot be displayed"


Previous Comments:
------------------------------------------------------------------------

[2002-12-24 01:03:52] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php4-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-latest.zip

------------------------------------------------------------------------

[2002-12-23 21:43:49] [EMAIL PROTECTED]

1. I mention that my PHP webmail interface is on a server running
Apache 2.0.36 on Windows 2000 Advanced server.

2. I presumed that the script may break at line with the imap_sort
function because this is the first line that attempts to access the
messages on the mail server but it may break wherever at the lines
where I loop through the results with imap_headerinfo.

------------------------------------------------------------------------

[2002-12-23 21:39:01] [EMAIL PROTECTED]

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 this bug report at http://bugs.php.net/?id=21170&edit=1

Reply via email to