Re: IMAP sort help.

From: Date: Wed, 14 Mar 2001 17:11:15 +0000
Subject: Re: IMAP sort help.
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-43897@lists.php.net to get a copy of this message
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) $this->imap_stream = @imap_open($this->imap_stream_string, $this->imap_username, $this->imap_password); else $this->imap_stream = @imap_open($this->imap_stream_string, $this->imap_username, $this->imap_password, OP_HALFOPEN); if there is a folder then do no use OP_HALFOPEN. I had to use this to get nntp working right. -- Chris Lee Mediawaveonline.com ph. 250.377.1095 ph. 250.376.2690 fx. 250.554.1120 lee@mediawaveonline.com "Terrence Wong" <terrence@edlabs.com> wrote in message news:3AAF6B99.F0E4B5A0@edlabs.com... 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 on to that, the HTML have been terminated without any error messages without completing the entire html closing tags. All functions works, except imap_sort? Anyone? any ideas? terrence -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#43897) next »