Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to get inbox folder instance?

If I want to know how many items in inbox, I use TotalCount Property, but how do I get inbox folder first? If I use FindFoldersResults findFolders=service.FindFolders() method, what is the parentfolder name for inbox? Thank you.

like image 874
Steven Zack Avatar asked Jan 18 '23 23:01

Steven Zack


1 Answers

Use

var folder = Folder.Bind(service, WellKnownFolderName.Inbox);
like image 101
Henning Krause Avatar answered Jan 21 '23 14:01

Henning Krause