Roundcube Community Forum

 

get mailbox list with imap

Started by webman, September 12, 2013, 01:30:52 AM

Previous topic - Next topic

webman

hi , guys
i want get mailboxes with use php imap functions
my code :
$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

SKaero

I'm not sure what your question has to do with RoundCube. RoundCube doesn't use the PHP IMAP library.