php-windows Digest 7 Jan 2009 05:43:45 -0000 Issue 3554
Topics (messages 29120 through 29120):
problem getting the list of mailboxes
29120 by: Putu Agus
Administrivia:
To subscribe to the digest, e-mail:
[email protected]
To unsubscribe from the digest, e-mail:
[email protected]
To post to the list, e-mail:
[email protected]
----------------------------------------------------------------------
--- Begin Message ---
Dear All,
I want to get all folders under my INBOX,
I look around and try it with many examples, but none.
Here's my code:
$mbox = imap_open("{myimap.server:110/pop3}", "xxxx","xxxx")
or die("can't connect: " . imap_last_error());
$list = imap_getmailboxes($mbox, "{myimap.server:110/pop3}", "*");
print_r($list);
//end
The result is only one show up INBOX folder.
Actually under INBOX folder, there is another folder.
Please Help ?
--
Regards
~pap
--- End Message ---