MSG File Reader

Overview

The MSG File Reader smart service can be used to read the MSG file and it returns all the necessary information like(to, cc, etc.,) and also return the HTML file which contains the body present in the MSG file to retain all formatting and styles.

Key Features & Functionality

Inputs 

  • Msg File (Document) - The msg file to be processed or read.
  • Document Name (Text) - Name for the newly created HTML Document. 
  • Generated Document Folder (Folder) - Folder to which the output HTML Document to be saved in.
  • Attachment Folder (Folder) - Folder to which all the attachments to be saved in.

Outputs

  • Generated Document (Document) - The output Html Document.
  • Attachments (Document) - The attachments present in the msg file and it is of multiple type.
  • From - From email address present in the MSG file
  • Bcc - Bcc email address present in the MSG file. if it is more than it will be returned in comma separated format.
  • Cc - Cc email address present in the MSG file. if it is more than it will be returned in comma separated format.
  • To - To email address present in the MSG file. if it is more than it will be returned in comma separated format.
  • Body - Returns body in the plain text format.
  • Subject - Returns the subject of the email.
  • Sent Date - Returns the Sent date of the email.
  • Error Message (Text) - Error message received.
  • Error Occurred (Boolean) - Set to true on the occurrence of error.
Anonymous
Parents Comment Children
  • Hi, ,

    Thanks for the patience. We are able to replicate the issue. We are working to identify a solution for the same and will update a new version early as possible. Will keep you posted.

  • Due to strict confidentiality reasons Production data can not be passed outside the organisation.  However the issue is reproducible in the Development environment (below).  In Production the parent email has the following attachments:

    2 Excel spreadsheets

    8 Microsft Word documents

    1 Microsoft Outlook .msg 

    This issue here is the following code returns null.  As I have said any other attachment work fine ( so long as there is not a .msg file as well).  In the Production isse 

    readoutlookmsgfile(
      outlookMsgFileDocs: {32180},
      folderToSaveAttachements: cons!PRO_COM_DOCUMENT_MANAGEMENT_STAGING_FOLDER,
      bodyType: "text",
      readAttachedOutlookMsgs: false(),
      readAttachments: true()
    )

    The Doc Id is 32180 and is a .msg file that has an imbedded .msg file

    Test imbedded emails ( Parent ).msg

    At this point in time I don't have access to Tomcat logs, but will try to obtain shortly.