'i am trying to create a task in Outlook from VB.Net web page
'i can send the notification email but nothing happens when it is accepted
'and the task is always set on my own outlook
'does anyone know how i could prevent the task from being created on my
'own outlook and rather the recipiants?
'this is the code i have at the moment:


Dim objApp As Outlook.Application
Dim objTask As Object

objApp = CreateObject("Outlook.Application")
Dim oNS As Outlook._NameSpace = objApp.Session
oNS = objApp.GetNamespace("mapi")

objTask = objApp.CreateItem(3)

With objTask
.Subject = string
.Duedate = Date.Today
.StartDate = Date.Now
.Importance = Outlook.OlImportance.olImportanceHigh
.Body = string2
.ReminderSet = True
.Recipients.Add("email@mail.com")
.Assign(?)
.Send()
End With


Dim objCopy As Object
objCopy = objTask.Copy
objTask.Close(1)
objTask.delete()

objApp = Nothing
oNS = Nothing
objTask = Nothing


'many thanks Nathan