To indicate where in formatted text an attachment is to be rendered, you must insert a sequence of placeholder characters in the message's PR_RTF_COMPRESSED property. The placeholder sequence is made up of the following characters:
\objattph
To add rendering information to formatted message text
When writing the stream of text to the message's PR_RTF_COMPRESSED property, insert the placeholder sequence and a space character at the position where the attachment should be rendered.
Set the PR_RENDERING_POSITION property of each attachment to a numeric value. The lowest value should be assigned to the PR_RENDERING_POSITION property of the first attachment to appear in the formatted text; the highest value to the last attachment.