Solved

Read Email Metadata

Posted on 2013-11-12
3
1,312 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 69

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

Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

Join & Write a Comment

Outlook Free & Paid Tools
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 …
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…

760 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now