XstReader icon indicating copy to clipboard operation
XstReader copied to clipboard

Few queries

Open Balmukunda opened this issue 4 years ago • 4 comments

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

Balmukunda avatar Oct 13 '20 09:10 Balmukunda

  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?

Dijji avatar Oct 13 '20 11:10 Dijji

  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.

Balmukunda avatar Oct 13 '20 11:10 Balmukunda

  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.

Dijji avatar Oct 13 '20 12:10 Dijji

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

iluvadev avatar Oct 26 '22 06:10 iluvadev