php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #15944 imap_sort Error
Submitted: 2002-03-07 21:09 UTC Modified: 2004-05-02 07:51 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: vicviper at skcc dot com Assigned: sander (profile)
Status: Closed Package: Documentation problem
PHP Version: 4.1.1 OS: Windows XP
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: vicviper at skcc dot com
New email:
PHP Version: OS:

 

 [2002-03-07 21:09 UTC] vicviper at skcc dot 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
*/

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-03-08 03:26 UTC] 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-12 08:21 UTC] sander@php.net
Fixed that sentence, but the rest of the functions might need notes about the availability on POP/NNTP servers.
 [2002-08-14 06:49 UTC] albertsori at terra dot es
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!
 [2002-08-14 18:20 UTC] kalowsky@php.net
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.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Sep 19 14:01:28 2024 UTC