MapiMessageItemBase.BodyRtf

MapiMessageItemBase.BodyRtf property

Gets or sets the RTF formatted message text.

public string BodyRtf { get; set; }

Property Value

The string that represents message body rtf.

Remarks

When setting a value, the values of PR_RTF_COMPRESSED, PR_RTF_DECOMPRESSES, PR_BODY properties are updated. A string value being set must have RTF format. Thus, if it is necessary to set a value in HTML format, the value must be first to encoded within RTF, according to RTF Extensions Specification. To set the content of the body message in HTML or Plain Text formats quickly, please, use SetBodyContent method. When setting a null value or empty string, the values of BodyRtf and Body properties are set null.

See Also