Working with Tasks on Exchange Server
Working with Tasks
Aspose.Email supports processing tasks on Exchange Server using the ExchangeTask class. Different properties exposed by ExchangeTask, like Subject, Status, DueDate, and Priority, can be used to configure the task on Exchange. The IEWSClient class exposes functions like CreateTask, UpdateTask, and DeleteTask which are used to process tasks on the Exchange Server. This article shows how to:
- Create a new task.
- Set a task’s timezone.
- Update a task.
- Delete a task.
- Send Task Request
- Save Task to Disc
Create New Task
The following code snippet shows you how to use create a new task.
Specifying Timezone
The IEWSClient interface and ExchangeTask provide the TimeZoneId property for setting timezone information when creating a task. The following code snippet shows you how to specify Timezone.
Update Task
The following code snippets show how to update a task on the Exchange server.
Delete Task
The following code snippet shows you how to delete a task on the Exchange server.
Sending Task Request
Aspose.Email Exchange service provides the capability to send task requests similar to Outlook. The following code snippet shows you how to load a task request message from the disc and send it using the IEWSClient.
Saving Task to Disc
Aspose.Email also allows saving Exchange Tasks to disc in Outlook MSG format. The following code snippet shows you how to save a task to disc.