The docs suggest:
my $folder = $mgr->open('=in/new'); my @subs = $folder->listSubFolders; my @subs = Mail::Box::IMAP4->listSubFolders(folder => '=in/new'); my @subs = Mail::Box::IMAP4->listSubFolders; # toplevel folders.
But if you are using local folders, don't you want Mail::Box::Mbox? (NB, the docs indicate that mbox files "For MBOX folders, sub-folders are simulated."
In reply to Re: Mail::Box::IMAP4
by idsfa
in thread Mail::Box::IMAP4
by geoffeg
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |