Class MapiMessageReader

MapiMessageReader class

Reads Outlook messages (MSG files) from a file or a stream.

public sealed class MapiMessageReader : IDisposable

Constructors

NameDescription
MapiMessageReader(Stream)Initializes a new instance of the MapiMessageReader class that reads a stream.
MapiMessageReader(string)Initializes a new instance of the MapiMessageReader class that reads a file.

Methods

NameDescription
Dispose()Releases the resources used by the reader.
ReadAttachments()Reads the attachments of the message.
ReadMessage()Reads the message.

Remarks

In most cases Load is simpler.

See Also