Hi guys, Now I try to finish a email module, the key point of the module is the user can send the mail by using the outlook address book. It means I must have a way to retrieve all the email from the outlook address book. So does anyone know whether it is possible
? Any idea ? Thanks Sam
This is a tricky one, not because you can't do it, but because how you do it is likely to change as Microsoft add to the .Net Framework and change how Exchange works. This link gives you some background on how you used to do it in the days of VB6 and COM http://www.slipstick.com/dev/cdo.htm
I don't see why you can't still do this through COM Interop accessing the CDO dll (important note: CDO is not installed with Outlook by default, you have to specify it as an optional add-on), if you are in Visual Studio .Net you can just add a reference to
the Microsoft CDO 1.21 library and as I understand it (not tried it) you then have access to the global address book. If however, you have Exchange configured with Outlook Web Access then you could use the WebDAV protocol to access Exchange Store directly
and bypass Outlook altogether. here is a link that covers how you can go about doing that: http://www.codeproject.com/useritems/exdav.asp I strongly suspect Microsoft are going to come up with a much neater way of doing this in version 2 but until then we'll
have to use one of these 2 methods! ro.
A note on this: there is no way (that I know of) to access the client's Outlook Address Book; all you could do is access the Addess Book on the server that the application is running on. AutoFed
Hi autofed, Yes this is also one of my concern, so it seems that there is no way for the user using local address book. Thanks for your comments. Regareds Sam
samwbox2002
Member
166 Points
36 Posts
How to retrieve address book from Outlook ?
Aug 07, 2003 06:40 AM|LINK
rohancragg
Member
138 Points
31 Posts
Re: How to retrieve address book from Outlook ?
Aug 07, 2003 12:57 PM|LINK
samwbox2002
Member
166 Points
36 Posts
Re: How to retrieve address book from Outlook ?
Aug 08, 2003 01:38 AM|LINK
autofed
Participant
1789 Points
357 Posts
Re: How to retrieve address book from Outlook ?
Aug 08, 2003 01:42 AM|LINK
samwbox2002
Member
166 Points
36 Posts
Re: How to retrieve address book from Outlook ?
Aug 08, 2003 01:52 AM|LINK
samwbox2002
Member
166 Points
36 Posts
Re: How to retrieve address book from Outlook ?
Sep 15, 2003 04:35 AM|LINK