Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Accessing email addresses in Outlook
Message
From
02/11/2004 11:33:55
 
 
To
02/11/2004 10:49:23
Stan Vaninger
Mitek Industries, Inc
Missouri, United States
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:
00957081
Views:
23
This message has been marked as the solution to the initial question of the thread.
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