Writing to PST file?

Oct 21, 2010 at 11:57 AM
Edited Oct 21, 2010 at 12:40 PM

Hi,

I have been able to retrieve all folders, messages, attachments etc from pst file using pst layer of pstsdk. Now i want to do reverse process, i mean i want to create new pst file, add new folders of my choice, add new messages into them along with attachments, etc.

I think working with pstsdk at pst level there is not much support to do this, but can i do all above while working on Disk Layer of pstsdk?

I mean creating nodes, arranging them some how to each other can i create new pst file, can add messages to it etc using Disk.h.

Any help will be appreciated.

Thanks and Regards!!!

Naveed Ahmed

Coordinator
Oct 21, 2010 at 9:09 PM

Yes it's possible, but it would require writing a lot of code as well as a significant amount of expertise when it comes to the PST and [MS-PST].doc.

Oct 22, 2010 at 8:21 AM
Edited Oct 22, 2010 at 10:14 AM

I have checked Disk.h, seems very abstract and unfortunately not found any helping sample code anywhere in docs, MS-PST.pdf and forum etc. Can you tell me

1) Weather i'll be exactly and only working with Disk.h at disk layer?

2) You know disk layer documentation is so abstract, where can i have some code snippets to writer message to pst file for example as you did in PST layer documentation?

3) PST layer is absolutely handy to reading files, but can you tell me how much estimated time left of pstsdk release that covers writing to pst file at PST layer?

4) AS i know PST layer does not provide .MSG format to save mail body to disk, but is there any other format or way to store message on disk other then streaming it in buffer and saving to file?

5) What nature of expertise [other then programming] are supposed to have in dealing with disk layer? 

 

Any help will be appriciated.

Thanks and Regards!!!

NAVEED AHMED

Coordinator
Oct 23, 2010 at 6:11 AM

I wouldn't call disk.h abstract at all - it contains the exact definitions of the data structures on disk. Clients working at that layer need to provide the expertise to do so. Developing that expertise typically takes several months to several years of working with the file format.

1. Yes

2. None exist, to my knowledge.

3. We're working on it, no release date has been announced.

4. The PST layer doesn't provide a way to save individual emails, no. There are plenty of email formats out there, just none are implemented in the SDK. .MSG in particular isn't very cross platform.

5. In depth knowledge of the PST file format, as well as database implementation and transaction semantics, etc if you're interested in writing.

Jan 17, 2012 at 11:38 AM

Dear Support,

It's been almost 15 months now after my last message; I really want to know latest answer on one of my question:

3) PST layer is absolutely handy to reading files, but can you tell me how much estimated time left of pstsdk release that covers writing to pst file at PST layer?

your answer was:

We're working on it, no release date has been announced.

..........

Please can I have latest update; I really want to write to PST file at PST Layer.

 

Looking forward to have your prompt reply.

Regards,

Naveed