Solved

VB.net Check mailbox using MAPI

Posted on 2010-09-23
2
570 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

Question has a verified solution.

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

In-place Upgrading Dirsync to Azure AD Connect
This article will help to fix the below errors for MS Exchange Server 2013 I. Certificate error "name on the security certificate is invalid or does not match the name of the site" II. Out of Office not working III. Make Internal URLs and Externa…
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…
how to add IIS SMTP to handle application/Scanner relays into office 365.
Suggested Courses

624 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