Open attachments without saving them to the hard drive
I'm writing an application that parses the text from text, Word, PDF, and
PST files. The application is written in C#, and I'm using Redemption to
read PST files. When the user imports a PST file, I'd like to also import
any e-mail attachments that are supported file types. Users should also be
able to select imported text, Word, and PDF files and view them in their
default external application (Microsoft Word, Notepad, Adobe Acrobat,
etc).
Eventually, I figured out that I could save attachments to the user's hard
drive and then import them into the application or open them with their
default viewer. It would be ideal if I could import/display attachments
directly from the PST file though. Is there a way to do this with
Redemption or any tool/library?
No comments:
Post a Comment