Skip to content
Reference > AmiScript > Methods

parseMsgFile(bytes)

Definition

Map parseMsgFile(Binary bytes)

Description

Parses a Microsoft Outlook MSG (.msg) file binary and extract its contents into a map.. It returns the following keys: from, subject, body, toRecipients, ccRecipients, bccRecipients, attachmentNames, attachmentData. Check writeMsgFile for writing msg files.

Parameter Definition

Name Type Description
bytes Binary Binary data of msg file