Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Outlook automation method
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00459181
Message ID:
00459193
Views:
24
Hi Vidar

This will show you the first Email in the Inbox
oOutlook = GetObject(,"Outlook.Application")
oNameSpace = oOutlook.GetNameSpace("MAPI")
oExplorer = oOutlook.Explorers.Add(oNameSpace.Folders[1],0)
oExplorer.Activate()
oInbox = oNameSpace.GetDefaultFolder( 6 )
omyItem = oinbox.Items(1)
omyItem.Display
HTH
Markus
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform