MailUser.MessageBodyFormat Property

Gets or sets the message body format for messages that are sent to the mail user.

Namespace:  Microsoft.Exchange.Data.Directory.Management
Assembly:  Microsoft.Exchange.Data.Directory (in Microsoft.Exchange.Data.Directory.dll)

Syntax

'Declaration
<ParameterAttribute(Mandatory := False)> _
Public Property MessageBodyFormat As MessageBodyFormat
    Get
    Set
'Usage
Dim instance As MailUser
Dim value As MessageBodyFormat

value = instance.MessageBodyFormat

instance.MessageBodyFormat = value
[ParameterAttribute(Mandatory = false)]
public MessageBodyFormat MessageBodyFormat { get; set; }

Property Value

Type: Microsoft.Exchange.Data.Directory.Recipient.MessageBodyFormat
One of the enumeration values that specifies the message body format for messages that are sent to the mail user.

Remarks

By default, this property is set to TextAndHtml.

This property and the MessageFormat property are interdependent. If the MessageFormat property is set to Mime, you can any valid value for this property. If the MessageFormat property is set to Text, you can only use Text for this property.