Solved

read email from exchange server with vb.net

Posted on 2010-11-16
9
2,504 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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

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…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

696 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