[imp] acquiring directories

Michael M Slusarz slusarz at mail.curecanti.org
Thu Jul 28 08:53:34 PDT 2005


Quoting brook davis <brook at linuxbox.com>:

> Hi all,
>
> I've been trying to obtain an array with all of the directories for
> someone's mail account in imp.  I've been using :
>
> $imp_folder = &IMP_Folder::singleton();
> $folders=$imp_folder->flist_IMP();
>
> The above returns an array of arrays, however, it seems incomplete, as
> some of the subfolders are not returned.  Is there another way to do
> this?  I've been searching through the online API, but so far I've not
> looked under the right rock.
>
> Any assistance greatly appreciated,

Just use imap_list() or imap_lsub() for a list of mail directories.

michael

_______________________________________
Michael Slusarz [slusarz at curecanti.org]


More information about the imp mailing list