Solved

VB.net Check mailbox using MAPI

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

MIM Survival Guide for Service Desk Managers

Major incidents can send mastered service desk processes into disorder. Systems and tools produce the data needed to resolve these incidents, but your challenge is getting that information to the right people fast. Check out the Survival Guide and begin bringing order to chaos.

Question has a verified solution.

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

This article explains in simple steps how to renew expiring Exchange Server Internal Transport Certificate.
This article explains how to install and use the NTBackup utility that comes with Windows Server.
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

830 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