We have an application that currently uses the CDONTS library to query an Exchange server for attachments to e-mail. We will be switching to Windows Server 2003 which does not have that library. After some research, we think we need the CDOEX library to work with exchange. However, I cannot find out how to get that library on my VB6 development machine in order to alter our application. I dowloaded the Exchange SDK Tools but that does not seem to include the library. I'm sure I am missing something simple, but could use a pointer to anything that might help. Thanks
CDONTS is a simple SMTP mail provider that you can use to send email on a NT server. The provider itself has no provision for accessing an Exchange mailbox if your application is accessing a mailbox then I would suspect that you application maybe using CDO 1.2 if you post some of the code someone should be able to confirm this for you. CDOSYS is what replaces CDONTS on Windows 2x and can do everything that CDONTS could do in regards to sending email. CDOEX replaces CDOSYS when Exchange 2x is installed and can be used to access an Exchange mailbox over Exoledb. Because Exoledb can only be used locally on a Exchange server if you want to use CDOEX your code must run locally on the Exchange sever where the mailbox exists. see http://msdn.microsoft.com/library/default.asp?url=/library/en-us/e2k3/e2k3/_techsel_bytechnology.asp?frame=true for more detail If you want something that runs remotely to access an Exchange mailbox you could use CDO 1.2 and MAPI (or the Outlook Object Model) or you can use WebDAV to access the mailbox remotely. For more details on webdav see the Exchange SDK eg http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wss/wss/_esdk_enumerating_message_attachments_webdav.asp Cheers Glen "Chris Dunaway" wrote in message news:1AE1BB00-8175-40A2-A778-EB62625E7D24@microsoft.com... > We have an application that currently uses the CDONTS library to query an > Exchange server for attachments to e-mail. > > We will be switching to Windows Server 2003 which does not have that > library. After some research, we think we need the CDOEX library to work > with exchange. However, I cannot find out how to get that library on my > VB6 > development machine in order to alter our application. I dowloaded the > Exchange SDK Tools but that does not seem to include the library. > > I'm sure I am missing something simple, but could use a pointer to > anything > that might help. > > Thanks
> mailbox if your application is accessing a mailbox then I would suspect that > you application maybe using CDO 1.2 if you post some of the code someone > should be able to confirm this for you. You are correct. It is using CDO 1.21, and also CDO for Windows 2000 Library. It seems to be throwing ActiveX errors on a Windows Server 2003 box. I was just assigned the task of making sure they work, but I have not yet delved deeply into the code. I just wanted to find out if CDO 1.21 and CDO for Windows 2000 will work correctly on W2K3 and if they are installed by default on that OS. Thanks again,
CDO 1.2 and CDOSYS will work fine on a Windows 2003. But CDO 1.2 is not installed by default on a Windows 2003 server and does not belong to the OS codebase. CDO is basically a wrapper for MAPI so it needs an underlying MAPI provider the two ways to get CDO 1.2 installed are to install Exchange on the server (which is overkill if you just want CDO 1.2) or install Outlook making sure you have "Collaboration Data Objects" in the list of Outlook optional components in the Office/Outlook installation. Your ActiveX errors are most likely due to not having CDO 1.2 installed or your still trying to call the old CDONTS objects which wont exist on the server. Cheers Glen "Chris Dunaway" wrote in message news:166CF3F0-C0AC-4D7B-BB78-C6A130FFDEA9@microsoft.com... >> mailbox if your application is accessing a mailbox then I would suspect >> that >> you application maybe using CDO 1.2 if you post some of the code someone >> should be able to confirm this for you. > > You are correct. It is using CDO 1.21, and also CDO for Windows 2000 > Library. It seems to be throwing ActiveX errors on a Windows Server 2003 > box. I was just assigned the task of making sure they work, but I have > not > yet delved deeply into the code. I just wanted to find out if CDO 1.21 > and > CDO for Windows 2000 will work correctly on W2K3 and if they are installed > by > default on that OS. > > Thanks again, > >