Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Accessing email addresses in Outlook
Message
From
02/11/2004 11:51:21
 
 
To
02/11/2004 11:33:55
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP4
Network:
Windows NT
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00956609
Message ID:
00957101
Views:
19
May I use Outlook.Application to automate Outlook ? I mean not Outlook Express !
Is there a way to retrive information from the Outlook Database without installing Outlook ?
Thank you
Alessio

>Hi Stan.
>
>What I cannot figure out, however, is how to do the same for the other address list in Outlook. We have a seperate contact list called 'LMC Address Book' which has an entry for each office employee that has email. This is the oNameSpace.AddressList(2) that I referred to in my initial post.
>
>
>oOutlook = CREATEOBJECT( [Outlook.Application] )
>oNameSpace = oOutlook.GetNamespace( [MAPI] )
>oAddressList = oNameSpace.AddressLists( [LMC Address Book] )
>FOR EACH oContact = oAddressList.AddressEntries
>  ?oContact.Class
>  ?oContact.Address
>  ?oContact.Name
>ENDFOR
>
>
>Does that help?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform