Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

_MailItem.HTMLBody Property

Returns or sets a String (string in C#) representing the HTML body of the specified item. Read/write.

Namespace:  Microsoft.Office.Interop.Outlook
Assembly:  Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)
string HTMLBody { get; set; }

Property Value

Type: System.String

The HTMLBody property should be an HTML syntax string.

Setting the HTMLBody property sets the EditorType property of the item's Inspector to olEditorHTML.

Setting the HTMLBody property will always update the Body property immediately.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.