problem getting the list of mailboxes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux