Is it really this hard?
It has to be me, and Im OK with that. I posted last night, but maybe
didn't make sense. I know there are some pretty big hitters out there
watching this pool and someone has to have done this
before.....anyway...
I'm reading all the documents for message/attachment format and I'm
trying (in C) to create a TNEF stream from a message that contains
multiple embedded messages. If I simply do an AddProps() on the
stream, it ignores UNICODE props....which is exactly why I'm going
down this route....Chinese customers are obviously not too happy.
To do this, then, I'm using AddProps() with the IStreamTNEF option
after recursively going through the attachments. I'm holding all my
- LPSPropValArrays for any prop arrays I get from messages or
attachments
- LPSTREAMS from my files that I generate to hold TNEF of the embedded
messages
- File names of each temp TNEF file I create (_TMP_N.DAT)
None of those things are released until I finally call Finish() on the
outer most message.
Still, the file format of the MSG file contains no props for any
embedded message attachment but the last (I've been mighty confused of
this, probably because of lack of sleep).
Again, this is probably just me as Outlook seems to be able to do this
just fine, but has anybody been there before/have any advice/
something to look at.
I'm happy to share the code if you believe it may help.
Thanks,
Dan
date: Mon, 5 May 2008 12:12:05 -0700 (PDT)
author: dang