Free Support Forum - aspose.com

Creating folders on Exchange

how can i create contact,calendar and task type folder into the exchange server using EWSClient ??

@alibardisk,

You can use the overloaded method of IEWSClient to create desired type of folder on Exchange Server. The ExchangeFolderType specifies all folder types that can be created with the API using the following statement.

client.CreateFolder("TasksFolder", ExchangeFolderType.Tasks) ;

PS: Please create a new thread for each different inquiry so as to avoid prolonging a thread and mixing things.

when i try to use this code. It shows “ExchangeFolderType” does not Exist.

@alibardisk,

Please include the using statement as follow in your application:

using Aspose.Email.Clients.Exchange;

Thank You so much sir…