mailimap_lsub problem

Marko Ivancic <[email protected]> Wed, 29 Mar 2006 13:07:59 +0200
Newsgroups gmane.mail.libetpan.user
Message-ID <[email protected]>
Hi.

I use mailimap_lsub to retrive mail folders from IMAP server like this:

mailimap_lsub(imap, "", "*",&list);  // (the  same way as etpan does)

But in the result list there are folders that can not be connected for 
example:

mail/
mail
mail/sent/
mail/inbox

The folder: mail/ and mail (is the same folder) can not be connected. 
Is  there any way to find out which folder can be connected and which not.

Tnx

BY,
Marko


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642