This sample project answers (the question on stackoverflow) on how to parse a raw email file in .eml format using C#.
This fragment illustrates the API:
var message = CdoWrapper.LoadMessage(emlFilePath);
Debug.WriteLine(message.Subject);
Debug.WriteLine(message.TextBodyPart.GetString());
Debug.WriteLine(message.HTMLBodyPart.GetString());
var attachment = message.Attachments[1];
Debug.WriteLine(attachment.FileName);
Debug.WriteLine(attachment.GetString());
CDOSYS v.6 is pre-installed on all modern versions of Windows versions (2000 to 2016).
20 Jul 2015 Ries Vriend: Initial commit