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