Creates new subfolder (Rebex.Net.EwsFolderId) in an exchange folder

0 votes
asked Jan 28 by apriemyshev (220 points)

Is it possible to creates the new subfolder of the special exchange class ('IPF.Note') in an exchange folder ?


Applies to: Rebex Secure Mail

1 Answer

0 votes
answered Jan 29 by Pavel Matyska (15,060 points)
selected Jan 29 by apriemyshev
Best answer


we are sorry. You can create subfolders using Rebex EWS, but you cannot specify "special exchange class" for it.
All newly created subfolders will be of the 'IPF.Note' class, which is default.

Sample of creating subfolders:

var ews = new Ews();
var inboxId = ews.GetFolderId(EwsSpecialFolder.Inbox);
var testId = ews.CreateFolder(inboxId, "Test");
var subTestId = ews.CreateFolder(testId, "Test-sub");
commented Jan 29 by apriemyshev (220 points)
not always IPF.Note class, but depending on the type of parent folder
commented Jan 29 by Pavel Matyska (15,060 points)
Thank you for the clarification how exchange server treats new subfolders.