Share via


Body members

The Body type represents the primary content of an e-mail message.

The Body type exposes the following members.

Properties

  Name Description
Public property BodyFormat The BodyFormat property gets the format for the body.
Public property CharsetName The CharsetName property gets or set the name of the character set for the body.
Public property MimePart The MimePart property gets MimePart for the body.

Top

Methods

  Name Description
Public method ConversionNeeded
Public method GetContentReadStream The GetContentReadStream method gets a readable stream that contains the contents of the body without content transfer encoding.
Public method GetContentReadStreamOrNull Gets a readable stream that contains the contents of the body without content transfer encoding. Returns a null reference (Nothing in Visual Basic) if the value of the BodyFormat property is None.
Public method GetContentWriteStream() The GetContentWriteStream method gets a stream into which you can write new content.
Public method GetContentWriteStream(String) The GetContentWriteStream method gets a stream into which you can write new content by using the specified character set.
Public method TryGetContentReadStream The TryGetContentReadStream method gets a readable stream that contains the contents of the body.

Top

See also

Reference

Body class

Microsoft.Exchange.Data.Transport.Email namespace