Click or drag to resize
MimeKit

MimeParser Class

A MIME message and entity parser.
Inheritance Hierarchy
SystemObject
  MimeKitMimeParser

Namespace:  MimeKit
Assembly:  MimeKit (in MimeKit.dll) Version: 2.0.6.0
Syntax
C#
public class MimeParser : IEnumerable<MimeMessage>, 
	IEnumerable

The MimeParser type exposes the following members.

Constructors
  NameDescription
Public methodMimeParser(Stream, Boolean)
Initializes a new instance of the MimeParser class.
Public methodMimeParser(Stream, MimeFormat, Boolean)
Initializes a new instance of the MimeParser class.
Public methodMimeParser(ParserOptions, Stream, Boolean)
Initializes a new instance of the MimeParser class.
Public methodMimeParser(ParserOptions, Stream, MimeFormat, Boolean)
Initializes a new instance of the MimeParser class.
Top
Properties
  NameDescription
Public propertyIsEndOfStream
Gets a value indicating whether the parser has reached the end of the input stream.
Public propertyMboxMarker
Gets the most recent mbox marker.
Public propertyMboxMarkerOffset
Gets the most recent mbox marker offset.
Public propertyPosition
Gets the current position of the parser within the stream.
Top
Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetEnumerator
Enumerates the messages in the stream.
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodParseEntity
Parses an entity from the stream.
Public methodParseEntityAsync
Asynchronously parses an entity from the stream.
Public methodParseHeaders
Parses a list of headers from the stream.
Public methodParseHeadersAsync
Asynchronously parses a list of headers from the stream.
Public methodParseMessage
Parses a message from the stream.
Public methodParseMessageAsync
Asynchronously parses a message from the stream.
Public methodSetStream(Stream, Boolean)
Sets the stream to parse.
Public methodSetStream(Stream, MimeFormat, Boolean)
Sets the stream to parse.
Public methodSetStream(ParserOptions, Stream, Boolean)
Sets the stream to parse.
Public methodSetStream(ParserOptions, Stream, MimeFormat, Boolean)
Sets the stream to parse.
Public methodToString (Inherited from Object.)
Top
Remarks
A MIME parser is used to parse MimeMessage and MimeEntity objects from arbitrary streams.
See Also