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
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