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
Solved

Cannot connect to exchange mailbox in VB.Net

Posted on 2008-06-18
3
1,029 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
  • 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

This article lists the top 5 free OST to PST Converter Tools. These tools save a lot of time for users when they want to convert OST to PST after their exchange server is no longer available or some other critical issue with exchange server or impor…
Read this checklist to learn more about the 15 things you should never include in an email signature.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

809 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