Solved

VB.net Check mailbox using MAPI

Posted on 2010-09-23
2
555 Views
Last Modified: 2012-06-27
Hi, I am writing an application that will need to connect to a MAPI (MS Exchange 2007) email box, grab the contents with attachments, store in database and then move the mail to a "processed" folder. I'm having trouble getting started with the connect to MAPI part. Any suggestions?

I took a look at this:
http://www.codeproject.com/KB/IP/CMapiEx.aspx?fid=195303&df=90&mpp=25&noise=3&sort=Position&view=Quick&fr=76&select=2522221
but I'm just not a C guy and I can't even seem to get the DLL to reference correctly in my project.

I'm using VS 2010.
0
Comment
Question by:DEWebWorks
2 Comments
 
LVL 42

Expert Comment

by:sedgwick
ID: 33749512
0
 

Accepted Solution

by:
DEWebWorks earned 0 total points
ID: 33947122
So, I opened a ticket with Microsoft on this and determined that the best (and pretty much only way) to handle this is to use Exchange Web Services (when using Exchange 2007+).

Here are some articles that helped me get started:

http://msdn.microsoft.com/en-us/library/dd633626(EXCHG.80).aspx
http://msdn.microsoft.com/en-us/library/bb408521(EXCHG.140).aspx
http://www.microsoft.com/downloads/en/details.aspx?displaylang=en&FamilyID=c3342fb3-fbcc-4127-becf-872c746840e1
0

Featured Post

Do email signature updates give you a headache?

Are you constantly making changes to email signatures? Are the images not formatting how you want them to? Want high-quality HTML signatures on all devices, including on mobiles and Macs? Then, let Exclaimer solve all your email signature problems today.

Question has a verified solution.

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

Lotus Notes – formerly IBM Notes – is an email client application, while IBM Domino (earlier Lotus Domino) is an email server. The client possesses a set of features that are even more advanced as compared to that of Outlook. Likewise, IBM Domino is…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
In this video we show how to create an email address policy in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.:  First we need to log into the Exchange Admin Center. Navigate to the Mail Flow…
This video demonstrates how to sync Microsoft Exchange Public Folders with smartphones using CodeTwo Exchange Sync and Exchange ActiveSync. To learn more about CodeTwo Exchange Sync and download the free trial, go to: http://www.codetwo.com/excha…

920 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now