Click or drag to resize
MimeKit

MimeReader(ParserOptions, Stream, MimeFormat) Constructor

Initialize a new instance of the MimeReader class.

Namespace: MimeKit
Assembly: MimeKit (in MimeKit.dll) Version: 4.7.1
Syntax
C#
public MimeReader(
	ParserOptions options,
	Stream stream,
	MimeFormat format = MimeFormat.Entity
)

Parameters

options  ParserOptions
The parser options.
stream  Stream
The stream to parse.
format  MimeFormat  (Optional)
The format of the stream.
Exceptions
ExceptionCondition
ArgumentNullException

options is null.

-or-

stream is null.

Remarks
Creates a new MimeReader that will parse the specified stream.
See Also