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

New Post: Nested Folder Structure and Access Mail From those Nested Folder.

$
0
0
Hi pavel_azanov I have folder structure like for my gmail account.

Gmail
---All Mail
---Drafts
---Important
---Spam
---Starred
Personal (i have created this folder )
---Dictionary
---MCA
---nptel
Placement Cell (this is also my defined folder)
---Company
---Applied
---Response
Professional
---Symantec
---Tycooz
ReadAgain
Receipts
Travel
Work

Successfully i can list down the folders. But how to download the mails from these nested structures.
i tried for these
var messageCollection2 = client.Folders["Sent Mail"].Search("ALL", MessageFetchMode.Full);
var messageCollection2 = client.Folders["Gmail/Sent Mail"].Search("ALL", MessageFetchMode.Full);

but its not working.

my question is can we access the mail from any particular folder by supplying its complete path.
for example can i use path like "Professional/Symantec"

Waiting for your response.
Thanks

Viewing all articles
Browse latest Browse all 1952

Trending Articles



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