Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Inserting AdrressEntry entries in a Outlook Dist. List
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Inserting AdrressEntry entries in a Outlook Dist. List
Divers
Thread ID:
00678705
Message ID:
00678705
Vues:
51
Hi
I am trying to automatically create some distribution lists in a Outlook.Application object, and then add some entries into this list.
I know that i can create a recipients object, and use the addmembers property, but what i want to achieve is to mimic exactly what happens when clicking on the "Add New..." button in the distribution lists screen. When clicking on this button, this brings up a "Add New Member" dialog, with the following fields: Display Name, EMail Address, Address Type ( defaults to Internet Address ), and a check box stating "Add to contacts". This is exactly what i want to do: to create a list of names and email addresses that belong to a distr. list without having to enter all the members in the contacts.
I've tried msdn library, and i think the name of the object i am looking for is the AddressEntry object, but it's really not clear how to add it through automation.

TIA
Jaime
Why do programs stop working correctly as soon as you leave the Fox?
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform