General information
Category:
COM/DCOM and OLE Automation
Title:
Logon to another users Outlook
I am writing an application that will interface a "task list/calendar" application to an Exchange/Outlook 2000.
The application will need to logon to each individual user and then add or modify an event in their calendar.
I have the updating piece working on my own folders, but I am unable to login to other users folders.
I have gone into the Active Directory and granted myself Send Permission for the individual users, but I am still getting a permission error message.
Has anyone done this and can help me out?
My login code is as follows:
oOutLookObject = CreateObject("Outlook.Application")
oNameSpace=oOutlookObject.GetNameSpace("MAPI")
oNameSpace.Logon("Jacob", "password", .F.)
oTaskFolder=oNameSpace.GetDefaultFolder(olFolderTasks)
Get permission error message on previous line.
TIA
-Mark
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only