Solved

VB.net Check mailbox using MAPI

Posted on 2010-09-23
2
553 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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
Scam emails are a huge burden for many businesses. Spotting one is not always easy. Follow our tips to identify if an email you receive is a scam.
In this video we show how to create a Contact 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 Recipients >> Contact ta…
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…

747 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

11 Experts available now in Live!

Get 1:1 Help Now