Roundcube Community Forum

Release Support => Pending Issues => Topic started by: webman on September 12, 2013, 01:30:52 AM

Title: get mailbox list with imap
Post by: webman on September 12, 2013, 01:30:52 AM
hi , guys
i want get mailboxes with use php imap functions
my code :
Code: [Select]
$list = imap_list($mbox, "{imap.example.org}", "*");
if (is_array($list)) {
    foreach ($list as $val) {
        echo imap_utf7_decode($val) . "\n";
    }
} else {
    echo "imap_list failed: " . imap_last_error() . "\n";
}

imap_close($mbox);

but show me only INBOX
please  help me
regard
Title: Re: get mailbox list with imap
Post by: SKaero on September 12, 2013, 12:01:22 PM
I'm not sure what your question has to do with RoundCube. RoundCube doesn't use the PHP IMAP library.