Dijji / XstReader

Xst Reader is an open source viewer for Microsoft Outlook’s .ost and .pst files, written entirely in C#. To download an executable of the current version, go to the releases tab.
Microsoft Public License
479 stars 70 forks source link

Few queries #36

Open Balmukunda opened 3 years ago

Balmukunda commented 3 years ago

Hi, I have following queries -

  1. Does XstReader provide feature to export files extracted from pst/ost into msg files?
  2. If message file contains embeded files, XstReader returns oledata.mso file. How to extract original embedded files from oledata.mso?

Sample is attached.

Sample_Pst_For_XST.zip

Dijji commented 3 years ago
  1. What format do you mean by msg file? Could you give me a link to the format definition?
  2. I see the attachment you were talking about. But I've never seen an email like this. How did you produce it?
Balmukunda commented 3 years ago
  1. Currently the application export the message properties like (from, to, cc, body) etc as text file. My requirement is to create outlook message file instead of text file.
  2. In MS outlook, use Insert -> Object to add embedded files while creating message.
Dijji commented 3 years ago
  1. You can also export the message body in its native format, whether that be text, HTML or RTF. I have looked at the definition of the msg format. Firstly, it is pretty complex, of the same order of difficulty as a pst file, so would be a nontrivial effort to create. Secondly, it appears to be supported pretty much only by Microsoft software, and in particular Outlook. What is the scenario that drives your requirement? If the only thing that reads msg is Outlook, you might as well just use Outlook to open the pst file in the first place.
  2. The mso format is not documented. It also appears to be pretty complicated, being capable of carrying objects sourced from multiple Microsoft applications. I can't even see a way of determining what type of object it carries, to be able to suggest an application with which to open it. I cannot see any way of adding support for this type of message at the moment.
iluvadev commented 1 year ago

Hi, I know this is an old issue. I'm mantaining this project in my fork and I made a new release of XstReader with the ability to export messages in Outlook .msg format

https://github.com/iluvadev/XstReader