At my company we used to have some sort of legacy email system (long before my time), which when they sunset it they exported all of the messages (1MM+) to plain text files. What I would like to do would be to find some way to convert these text files to some sort of MAPI compliant form that can be imported into our compliance archive. Since these are simply text files we would have to parse senders/recipients, subject, dates, and body out of the text and input it (with lots of predefined defaults) into a message template (msg format?). Any ideas how/if this could be done in some sort of automated fashion?
Here is a sample:

Message-ID: <18782231.1075855354110.JavaMail.odds@rosmary>
Date: Mon, 14 May 2001 14:39:00 -0700 (PDT)
From: phillip.Morris@company.com

To: tim.doe@company.com
Subject: Financial Reporting
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-From: Phillip Morris
X-To: Tim Doe <Tim Doe/Company@CompanyXGate>
X-cc:
X-bcc:
X-Folder: \Phillip_Morris_Jan2002_1\Allen, Morris\’Sent Mail
X-Origin: Morris-P
X-FileName: EmailArchive.MB001

Please find the important numbers below

You could do it with any old scripting language. However, we’d need to see samples of the messages, get a description of the platform on which they are stored and where you plan to store the messages, to tell you how to do it.

powered by Yahoo Answers