Difference in Appearance of Attachments

R

Ridge Kennedy

Dear All,

From a programmer's perspective, is there any difference between an
attachment to a plain text message vs. an attachment in a rich text message?
Is there a logical reason why attachments in RTF messages appear as icons
whereever the cursor was when they were inserted?

Ridge (in New Joisey)
 
D

Dmitry Streblechenko

Yes, in case of an RTF message, an attachment can be inserted in a
particular place in the message body by setting the attachment's
PR_RENDERING_POSITION MAPI property. If it is set to -1, the attachment will
be shown outside of the message body, the same way as text and HTML messages
always work.
Note that HTML messages can have inline messages inserted in the message
body using the <img> tag with a specially formatted scr attribute pointing
to an image attachment.

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
 
Top