ImapX.ImapClient imap = new ImapX.ImapClient(strServidor,intPorta);
imap.Connection();
imap.LogIn(strLogin, strSenha);
List<Folder> folders = imap.GetFolders();
foreach (Folder fd in folders)
{
string str = fd.Name;
string strp = fd.FolderPath;
fd.SubFolder;//always brings 0 folders
}
Comments: ** Comment from web user: pavel_azanov **
imap.Connection();
imap.LogIn(strLogin, strSenha);
List<Folder> folders = imap.GetFolders();
foreach (Folder fd in folders)
{
string str = fd.Name;
string strp = fd.FolderPath;
fd.SubFolder;//always brings 0 folders
}
Comments: ** Comment from web user: pavel_azanov **
Hi dinhoguitars,
currently you can access the child folders only going through the folder tree like this:
```
folder.SubFolders["SubFolderName" or Index].SubFolders["SubFolder2Name" or Index]
```
At the moment there's no way to skip to a child folder directly, but I'll think about adding support for it.
I don't understand what you mean by your second question about ownership, can you give more dteails on that?