Bug #15944 Updated: imap_sort Error

From: Date: Tue, 12 Mar 2002 13:21:27 +0000
Subject: Bug #15944 Updated: imap_sort Error
References: 1  Groups: php.bugs php.doc 
Request: Send a blank email to php-bugs+get-2295@lists.php.net to get a copy of this message
ID: 15944 Updated by: sander@php.net Reported By: vicviper@skcc.com Status: Analyzed Bug Type: Documentation problem Operating System: Windows XP PHP Version: 4.1.1 New Comment: Fixed that sentence, but the rest of the functions might need notes about the availability on POP/NNTP servers. Previous Comments: ------------------------------------------------------------------------ [2002-03-08 03:26:36] sniper@php.net This is documentation problem. When you use pop3 it doesn't have all the capabilities as imap has. Search & sorting are one of the missing ones, AFAIK. On this page: http://www.php.net/manual/en/function.imap-open.php Is a faulty line which confuses (at least me :) "This function can also be used to open streams to POP3 and NNTP servers, but some functions and features are not available on IMAP servers. " It should be saying "..features are only available on IMAP.." --Jani ------------------------------------------------------------------------ [2002-03-07 21:09:38] vicviper@skcc.com <? $mailstream = imap_open ("{mail.hananet.net:110/pop3}INBOX", "vicviper", "vicviper93"); imap_sort($mailstream, SORTDATE, 1); //<<< ERROR Point!!! ?> // if u run it on Windows. U will see the error message "ERROR PHP.EXE" and "Gate ERROR"!! /* My System Windows XP, IIS 5.1, Expoler 6.0, PHP 4.1.1 */ ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=15944&edit=1

« previous php.bugs (#2295) next »