Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
platform
active.directory
adsi
adsi.iis-admin
base
com_ole
complus_mts
component_svcs
database
directx
gdi
graphics_mm
internet.client
internet.server
internet.server.isapi-dev
localization
mapi
messaging
msi
mslayerforunicode
multimedia
networking
networking.ipv6
sdk_install
security
shell
telephony.tapi_2
telephony.tapi_3
telephony.tsp
telephony.wte
tools
ui
ui_shell
win_base_svcs
win16
  
 
date: Mon, 5 May 2008 12:12:05 -0700 (PDT),    group: microsoft.public.platformsdk.mapi        back       


Is it really this hard?   
It has to be me, and I’m 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

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us