?
Solved

Cannot connect to exchange mailbox in VB.Net

Posted on 2008-06-18
3
Medium Priority
?
1,033 Views
Last Modified: 2013-11-07
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
Comment
Question by:wilks01
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 22

Expert Comment

by:cookre
ID: 21821568
What is the nature of the failure?
0
 

Author Comment

by:wilks01
ID: 21826229
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
 

Accepted Solution

by:
wilks01 earned 0 total points
ID: 21834989
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

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this post we will learn different types of Android Layout and some basics of an Android App.
A couple of months ago we ran into an issue that necessitated re-creating our Edge Subscriptions. However, when we attempted to execute the command: New-EdgeSubscription -filename C:\NewEdgeSub_01.xml we received an error indicating that the LDAP se…
Progress
Starting up a Project
Suggested Courses

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question