-
Problem Sending a Task Request Through Outlook from a VB.Net Web Page
'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
Similar Threads
-
By Ray Smith in forum Web
Replies: 4
Last Post: 08-10-2001, 04:35 PM
-
By Jawahar Rajan in forum Java
Replies: 3
Last Post: 06-15-2001, 11:33 AM
-
By Jawahar Rajan in forum Enterprise
Replies: 0
Last Post: 06-13-2001, 09:50 AM
-
Replies: 1
Last Post: 04-05-2001, 10:59 AM
-
By Phong Tran in forum XML
Replies: 0
Last Post: 01-22-2001, 03:59 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks