BodyType Parameter (Connect-Exchange Cmdlet)
Specifies how the body content of email messages is formatted in the response.
Syntax
Connect-Exchange -BodyType string
Possible Values
Best, HTML, TextData Type
cstr
Default Value
"Best"
Remarks
Set this property to control how the cmdlet formats the body of email messages when returning results from the Exchange Web Services (EWS) schema.
Available values:
- Best: Returns the richest available version of the body content.
- HTML: Returns the body content as HTML.
- Text: Returns the body content as plain text.
This property is useful for ensuring body content is returned in the format your application expects, whether for display, parsing, or plain-text processing.