Note that simply reading the context of the PR_RTF_COMPRESSED property won't
help you much since the RTF stream is compressed.
On the MAPI level, that means that you need to use the
WrapCompressedRTFStream() MAPI function.
Redemption exposes the RTF body through the Safe*Item.RtfBody and
RDOMail.RtfBody properties.
--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
"Ken Slovak - [MVP - Outlook]" wrote in message
...
If you use a different API such as Extended MAPI (C++ or Delphi only), CDO
1.21 (deprecated and only unmanaged code) or a MAPI COM wrapper such as
Redemption (www.dimastr.com/redemption) you can use the PR_RTF_COMPRESSED
property (0x10090102 or in DASL syntax
"http://schemas.microsoft.com/mapi/proptag/0x10090102") you can set the
desired RTF.
In Outlook 2007 you can use PropertyAccessor to work with that property.
--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm
"sd" wrote in message
...
hello
I've customized appointment form for outlook 2003 & 2007.
Is there any way to get formatted text in appointmentItem's body ?
I need to retrieve it, modify it & again set this modified formatted
text to appointmentItem Body.There is no HTMLBody/RTFBody property
like mailItem to appointmentItem.
I found Inspector.HtmlEditor ,but it is set to null.Can it be
helpful ? How to use it?
Thanks