Blank meta data fields for MSG files

We are parsing MSG message files with your API, extracting meta data fields from e-mails stored on a local file system.



We are having a problem with e-mails getting sent internally (using the same Exchange server, ie. on an intranet).



The problem is that all meta data fields (sender, recipients, date, subject etc.) related to these e-mails are blank (null). Viewing one of theses e-mail’s Internet Headers in Outlook revealed that it was blank.



(the api works fine for e-mails comming from another Exchange server, they have Internet Headers visible through Outlook).



Could you please tell us if it is possible to open/parse .MSG messages that are sent internally (routed via the same Exchange server)?



Thanks in advance!



Hi, Could you please send me a sample of your MSG file? Therefore, we can look into the problem.

Thanks,

Here’s an example of a message that doesn’t seems to parse well.

Hi, We support parsing the Outlook messages.

Use Aspose.Network.Outlook.MapiMessage. You can get all the property information of the Outlook message by MapiPropertyTag, like Mapi. For instance,

using Aspose.Network.Outlook;

MapiMessage msg = MapiMessage.FromFile(@"c:\subject.msg");

Console.WriteLine("Subject:" + msg.Subject);

Console.WriteLine("body" + msg.Body);

If you want to conver Outlook message to Eml formate

using Aspose.Network.Mail;

MailMessage msg = MailMessage.Load(@"c:\subject.msg", MessageFormat.Msg);

msg.Save("subject.eml", MessageFormat.Eml);