MimeDocument members

The MimeDocument class represents a Multipurpose Internet Mail Extensions (MIME) document.

The MimeDocument type exposes the following members.

Constructors

  Name Description
Public method MimeDocument() The MimeDocument constructor creates a new blank MimeDocument object.
Public method MimeDocument(DecodingOptions, MimeLimits) The MimeDocument constructor creates a new MimeDocument object.

Top

Properties

  Name Description
Public property ComplianceMode The ComplianceMode property controls how noncompliant incoming Multipurpose Internet Mail Extensions (MIME) documents should be handled.
Public property ComplianceStatus The ComplianceStatus property indicates which errors were found in the incoming Multipurpose Internet Mail Extensions (MIME) document or that the MIME document is compliant.
Public property EndOfHeaders The EndOfHeaders property gets or sets the callback to use when the end of the headers in a Multipurpose Internet Mail Extensions (MIME) part is reached.
Public property HeaderDecodingOptions The HeaderDecodingOptions property gets the DecodingOptions structure that is used to control how incoming headers are decoded.
Public property MimeLimits The MimeLimits property gets the MimeLimits structure that determines the allowed complexity of incoming Multipurpose Internet Mail Extensions (MIME) documents.
Public property RootPart The RootPart property gets or sets the root MimePart in the incoming Multipurpose Internet Mail Extensions (MIME) message.
Public property Version The Version property gets an integer that is incremented every time that the Multipurpose Internet Mail Extensions (MIME) tree is changed, reset, or reloaded.

Top

Methods

  Name Description
Public method Clone The Clone method creates another MimeDocument object that is identical to this one.
Public method Dispose() The Dispose method readies this MimeDocument object for garbage collection.
Protected method Dispose(Boolean) The Dispose method readies this MimeDocument object for garbage collection.
Public method GetLoadStream The GetLoadStream method returns a write-only stream that can be used to load Multipurpose Internet Mail Extensions (MIME) content into this MimeDocument object.
Public method Load The Load method loads a stream of Multipurpose Internet Mail Extensions (MIME) data into this MimeDocument object.
Public method WriteTo(Stream) The WriteTo method writes the Multipurpose Internet Mail Extensions (MIME) data in the Document Object Model (DOM) to stream.
Public method WriteTo(Stream, EncodingOptions, MimeOutputFilter) The WriteTo method writes the Multipurpose Internet Mail Extensions (MIME) data in the Document Object Model (DOM) to stream by using encodingOptions and filter.

Top

See also

Reference

MimeDocument class

Microsoft.Exchange.Data.Mime namespace