Can't get PR_COMPRESSED_RTF property via PropertyAccessor

Y

yostage

I'm trying to use either C# or Powershell to get an arbitrary RTF file
into the PR_COMPRESSED_RTF property of a Task. Sort of like a CLR
version of the problem discussed here:
http://groups.google.com/group/micr...t&q=PR_RTF_COMPRESSED&rnum=4#e9f712509cc916e9

I've tried using
"http://schemas.microsoft.com/mapi/id/{00062008-0000-0000-C000-000000000046}/10090102"
and
"http://schemas.microsoft.com/mapi/proptag/0x10090102" but the
PropertyAccessor for the task fails on both of them. The docs refer to
the "Outlook Developer Reference" for more instructions on how to
construct these names but I can't figure out how to get to the Outlook
Developer Reference.

I can see the PR_COMPRESSED_RTF property on the task in the MAPI
Editor, but replacing it through that won't work because I need the
stream to compress the RTF for me. If I had an offline way to compress
an RTF , then I could use the MAPI editor to set the PR_COMPRESSED_RTF
directly, I guess.

Any guidance or ideas would be appreciated.

thanks, Scott
 
Y

yostage

I'm trying to use either C# or Powershell to get an arbitrary RTF file
into the PR_COMPRESSED_RTF property of a Task. Sort of like a CLR
version of the problem discussed here:
http://groups.google.com/group/micr...t&q=PR_RTF_COMPRESSED&rnum=4#e9f712509cc916e9

I've tried using
"http://schemas.microsoft.com/mapi/id/{00062008-0000-0000-C000-000000000046}/10090102"
and
"http://schemas.microsoft.com/mapi/proptag/0x10090102" but the
PropertyAccessor for the task fails on both of them. The docs refer to
the "Outlook Developer Reference" for more instructions on how to
construct these names but I can't figure out how to get to the Outlook
Developer Reference.

I can see the PR_COMPRESSED_RTF property on the task in the MAPI
Editor, but replacing it through that won't work because I need the
stream to compress the RTF for me. If I had an offline way to compress
an RTF , then I could use the MAPI editor to set the PR_COMPRESSED_RTF
directly, I guess.

Any guidance or ideas would be appreciated.

thanks, Scott

Using Redemption to set the RTFBody field seems to be doing the trick..
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top