Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Accessing email addresses in Outlook
Message
De
02/11/2004 11:33:55
 
 
À
02/11/2004 10:49:23
Stan Vaninger
Mitek Industries, Inc
Missouri, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP4
Network:
Windows NT
Database:
Visual FoxPro
Divers
Thread ID:
00956609
Message ID:
00957081
Vues:
24
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?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform