Class MboxrdStorageReader

MboxrdStorageReader class

Represents mboxrd format storage reader, this format is being used by Thunderbird and other mail clients.

public sealed class MboxrdStorageReader : MboxStorageReader

Constructors

NameDescription
MboxrdStorageReader(Stream, MboxLoadOptions)
MboxrdStorageReader(string, MboxLoadOptions)Initializes a new instance of the MboxrdStorageReader class.

Properties

NameDescription
BaseStream { get; }Gets the base stream.
CurrentDataSize { get; }Gets the number of bytes that is read by ReadNextMessage method.

Methods

NameDescription
Dispose()Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
EnumerateMessageInfo()Exposes the enumerator, which supports an iteration of messages in storage.
EnumerateMessages()Exposes the enumerator, which supports an iteration of messages in storage.
EnumerateMessages(EmlLoadOptions)Exposes the enumerator, which supports an iteration of messages in storage.
ExtractMessage(string, EmlLoadOptions)Get the message from MBOX.
override GetTotalItemsCount()Returns the number of messages in a storage.
override NextMessage()Gets the next message info.
override ReadNextMessage()Reads the next message from underlying storage stream.
override ReadNextMessage(EmlLoadOptions)Reads the next message from underlying storage stream.
override ReadNextMessage(out string)Reads the next message from underlying storage stream.
override ReadNextMessage(out string, EmlLoadOptions)Reads the next message from underlying storage stream.
SplitInto(long, string)Splits the mbox storage into less sized parts.
SplitInto(long, string, CancellationToken)Splits the mbox storage into less sized parts.
SplitInto(long, string, string)
SplitInto(long, string, string, CancellationToken)Splits the mbox storage into less sized parts.

Events

NameDescription
event EmlCopiedEvent that occurs after successful copy of a MailMessage object within the SplitInto method.
event EmlCopyingEvent that occurs before the MailMessage object copy process, within the SplitInto method.
event MboxFileCreatedEvent that occurs when a new MBOX file is created during the SplitInto method.
event MboxFileFilledEvent that occurs after filling an MBOX file with data within the SplitInto method.

See Also