Solved

read email from exchange server with vb.net

Posted on 2010-11-16
9
2,324 Views
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.
0
Comment
Question by:iepaul
9 Comments
 
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/
0
 
LVL 25

Accepted Solution

by:
Luis Pérez earned 250 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:
http://msdn.microsoft.com/en-us/library/bb204119(EXCHG.80).aspx

Hope that helps.
0
 

Author Comment

by:iepaul
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?
0
Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

 
LVL 83

Expert Comment

by:CodeCruiser
ID: 34153471
0
 

Author Comment

by:iepaul
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.
0
 
LVL 83

Assisted Solution

by:CodeCruiser
CodeCruiser earned 250 total points
ID: 34153592
0
 

Author Comment

by:iepaul
ID: 34344174
0
 
LVL 83

Expert Comment

by:CodeCruiser
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,
0
 

Author Comment

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

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
More on Time zones in vb 2010 12 38
Help with Query not working in client's PC 1 36
Help with error when uploading excel file 3 26
cannot connect to sqlserver 8 25
A while ago, I was working on a Windows Forms application and I needed a special label control with reflection (glass) effect to show some titles in a stylish way. I've always enjoyed working with graphics, but it's never too clever to re-invent …
Since .Net 2.0, Visual Basic has made it easy to create a splash screen and set it via the "Splash Screen" drop down in the Project Properties.  A splash screen set in this manner is automatically created, displayed and closed by the framework itsel…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

806 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