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


read email from exchange server with vb.net

Posted on 2010-11-16
Medium Priority
Last Modified: 2012-05-10
I am writing a vb.net application that reads emails from an exchange mailbox and sends back replies.  A previous version of this program in vb6 used ms outlook but I would prefer to drop outlook if possible.  I also do not want to use any third party dll's.

I do not mind if it uses smtop/pop3 or connects directly to exchange.
Question by:iepaul
LVL 70

Expert Comment

by:Éric Moreau
ID: 34144736
I don't think you have much choice but to use a 3rd party. I use http://www.lesnikowski.com/mail/
LVL 25

Accepted Solution

Luis Pérez earned 1000 total points
ID: 34144805
If you're working with Exchange Server 2007 or later, you can connect with Exchange Web Services.

Here you can get more information:

Hope that helps.

Author Comment

ID: 34153245
Exchange web services looks like a good approach but I am haveing difficutly find easy to follow examples ideally in vb.net but c# would do as it can be converted.  I need to be able to do a few basic tasks
check is there is a new email
read the new email
delete the new email once read
send an email
have you seen any?
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.


Author Comment

ID: 34153552
Thanks but those examples are using webdav and reading technet it looks like ews is the better way to go

WebDAV is used to develop messaging applications. WebDAV provides access to folders, items, and item properties in the Exchange store. WebDAV can remotely access Exchange. WebDAV is de-emphasized in Exchange 2007. We recommend that you develop new messaging applications using Exchange Web Services, and migrate existing applications when feasible.
LVL 83

Assisted Solution

CodeCruiser earned 1000 total points
ID: 34153592
LVL 83

Expert Comment

ID: 34344313
The question asked here was very generic and links to many tutorials were pasted. The answer that the asker has referred to is for a different question,

Author Comment

ID: 34344363
codecruiser you are absolutely correct.  I was thinking about another issue while closing this question.

Featured Post


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

Question has a verified solution.

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

Well, all of us have seen the multiple EXCEL.EXE's in task manager that won't die even if you call the .close, .dispose methods. Try this method to kill any excels in memory. You can copy the kill function to create a check function and replace the …
Article by: Kraeven
Introduction Remote Share is a simple remote sharing tool, enabling you to see, add and remove remote or local shares. The application is written in VB.NET targeting the .NET framework 2.0. The source code and the compiled programs have been in…
Integration Management Part 2
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…
Suggested Courses
Course of the Month18 days, 9 hours left to enroll

825 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