Re: [PHP] IMAP sort help.

2001-03-15 Thread Terrence Wong
Is there a possibility that the imap_sort function is not capatible with APPLE servers? For my unix server, I have used the lastest imap services? Still problem persist for imap_sort to APPLE imap servers. terrence Chris Lee wrote: > imap functions are notorious for not returning anything usfu

Re: [PHP] IMAP sort help.

2001-03-14 Thread Terrence Wong
Hi chris. The codes works on my linux box too. But retaining the codes, I proceed to connect to a imap server on a APPLE machine. Everything works except it stops at imap_sort. Is there a conflict between mac and linux?? terrence Chris Lee wrote: > imap functions are notorious for not return

Re: [PHP] IMAP sort help.

2001-03-14 Thread Chris Lee
imap functions are notorious for not returning anything usfull, same with xslt functions. $headers = imap_sort($this->imap_stream, SORTARRIVAL, 1, SE_UID ); this wrks on my linux box. its almost exactly the same as yours. one thing I found is try playing with if ($this->imap_folder)

[PHP] IMAP sort help.

2001-03-14 Thread Terrence Wong
This command works without problems on a local unix server. However, when I tried the exact same code , $sortmail = imap_sort($mailbox,SORTSIZE,1) on a remote imap server running on mac, it produces problems. (no error messages) I am unable to check the error messages as they are none. And adding