Hi,
How can I set a MapiTask’s status like in-progress,etc?
Hi,
How can I set a MapiTask’s status like in-progress,etc?
Hi Alair,
Thank you for writing to Aspose support team.
You can use the Status flag of MapiTask to set the status of the Task. The MapiTaskStatus enumerator provides all the possible options available similar to Microsoft Outlook. Please refer to the following code sample and let us know if your requirements differ from these. We shall assist you further accordingly.
Code:
MapiTask task = new MapiTask("To Do", "Just click and type to add new task", DateTime.Now, DateTime.Now.AddDays(3));
task.Status = MapiTaskStatus.InProgress;
task.Save("MapiTask.msg", TaskSaveFormat.Msg);