Information générale
Catégorie:
COM/DCOM et OLE Automation
>That is a start. However, I do not believe it quite does the trick. I need to have these contacts be part of a LIST. That way I can do a mailing to the entire LIST all in one process.
>
I had this conversation with someone recently. You can't create a distribution list through Automation without creating contact records for each person on the list (even though you can do that interactively). However, creating a distribution list once you have the contacts in is easy. Just use CreateItem to create a distribution list item (pass 7 to CreateItem).
Then, create a Recipients collection and use AddMembers to add it to the distribution list.
Tamar
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement