Question:
Is there a simple way of getting Exchange public contacts into a .NET Application?
2007-08-05 20:26:19 UTC
This is such basic, powerful functionality I'm *sure* it must have been done before, but much as I search on Google I can't find anything that works.

I've tried half a dozen obscure "workarounds" to achieve this, not one of them has worked. All I get is error messages from deep inside the Mail API, and googling them simply leads to dead ends.

So if anyone out there knows how to simply get a list of public exchange contacts into a .NET application, I'd love to hear from you!
Three answers:
2007-08-05 20:53:58 UTC
You can use ADO to query Exchange server's store for its public contacts, through Exchange's built-in OLE DB driver (and use it to add / modify / delete contacts, too).



http://msdn2.microsoft.com/en-us/library/ms191461.aspx



I know the link above references SQL Server 2005, but you can use the basic concepts to connect from a .NET app using The System. Data. OleDb namespace
Brandon T
2007-08-05 20:35:52 UTC
I'd imagine you can export CSV, import into a database and use the .NET app to query the database.



I'm not sure if you're looking for a 'How to code...' or if you have a certain .NET application you're working with here- but that's probably your best bet.
bridewell
2016-11-11 13:11:07 UTC
Ohhh! i met the naughtiest guy on Y/A ! ! ! He became an extremely undesirable guy. He informed me what i'm, and who he's. Oh, me, oh, my. i do want He had not been only e mail ether, for He easily Mastered my little coronary heart.


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...