The CDOConfig Tool

CDOConfig.exe is a tool that comes with the J-Integra® for Exchange SDK and is used for configuring CDO. To configure CDO using CDOConfig.exe, follow these steps:

  1. Run CDOConfig.exe located in the /bin folder of your J-Integra® for Exchange installation directory.

  2. In the CDOConfig window, fill in the the following information:

  3. Service Account - this is any Windows user account that will be used to access the Exchange Server. This account must have an Exchange mailbox and must have local administrative rights to the CDO machine. Fill in the domain, username and password of this account in the corresponding text boxes.

    Mailbox - this is automatically filled in for you. By MS Exchange convention, the mailbox name is the same as the username.

    CDO Machine - this is also automatically filled in for you. It is the host name of machine where CDOConfig.exe is being run.

    Exchange Server - provide the host name or the IP address of your Exchange Server.

  4. After providing all the required information, click on "Apply" to configure CDO. If everything goes well, you should get a message saying CDO has been configured.

  5. You should also test the CDO configuration by clicking on the "Test Configuration" button. The test involves sending an e-mail message to the Service Account. Note that you will get security prompts from Outlook while running the test because it is implemented using VB. When it's time to run your Java-to-Exchange program, these security prompts will not appear.

  6. The CDOConfig.exe tool makes assumptions about some of the settings for a typical server where CDO is installed. If any of these settings are different on your own CDO machine, the CDOConfig.exe tool may fail to configure CDO properly (and error messages may appear when running the above CDO test). If this happens, please refer to the manual steps for CDO configuration. The manual steps for CDO configuration will walk you through each step one-by-one, and make sure all settings are correct.

  7. After you have successfully configured CDO, proceed to running a sample Java-to-Exchange application.

Note:

Note: Be sure the firewall is turned off on the CDO machine. J-Integra® works under firewalled systems but extra configuration is required for this setup to work. For now (and to expedite your evaluation), turn the firewall off. If you are interested on how to make J-Integra® work under firewalls, please refer to this KB article.

Also, please ensure that you are logged into the machine using the account you are configuring into CDOConfig. This is particularly important if you are using a Service Account as explained here.