[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1036
  • Last Modified:

Cannot connect to exchange mailbox in VB.Net

I am trying to create a windows service that monitors an exchange mailbox for any new emails.  Once a new email arrives it needs to be forwarded or moved to the next person in my designated email queue.  I am having trouble connecting to the mailbox in .Net 2.0.  I have seen lots of articles with solutions for VB6 and some others that require me installing a development environment on my exchange server, I cannot do.  Any help would be greatly appreciated.
0
wilks01
Asked:
wilks01
  • 2
1 Solution
 
cookreCommented:
What is the nature of the failure?
0
 
wilks01Author Commented:
when trying to use ado via cdo.  I cannot compile the app because the version of adodb.dll I need to connect to exchange backoffice store can only be used on the exchange server.  I was wondering if there another way other than ado to connect.
0
 
wilks01Author Commented:
I did some research and was able to pull the cdoex.dll from the exchange server and register it on my local computer that allowed me to use ado to access the exchange objects.  If anyone tries this you have to remove the reference to the cdo.dll for windows 2000 before adding the cdo for exchange.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now