[PHP-DOC] #15944 [Asn->Csd]: imap_sort Error From: kalowsky <email protected>
Date: 08/14/02

 ID: 15944
 Updated by: kalowsky <email protected>
 Reported By: vicviper <email protected>
-Status: Assigned
+Status: Closed
 Bug Type: Documentation problem
 Operating System: Windows XP
 PHP Version: 4.1.1
 Assigned To: sander
 New Comment:

So the bug is closed, yes? While there may be other functions out
there that need documentation added, leaving this open isn't going to
help.

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

[2002-08-14 06:49:30] albertsori <email protected>

But this function (imap_sort) works perfectly under win2K. why?? if
anyone knows how to do it work with XP, tell me at albertsori <email protected>
I´m sorry, I´m Spanish and my English is too bad, ¡I think!

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

[2002-03-12 08:21:26] sander <email protected>

Fixed that sentence, but the rest of the functions might need notes
about the availability on POP/NNTP servers.

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

[2002-03-08 03:26:36] sniper <email protected>

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 <email protected>

<?
$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

-- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php