• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class MimeReader

Reads MIME messages and entities from a stream (RFC 5322, RFC 2045-2049).

Inheritance
object
MimeReader
Implements
IDisposable
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
Namespace: DRIT.Mail.Rfc.Mime
Assembly: DRIT.Mail.dll
Syntax
public sealed class MimeReader : IDisposable

Constructors

View Source

MimeReader(Stream)

Initializes a new instance of the MimeReader class.

Declaration
public MimeReader(Stream stream)
Parameters
Type Name Description
Stream stream

The stream used to read or write the data.

View Source

MimeReader(Stream, bool)

Initializes a new instance of the MimeReader class.

Declaration
public MimeReader(Stream stream, bool leaveOpen)
Parameters
Type Name Description
Stream stream

The stream used to read or write the data.

bool leaveOpen

The leave open used by the operation.

Methods

View Source

Dispose()

Processes the dispose data.

Declaration
public void Dispose()
View Source

ReadEntity()

Reads a single MimeEntity from the stream.

Declaration
public MimeEntity ReadEntity()
Returns
Type Description
MimeEntity
View Source

ReadMessage()

Reads a complete MimeMessage from the stream.

Declaration
public MimeMessage ReadMessage()
Returns
Type Description
MimeMessage

Implements

IDisposable
  • View Source
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX