How To Use CDO (1.x) to Loop Through All Mailboxes in the GAL (203019)
The information in this article applies to:
- Collaboration Data Objects (CDO) 1.2
- Collaboration Data Objects (CDO) 1.21
This article was previously published under Q203019 SUMMARY
Using CDO (1.2, 1.21), you can obtain a list of mailboxes from the Global Address List (GAL), and then using the ProfileInfo parameter of the Session.Logon method, you can loop through all of the mailboxes. Within that loop, you can either get information from the mailbox or perform maintenance on the mailboxes. This article demonstrates how to do this.
REFERENCES
For additional information, click the following article numbers to view the articles in the Microsoft Knowledge Base:
171440
INFO: Where to acquire the CDO libraries (all versions)
177851 How To Build a CDO (1.x) messaging application to run from a service
200018 INFO: Differences between CDO, Simple MAPI, and Extended MAPI
262054 XADM: How to get service account access to all mailboxes in Exchange 2000
291169 OL2002: General information about CDO 1.21s
Modification Type: | Minor | Last Reviewed: | 7/13/2004 |
---|
Keywords: | kbhowto kbMsg KB203019 |
---|
|