Re: PR_BODY_HTML to PR_RTF_COMPRESSED to PR_BODY
From: Dmitry Streblechenko \(MVP\) (dmitry_at_dimastr.com)
Date: 03/14/04
- Next message: Michael Tissington: "Re: PR_BODY_HTML to PR_RTF_COMPRESSED to PR_BODY"
- Previous message: Dmitry Streblechenko \(MVP\): "Re: Convert PR_RTF_COMPRESSED into PR_HTML"
- In reply to: Michael Tissington: "PR_BODY_HTML to PR_RTF_COMPRESSED to PR_BODY"
- Next in thread: Michael Tissington: "Re: PR_BODY_HTML to PR_RTF_COMPRESSED to PR_BODY"
- Reply: Michael Tissington: "Re: PR_BODY_HTML to PR_RTF_COMPRESSED to PR_BODY"
- Messages sorted by: [ date ] [ thread ]
Date: Sun, 14 Mar 2004 14:31:00 -0700
That makes perfect sense - given pure RTF or HTML (either in PR_BODY_HTML or
encoded in PR_RTF_COMPRESSED), you can always extract plain text. In case of
RTF you can use the RTF control, in case of HTML, load the HTML into an
IHTMLDocument2 object, then extract pain text using
IHTMLDocument2.body.createTextRange.
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
"Michael Tissington" <michael@nospam.com> wrote in message
news:eDx1$YgCEHA.2620@TK2MSFTNGP12.phx.gbl...
> When Outlook/MAPI copies a message to our store the following seems to
> happen
>
> 1) If PR_BODY_HTML exists then ONLY this is copied.
> 2) If PR_RTF_COMPRESSED exists then ONLY this is copied.
> 3) If ONLY PR_BODY exists then this is copied.
>
> I have tried called RTFSync ...
>
> If PR_RTF_COMPRESSED then to create the PR_BODY or
> If PR_BODY then to create the PR_RTF_COMPRESSED
>
> but this does not seem to do anything.
>
> I guess my questions comes down to how can I have messages copied to our
> store and set all three properties (especially when the originally message
> has them set).
>
>
> --
> Michael Tissington
> http://www.oaklodge.com
> http://www.tabtag.com
>
>
- Next message: Michael Tissington: "Re: PR_BODY_HTML to PR_RTF_COMPRESSED to PR_BODY"
- Previous message: Dmitry Streblechenko \(MVP\): "Re: Convert PR_RTF_COMPRESSED into PR_HTML"
- In reply to: Michael Tissington: "PR_BODY_HTML to PR_RTF_COMPRESSED to PR_BODY"
- Next in thread: Michael Tissington: "Re: PR_BODY_HTML to PR_RTF_COMPRESSED to PR_BODY"
- Reply: Michael Tissington: "Re: PR_BODY_HTML to PR_RTF_COMPRESSED to PR_BODY"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|