Click here to Skip to main content
15,891,184 members
Please Sign up or sign in to vote.
3.00/5 (1 vote)
See more:
Using Visual Studios 2008 (sp1)
Outlook 2010

It looks like my versions are not capable of working together, but this is what I want to do. I need to programmaticly go through a 2010 Outlook inbox, pull all text from body where mail subject = "something" and load it in a database. I can get a hold of inbox (Recipient.Resolve()) and see the number of items in
C#
ns.GetSharedDefaultFolder(myRecipient, Microsoft.Office.Interop.Outlook.OlDefaultFolders.olFolderInbox);

, but I cant seem to get to the body of the mail item. I have already kluged VBA macro that stuffs the text into excel,, but I really need to do this as a background service.

am I wasting my time because of the versions?
Posted
Updated 17-Nov-15 5:50am
v3

1 solution

Hi,

Use exchange web API(EWS) and do whatever you want.Other option won't work.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900