Solved

Read Email Metadata

Posted on 2013-11-12
3
1,444 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
[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
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 32

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

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

A recent project that involved parsing Tableau Desktop and Server log files to extract reusable user queries for use in other systems. I chose to use PowerShell to gather the data, and SharePoint to present it...
This article describes how to import an Outlook PST file to Office 365 using a third party product to avoid Microsoft's Azure command line tool, saving you time.
Many of my clients call in with monstrous Gmail overloading issues with Outlook. A quick tip is to turn off the All Mail and Important folders from synching. Here is a quick video I made to show you how to turn off these and other folders in Gmail s…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

615 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