#15944 [Com]: imap_sort Error
| From: | albertsori at terra dot es | Date: | Wed, 14 Aug 2002 10:49:31 +0000 |
| Subject: | #15944 [Com]: imap_sort Error | ||
| References: | 1 | Groups: | php.bugs php.doc |
| Request: | Send a blank email to php-bugs+get-16752@lists.php.net to get a copy of this message | ||
ID: 15944
Comment by: albertsori@terra.es
Reported By: vicviper@skcc.com
Status: Assigned
Bug Type: Documentation problem
Operating System: Windows XP
PHP Version: 4.1.1
Assigned To: sander
New Comment:
But this function (imap_sort) works perfectly under win2K. why?? if
anyone knows how to do it work with XP, tell me at albertsori@terra.es
I´m sorry, I´m Spanish and my English is too bad, ¡I think!
Previous Comments:
------------------------------------------------------------------------
[2002-03-12 08:21:26] sander@php.net
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@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