Solved

Read Email Metadata

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

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

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

In this step by step procedure, you will come to know the details of creating an Outlook meeting in 2007, 2010, 2013 & 2016.
In case you ever have to remove a faulty web part from a page , add the following to the end of the page url ?contents=1
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…
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.

728 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