Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Outlook and VFP
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Miscellaneous
Thread ID:
00641139
Message ID:
00643367
Views:
10
? oItem.ReceivedTime
The Intellisense and Object Browser in VFP7 make it mach easier to find stuff like that.

>Sergey:
>
>have been looking in the CHM file but cant find the "date received" property for email msgs. Do u know what it is?
>
>thx...
>
>>< 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
Reply
Map
View

Click here to load this message in the networking platform