new_user_xyz
asked on
Accessing Exchange Mailbox via ADO.NET
Hi everybody,
does anybody has any experience how to connect to an exchange server and read the content of the user mailboxes ? How must the connection string look like ? What is the structure of the exchange server database ? A little code example would be great ;-) .....
does anybody has any experience how to connect to an exchange server and read the content of the user mailboxes ? How must the connection string look like ? What is the structure of the exchange server database ? A little code example would be great ;-) .....
You can also use the ExOleDB provider.
Support Policy for Microsoft Exchange APIs with .NET Framework Applications
http://support.microsoft.com/?kbid=813349
HTH
Support Policy for Microsoft Exchange APIs with .NET Framework Applications
http://support.microsoft.com/?kbid=813349
HTH
ASKER
Hi NetPointer, hi vascov,
.... but there should be a way to connect to the exchange server via ADO.NET!!! .... does any body has any experience with that ??
.... but there should be a way to connect to the exchange server via ADO.NET!!! .... does any body has any experience with that ??
ExOLEDB is an OLEDB provider.
You can use System.Data.OleDb namespace.
You can use System.Data.OleDb namespace.
ASKER
allright, but how must the connection string look like ?
To get data from the exchange server's database I need to know the tablenames and the rownames etc. .... from where can I get info about the database schema ?
To get data from the exchange server's database I need to know the tablenames and the rownames etc. .... from where can I get info about the database schema ?
AFAIK: The ExOleDB provider (driver) only exists on machines on which Exchange is installed.
Take a look here:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wss/wss/_exch2k_using_ado_objects.asp
(http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wss/wss/_exch2k_ole_db_and_ado_access.asp)
D'Mzz!
RoverM
Take a look here:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wss/wss/_exch2k_using_ado_objects.asp
(http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wss/wss/_exch2k_ole_db_and_ado_access.asp)
D'Mzz!
RoverM
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
BTW, the password in the connection string is just for sample purposes. Don't do that in your production code :)
Did this help ?
ASKER
hi vascov, sorry my answer took so long ;-) ..... at the moment I've to do some other stuff and I will check out how to get access to the exchange mailbox via ADO.NET at the end of the week .... you'll get a message from me at that time ....
hi, have you had the opportunity to try it ?
ASKER
hi, not at all .... but I will try out as soon as possible ;-) ....
check the following url for further help
http://www.only4gurus.com/v2/preview.asp?ID=74
http://www.vbug.co.uk/dnz/support/faq/tsviewa.asp?AID=487&QID=479