|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #11603 imap_sort function fails on huge mailboxes
Submitted: 2001-06-21 04:15 UTC Modified: 2002-06-26 23:59 UTC
From: elnar at azdata dot net Assigned:
Status: Not a bug Package: IMAP related
PHP Version: 4.0.5 OS: FreeBSD
Private report: No CVE-ID: None
 [2001-06-21 04:15 UTC] elnar at azdata dot net
Size of mailbox: 200MB
C-Client updated to the newest stable available now, something kind of 2000
phpinfo() shows IMAP 4.1
1) What is IMAP 4.1. What IMAP libraries does line meen?
2) imap_sort function failes on such huge mailbox accounts
it shows "fuction call failed" and nothing more. No reason of this falure given. And what is strange that only imap_sort function fails! But at the same time it perfectly works at accounts not larger than 50MB

I really need help about that
Elnar C Hajiev


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-06-22 18:15 UTC]
IMAP 4.1  is the IMAP protocol version as specified uin RFC2060

and regarding imap_sort() i'd guess that it runs
into a timeout or that the number of messages
in your mailbox is so high that it runs out of
buffer space

remember: IMAP sorting and searching is done by
          the IMAP server, not the client

i don't have the c-client code at hand, but i'm 
rather sure the "function call failed" message is
*not* produced by php
 [2002-06-26 23:59 UTC]
Thank you for taking the time to report a problem with PHP.
Unfortunately your version of PHP is too old -- the problem
might already be fixed. Please download a new PHP
version from

If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Feb 23 14:01:30 2024 UTC