Quantcast
Channel: ImapX 2
Viewing all articles
Browse latest Browse all 1952

Commented Unassigned: I'm not getting load the subfolders of my email account. [1762]

$
0
0
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 **

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?


Viewing all articles
Browse latest Browse all 1952

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>