Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Outlook Folders
Message
From
26/09/2000 10:06:50
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Outlook Folders
Miscellaneous
Thread ID:
00420897
Message ID:
00420897
Views:
40
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
Map
View

Click here to load this message in the networking platform