General information
Category:
COM/DCOM and OLE Automation
We're using Microsoft Exchange Server in our company. Every user has the permission to change or view other users mailboxes, agendas,... My question: how can i access another user's inbox or outbox from visual Foxpro. Do you have to use "MAPI" as NameSpace or something else. Let me know... I use this code to access a local inbox:
oOutlook = CreateObject("Outlook.Application")
oNameSpace = oOutlook.GetNameSpace("MAPI")
oInbox = oNameSpace.Getdefaultfolder(olFolderInbox)
for each oInbox in oInbox.Items
endfor
thisform.refresh()
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