Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

PST Creation

18 views
Skip to first unread message

Christopher J. Amatulli

unread,
May 20, 2008, 9:41:12 PM5/20/08
to
i'm looking for a way to create PST's (allong with putting messages in it)
for a migration from an old mail system.

at present the old mail system is deceased, and we are left with several
million EML files. is their a way (other than redemption) that i can create a
new PST, and import those EML's to that new store?

the plan is to script the import and distribution of the EML's based on
accounts to the users profile, where they will open the PST with outlook.


--

Christopher J. Amatulli

Sue Mosher [MVP-Outlook]

unread,
May 20, 2008, 9:52:28 PM5/20/08
to
To create a .pst file, take a look at the Namespace.AddStore method.

The Outlook object model knows nothing about .eml files, so you'd need to use Redemption or write your own parser.

--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54


"Christopher J. Amatulli" <Christophe...@discussions.microsoft.com> wrote in message news:65FCB03D-BDC6-449A...@microsoft.com...

Christopher J. Amatulli

unread,
May 21, 2008, 11:38:07 AM5/21/08
to
thanks...

now my next question, where can i find details on writing my own parser? and
can it be done in C# or VB.net? i had written a import component before to
get data from an access database into exchange, but it left everything as
drafts and i was never able to find a way to make it not a draft...

--

Christopher J. Amatulli

Sue Mosher [MVP-Outlook]

unread,
May 21, 2008, 11:45:31 AM5/21/08
to
You would need to examine the contents of the .eml files, analyze their structure, and then decide how best to extract the data that you want. Not a simple task. If you create the item as a PostItem, then change its MessageClass to IPM.Note, it will appear as a received item. However, you still may not be able to set all the properties you want. I would strongly suggest using Redemption.

--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54


"Christopher J. Amatulli" <Christophe...@discussions.microsoft.com> wrote in message news:D9205B60-CBEF-4DAF...@microsoft.com...


> thanks...
>
> now my next question, where can i find details on writing my own parser? and
> can it be done in C# or VB.net? i had written a import component before to
> get data from an access database into exchange, but it left everything as
> drafts and i was never able to find a way to make it not a draft...
>
> --
>
> Christopher J. Amatulli
>
>
> "Sue Mosher [MVP-Outlook]" wrote:
>
>> To create a .pst file, take a look at the Namespace.AddStore method.
>>
>> The Outlook object model knows nothing about .eml files, so you'd need to use Redemption or write your own parser.

>>

bobma...@gmail.com

unread,
Apr 18, 2013, 6:19:24 AM4/18/13
to
You can use Kernel for EML to PST Conversion tool for converting EML files to PST so that they can be accessed using Outlook. More information about this tool can be found http://www.emltopstconversion.org
0 new messages