Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Outlook and VFP
Message
 
 
To
10/04/2002 12:53:08
Bill Gravell
Indoor Purification System
Menifee, California, United States
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Miscellaneous
Thread ID:
00641139
Message ID:
00643333
Views:
9
< snip >

Here's a sample code that displays the subject and sender for each email in the Inbox
oOutLookObject = CREATEOBJECT("Outlook.Application")
olNameSpace = oOutlookObject.GetNameSpace("MAPI")

oInbox = olNameSpace.GetDefaultFolder(6)

?oInbox.Items.Count

For each oItem in oInbox.Items
    ? oItem.subject
    ? oItem.SenderName
Next
There's should be VBAOUT*.chm somewhere on your HD or Office CD with Outlook object model.
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform