Microsoft.Exchange.Data.Mime Namespace

The Microsoft.Exchange.Data.Mime namespace contains types that enable you to read and write MIME data by using either stream-based or DOM-based methods.

Many of the properties and parameters in the content conversion APIs allow values large enough to cause performance problems, including denial of service. When using the content conversion APIs in a transport agent, you should implement limits on the property and parameter value sizes you support when reading or writing in order to mitigate resource consumption by your agent.

Classes

Class Description
AddressHeader The AddressHeader class represents a Multipurpose Internet Mail Extensions (MIME) address header.
AddressItem The AddressItem class represents a recipient or group of recipients.
AsciiTextHeader The AsciiTextHeader class represents a simple Multipurpose Internet Mail Extensions (MIME) text header
ComplexHeader The ComplexHeader class represents a structured Multipurpose Internet Mail Extensions (MIME) header with parameters.
ContentDispositionHeader The ContentDispositionHeader class represents a Content-Disposition header.
ContentTypeHeader The ContentTypeHeader class represents a Multipurpose Internet Mail Extensions (MIME) Content-Type header.
DateHeader The DateHeader class represents a header that contains structured date and time information.
EncodingOptions The EncodingOptions class specifies how to encode outgoing headers.
Header The Header abstract class represents a general Multipurpose Internet Mail Extensions (MIME) header.
HeaderList The HeaderList class represents an ordered list of headers.
MimeDocument The MimeDocument class represents a Multipurpose Internet Mail Extensions (MIME) document.
MimeException The MimeException class provides information about Multipurpose Internet Mail Extensions (MIME) errors in objects in the Microsoft.Exchange.Data.Mime namespace.
MimeGroup The MimeGroup class represents a MIME address group.
MimeLimits The MimeLimits class controls the allowed complexity of Multipurpose Internet Mail Extensions (MIME) read by a MimeReader object or used to create a MimeDocument.
MimeNode The MimeNode class is the base class for nodes within a MimeDocument object.
MimeOutputFilter The MimeOutputFilter callback class customizes the way in which Multipurpose Internet Mail Extensions (MIME) data is written.
MimeParameter The MimeParameter class represents a Multipurpose Internet Mail Extensions (MIME) parameter.
MimePart The MimePart class represents a Multipurpose Internet Mail Extensions (MIME) part.
MimeReader The MimeReader class returns information about a MIME stream.
MimeRecipient The MimeRecipient class represents the sender or recipient of a MIME message.
MimeWriter The MimeWriter class writes MIME to a stream.
ReceivedHeader The ReceivedHeader class represents a "Received" header.
TextHeader The TextHeader class represents a MIME header.

Structures

Structure Description
DecodingOptions The DecodingOptions structure specifies how to decode incoming headers.
DecodingResults The DecodingResults structure indicates whether incoming Multipurpose Internet Mail Extensions (MIME) headers were successfully decoded.
MimeAddressReader The MimeAddressReader structure returns information about an address header.
MimeHeaderReader The MimeHeaderReader structure returns information about Multipurpose Internet Mail Extensions (MIME) headers.
MimeNode.Enumerator The MimeNode.Enumerator structure lets you enumerate over the children of a MimeNode object.
MimeParameterReader The MimeParameterReader structure returns information about a MimeParameter object.
MimePart.PartSubtree The MimePart.PartSubtree structure encapsulates an enumerable tree of the parts of this MIME message.
MimePart.SubtreeEnumerator The MimePart.SubtreeEnumerator structure provides rich control over the enumeration of the contents of a MimePart.PartSubtree structure.

Delegates

Delegate Description
MimeDocument.EndOfHeadersCallback The MimeDocument.EndOfHeadersCallback callback is called when the end of a root Multipurpose Internet Mail Extensions (MIME) part has been reached.

Enumerations

Enumeration Description
AddressParserFlags The AddressParserFlags enumeration controls how addresses are parsed.
CachingMode The CachingMode enumeration specifies how a stream is cached during loading.
ContentTransferEncoding The ContentTransferEncoding enumeration specifies the supported content transfer encodings.
DecodingFlags The DecodingFlags enumeration indicates the encodings to try when you are trying to decode Multipurpose Internet Mail Extensions (MIME) headers.
EncodingFlags The EncodingFlags enumeration provides various instructions related to encoding headers.
EncodingScheme The EncodingScheme enumeration indicates which encoding was detected in the header.
HeaderId The HeaderId enumeration identifies header types.
MimeComplianceMode The MimeComplianceMode enumeration controls the action that will be taken if noncompliant Multipurpose Internet Mail Extensions (MIME) text is encountered.
MimeComplianceStatus The MimeComplianceStatus enumeration flags report any errors that are found in the incoming Multipurpose Internet Mail Extensions (MIME) content or report that the MIME content is compliant.
MimePart.SubtreeEnumerationOptions The MimePart.SubtreeEnumerationOptions enumeration controls how a MimeDocument object walks its MimeNode tree.