Microsoft Outlook .msg File Reader

Name: Microsoft Outlook .msg File Reader

Author: Ian Kerman

Version: 0.2

Created: 12/2013

Requirements: Pipeline Pilot 9.0.2 or later; Integration collection

O/S: Windows and Linux

Limitations: None known

Purpose: This component will read in Outlook .msg files that have been saved to a directory accessible to your Accelrys Enterprise Platform (AEP) server. The Reader accepts input data records containing a property that has the full path to the file, such as what would come from the List Files component. You can then optionally extract the To, CC, BCC and From names and e-mail addresses, the subject, the body, the e-mail headers and any attachments.

A note on attachments: Each attachment will create four new properties which are differentiated by an index. For example, if there were two attachments in your message, you would have both "Attachment_1_FileName" and "Attachment_2_FileName". There is an additional property called "Attachment_Count" which indicates how many total attachments there are. If you wanted to output all of the file names to the Debug console window in Pipeline Pilot using PilotScript, you could do something like this:


FOR #i IN 1 .. Attachment_Count LOOP
     DebugMessage(Property("Attachment_".#i."_FileName") );
END LOOP;

To install, extract the attached zip file into your /apps folder. Then, from the command line, change directory to /bin on Windows or /linux_bin on Linux and run "pkgutil -i accelryssupport/outlookmsgreader". You should now have a new Reader component under /Components/Accelrys Support/Readers and an example protocol in /Protocols/Accelrys Support/Examples/Outlook Message Reader.