I've got a Mail (vTodo). How we can create a Task with the ExchangeSDK or another methode?
I believe Exchange (and Outlook) don't currently support the vTodo ical part currently only VEVENT is supported. The bodypart should however be in clear text so one idea would be to parseout the vToDo bodypart and then manually create a task and set the corresponding MAPI properties. The Outlook Object Model is the only supported API for creating tasks (which is useless in an event sink) you can create task using ADO/CDOEX using a workaround which is more appropriate in an event sink you just need to set the contentclass and outlookmessageclass properties manually eg TASK_FOLDER_URL = "http://server/exchange/mailbox/tasks/" set oTask = CreateObject("CDO.Message") With oTask .Fields("DAV:contentclass").Value = "urn:content-classes:task" .Fields("http://schemas.microsoft.com/exchange/outlookmessageclass").Value = "IPM.Task" .Fields("urn:schemas:mailheader:subject").Value = "Task Subject" .Fields("urn:schemas:httpmail:textdescription").Value = "Blah" .Fields("http://schemas.microsoft.com/mapi/id/{00062003-0000-0000-C000-000000000046}/0x00008102")= 0.0 .Fields("http://schemas.microsoft.com/mapi/id/{00062003-0000-0000-C000-000000000046}/0x0000811c") = False .Fields("http://schemas.microsoft.com/mapi/id/{00062003-0000-0000-C000-000000000046}/0x00008101") = False .Fields("http://schemas.microsoft.com/mapi/id/{00062003-0000-0000-C000-000000000046}/0x00008113") = 1 .Fields("http://schemas.microsoft.com/mapi/id/{00062003-0000-0000-C000-000000000046}/0x00008110") = 0 .Fields("http://schemas.microsoft.com/mapi/id/{00062003-0000-0000-C000-000000000046}/0x00008101") = Clng(0) .Fields("http://schemas.microsoft.com/mapi/id/{00062003-0000-0000-C000-000000000046}/0x00008111") = 0 .Fields("http://schemas.microsoft.com/mapi/id/{00062003-0000-0000-C000-000000000046}/0x00008103") = 0 .Fields.Update .DataSource.SaveToContainer TASK_FOLDER_URLEnd WithCheersGlen"ajann" wrote in messagenews:OtvUK7ghFHA.3692@TK2MSFTNGP09.phx.gbl...> I've got a Mail (vTodo). How we can create a Task with the ExchangeSDK oranother methode?>>