problem getting the list of mailboxes
| From: | Putu Agus | Date: | Wed, 07 Jan 2009 05:43:41 +0000 |
| Subject: | problem getting the list of mailboxes | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-29120@lists.php.net to get a copy of this 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