Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to read all emails from personal folders of Outlook.
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00510727
Message ID:
00586252
Views:
22
Using this method can you get the number of attachments and the attachment itself one at a time? Can you show a sample?


>Ok ! I found how to do it. Thank to JVP Thread #479828 Message #481833.
>
>oOutLookObject = CREATEOBJECT("Outlook.Application")
>olNameSpace = oOutlookObject.GetNameSpace("MAPI")
>
>* Now, you can get an object reference to any folder by name. I will use my inbox as an example
>
>oInbox = olNameSpace.Folders("Personal Folders").Folders("Inbox")
>
>*You can get the number of items:
>
>?oInbox.Items.Count
>
>*You can go through the items:
>
>For each o in oInbox.Items
>    ?o.subject
>    ?o.Body
>Next o
>
>

>>>How can I read all emails from on folder of Outlook?
>>>
>>>I need to check if the email address of the 70 emails in one folder of Outlook exist in my .DBF. The folder is one of my personal folder.
>>>
>>>Any one done this before?
>>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform