To Find Mail Box names in Exchange Server

T

tsgd84

Hi all,

I would like to find the list of mailboxes in our exchange server.
Is there any way to find the mailbox name list using Extended MAPI or
should i go for any other API.
Any suggestions on this will be highly appreciated.

Thanx in advance,
Regards,
deena
 
G

Glen Scales [MVP]

You should be able to use the IExchangeManageStore interface in Extended
MAPI to get the information you want if your using Exchange 2003 there is a
new interface
IExchangeManageStore5 you can use to retrieve just the mailboxes or public
folders of the store you are targeting see
http://support.microsoft.com/kb/908072. Other API's you could use if your
using Exchange 2003 is WMI and the Exchange_mailbox class or you could use
ADSI (LDAP) to query Active Directory to display which AD accounts have
mailboxes in which stores.

Cheers
Glen
 
T

tsgd84

hi..,

Thanx for all ur help, IExchangeManageStore interface in Extended MAPI
is what i wanted, it worked fine.

regards,
deena
 
D

duraisridhar

Hi,
I used above steps to list my mailbox names list in exchange server.
When I tried to log on the other mail box using OpenMsgStore , my call
fails with error MAPI_E_FAILONEPROVIDER. I had created the server entry
id using CreateStoreEntryID as said in Platform SDK. The exchange
server settings of particular user mail box access for the
administrator user has both allow and deny access for the Full mail box
access. I'm uncertain whether the above said issue cause me the
problem. If yes, can anyone brief how should I over come it.
I found similar post in the following URL without any answer,
http://groups.google.com/group/micr...f1891ca0c7a/2ccceb6ca96bc3ee#2ccceb6ca96bc3ee

Regards,
Sridhar D
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top