Solved

VB.net Check mailbox using MAPI

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

Office 365 Training for IT Pros

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

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

How to resolve IMCEAEX NDRs in Exchange or Exchange Online related to invalid X500 addresses.
Unified and professional email signatures help maintain a consistent company brand image to the outside world. This article shows how to create an email signature in Exchange Server 2010 using a transport rule and how to overcome native limitations …
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…
how to add IIS SMTP to handle application/Scanner relays into office 365.

751 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