Solved

Read Email Metadata

Posted on 2013-11-12
3
1,360 Views
Last Modified: 2013-11-13
Is there a way to extract metadata such as Sender and Sent Date from emails (.MSG) that have been added to normal SharePoint libraries (NOT email enabled libraries).

I cannot email enable the library in question, but I'm interested in perhaps writing an Item Event Receiver to populate email metadata into columns whenever an .MSG file is added to the library.

We already use Harmon.ie to do this when a user adds an email to the library, but I want to cover the bases for when a user isn't using Harmon.ie.
0
Comment
Question by:Jamie McAllister MVP
3 Comments
 
LVL 70

Assisted Solution

by:Éric Moreau
Éric Moreau earned 250 total points
ID: 39641268
the component from Aspose (http://www.aspose.com/.net/email-component.aspx) let you manipulate .msg files. It will let you open the file and take the info you need.
0
 
LVL 44

Accepted Solution

by:
Rainer Jeschor earned 250 total points
ID: 39642158
Hi Jamie,

unfortunately there is no out-of-the-box MSG file parser available in .NET. So either you build your own, use a third party component (paid), Outlook COM or this open source component
http://www.codeproject.com/Articles/32899/Reading-an-Outlook-MSG-File-in-C
(browse through the source code to the classes OutlookStorage and OutlookDataObject)

Everything else should be straight forward SharePoint development.

HTH
Rainer

P.S.: Looks somehow interesting - perhaps I have some time at the end of November to do some prototyping
0
 
LVL 31

Author Closing Comment

by:Jamie McAllister MVP
ID: 39644191
Thanks guys, I figured a commercial solution might be needed, though that codeproject article is very interesting indeed.
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
This process describes the steps required to Import and Export data from and to .pst files using Exchange 2010. We can use these steps to export data from a user to a .pst file, import data back to the same or a different user, or even import data t…
This Experts Exchange video Micro Tutorial shows how to tell Microsoft Office that a word is NOT spelled correctly. Microsoft Office has a built-in, main dictionary that is shared by Office apps, including Excel, Outlook, PowerPoint, and Word. When …
CodeTwo Sync for iCloud (http://www.codetwo.com/sync-for-icloud?sts=6554) automatically synchronizes your Outlook 2016, 2013, 2010 or 2007 folders with iCloud folders available via iCloud Control Panel. This lets you automatically sync them with…

808 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