views:

553

answers:

1

I'm trying to parse text-based file attachments (txt, doc, etc...). However, I can't seem to get to the binary information itself. I can get the filename and I can save the file out to some temporary folder and open it from there, but that seems messy.

Is there any way to access the content of an attachment without saving it, reading it, then deleting it or am I just chasing my tail?

+1  A: 

Redemption will help you here, SafeMailItem.Attachments collection has Attachment object that has a property "AsText" check out

http://www.dimastr.com/redemption/

76mel

76mel
Except for the $199 license fee that seems great. I'll have to see if I can spare the cash for it.
McAden
Redemption is the only nice way as it a wrapper around extended MAPI and take out the complexity.
76mel