Click or drag to resize
MimeKit

IImapFolder Interface

An interface for an IMAP folder.

Namespace:  MailKit.Net.Imap
Assembly:  MailKit (in MailKit.dll) Version: 2.14.0
Syntax
C#
public interface IImapFolder : IMailFolder, 
	IEnumerable<MimeMessage>, IEnumerable

The IImapFolder type exposes the following members.

Properties
  NameDescription
Public propertyAcceptedFlags
Get the accepted flags.
(Inherited from IMailFolder.)
Public propertyAccess
Get the read/write access of the folder.
(Inherited from IMailFolder.)
Public propertyAnnotationAccess
Get the annotation access level.
(Inherited from IMailFolder.)
Public propertyAnnotationScopes
Get the supported annotation scopes.
(Inherited from IMailFolder.)
Public propertyAppendLimit
Get the maximum size of a message that can be appended to the folder.
(Inherited from IMailFolder.)
Public propertyAttributes
Get the folder attributes.
(Inherited from IMailFolder.)
Public propertyCount
Get the total number of messages in the folder.
(Inherited from IMailFolder.)
Public propertyDirectorySeparator
Get the directory separator.
(Inherited from IMailFolder.)
Public propertyExists
Get whether or not the folder exists.
(Inherited from IMailFolder.)
Public propertyFirstUnread
Get the index of the first unread message in the folder.
(Inherited from IMailFolder.)
Public propertyFullName
Get the full name of the folder.
(Inherited from IMailFolder.)
Public propertyHighestModSeq
Get the highest mod-sequence value of all messages in the mailbox.
(Inherited from IMailFolder.)
Public propertyId
Get the unique identifier for the folder, if available.
(Inherited from IMailFolder.)
Public propertyIsNamespace
Get whether or not the folder is a namespace folder.
(Inherited from IMailFolder.)
Public propertyIsOpen
Get whether or not the folder is currently open.
(Inherited from IMailFolder.)
Public propertyIsSubscribed
Get whether or not the folder is subscribed.
(Inherited from IMailFolder.)
Public propertyMaxAnnotationSize
Get the maximum size of annotation values supported by the folder.
(Inherited from IMailFolder.)
Public propertyName
Get the name of the folder.
(Inherited from IMailFolder.)
Public propertyParentFolder
Get the parent folder.
(Inherited from IMailFolder.)
Public propertyPermanentFlags
Get the permanent flags.
(Inherited from IMailFolder.)
Public propertyRecent
Get the number of recently delivered messages in the folder.
(Inherited from IMailFolder.)
Public propertySize
Get the size of the folder.
(Inherited from IMailFolder.)
Public propertySupportsModSeq Obsolete.
Get whether or not the folder supports mod-sequences.
(Inherited from IMailFolder.)
Public propertySyncRoot
Gets an object that can be used to synchronize access to the folder.
(Inherited from IMailFolder.)
Public propertyThreadingAlgorithms
Get the threading algorithms supported by the folder.
(Inherited from IMailFolder.)
Public propertyUidNext
Get the UID that the next message that is added to the folder will be assigned.
(Inherited from IMailFolder.)
Public propertyUidValidity
Get the Unique ID validity.
(Inherited from IMailFolder.)
Public propertyUnread
Get the number of unread messages in the folder.
(Inherited from IMailFolder.)
Top
Methods
  NameDescription
Public methodAddAccessRights
Add access rights for the specified identity.
(Inherited from IMailFolder.)
Public methodAddAccessRightsAsync
Asynchronously add access rights for the specified identity.
(Inherited from IMailFolder.)
Public methodAddFlags(IListInt32, MessageFlags, Boolean, CancellationToken)
Add a set of flags to the specified messages.
(Inherited from IMailFolder.)
Public methodAddFlags(Int32, MessageFlags, Boolean, CancellationToken)
Add a set of flags to the specified message.
(Inherited from IMailFolder.)
Public methodAddFlags(UniqueId, MessageFlags, Boolean, CancellationToken)
Add a set of flags to the specified message.
(Inherited from IMailFolder.)
Public methodAddFlags(IListUniqueId, MessageFlags, Boolean, CancellationToken)
Add a set of flags to the specified messages.
(Inherited from IMailFolder.)
Public methodAddFlags(IListInt32, MessageFlags, HashSetString, Boolean, CancellationToken)
Add a set of flags to the specified messages.
(Inherited from IMailFolder.)
Public methodAddFlags(IListInt32, UInt64, MessageFlags, Boolean, CancellationToken)
Add a set of flags to the specified messages only if their mod-sequence value is less than the specified value.
(Inherited from IMailFolder.)
Public methodAddFlags(Int32, MessageFlags, HashSetString, Boolean, CancellationToken)
Add a set of flags to the specified message.
(Inherited from IMailFolder.)
Public methodAddFlags(UniqueId, MessageFlags, HashSetString, Boolean, CancellationToken)
Add a set of flags to the specified message.
(Inherited from IMailFolder.)
Public methodAddFlags(IListUniqueId, MessageFlags, HashSetString, Boolean, CancellationToken)
Add a set of flags to the specified messages.
(Inherited from IMailFolder.)
Public methodAddFlags(IListUniqueId, UInt64, MessageFlags, Boolean, CancellationToken)
Add a set of flags to the specified messages only if their mod-sequence value is less than the specified value.
(Inherited from IMailFolder.)
Public methodAddFlags(IListInt32, UInt64, MessageFlags, HashSetString, Boolean, CancellationToken)
Add a set of flags to the specified messages only if their mod-sequence value is less than the specified value.
(Inherited from IMailFolder.)
Public methodAddFlags(IListUniqueId, UInt64, MessageFlags, HashSetString, Boolean, CancellationToken)
Add a set of flags to the specified messages only if their mod-sequence value is less than the specified value.
(Inherited from IMailFolder.)
Public methodAddFlagsAsync(IListInt32, MessageFlags, Boolean, CancellationToken)
Asynchronously add a set of flags to the specified messages.
(Inherited from IMailFolder.)
Public methodAddFlagsAsync(Int32, MessageFlags, Boolean, CancellationToken)
Asynchronously add a set of flags to the specified message.
(Inherited from IMailFolder.)
Public methodAddFlagsAsync(UniqueId, MessageFlags, Boolean, CancellationToken)
Asynchronously add a set of flags to the specified message.
(Inherited from IMailFolder.)
Public methodAddFlagsAsync(IListUniqueId, MessageFlags, Boolean, CancellationToken)
Asynchronously add a set of flags to the specified messages.
(Inherited from IMailFolder.)
Public methodAddFlagsAsync(IListInt32, MessageFlags, HashSetString, Boolean, CancellationToken)
Asynchronously add a set of flags to the specified messages.
(Inherited from IMailFolder.)
Public methodAddFlagsAsync(IListInt32, UInt64, MessageFlags, Boolean, CancellationToken)
Asynchronously add a set of flags to the specified messages only if their mod-sequence value is less than the specified value.
(Inherited from IMailFolder.)
Public methodAddFlagsAsync(Int32, MessageFlags, HashSetString, Boolean, CancellationToken)
Asynchronously add a set of flags to the specified message.
(Inherited from IMailFolder.)
Public methodAddFlagsAsync(UniqueId, MessageFlags, HashSetString, Boolean, CancellationToken)
Asynchronously add a set of flags to the specified message.
(Inherited from IMailFolder.)
Public methodAddFlagsAsync(IListUniqueId, MessageFlags, HashSetString, Boolean, CancellationToken)
Asynchronously add a set of flags to the specified messages.
(Inherited from IMailFolder.)
Public methodAddFlagsAsync(IListUniqueId, UInt64, MessageFlags, Boolean, CancellationToken)
Asynchronously add a set of flags to the specified messages only if their mod-sequence value is less than the specified value.
(Inherited from IMailFolder.)
Public methodAddFlagsAsync(IListInt32, UInt64, MessageFlags, HashSetString, Boolean, CancellationToken)
Asynchronously add a set of flags to the specified messages only if their mod-sequence value is less than the specified value.
(Inherited from IMailFolder.)
Public methodAddFlagsAsync(IListUniqueId, UInt64, MessageFlags, HashSetString, Boolean, CancellationToken)
Asynchronously add a set of flags to the specified messages only if their mod-sequence value is less than the specified value.
(Inherited from IMailFolder.)
Public methodAddLabels(IListInt32, IListString, Boolean, CancellationToken)
Add a set of labels to the specified messages.
(Inherited from IMailFolder.)
Public methodAddLabels(Int32, IListString, Boolean, CancellationToken)
Add a set of labels to the specified message.
(Inherited from IMailFolder.)
Public methodAddLabels(UniqueId, IListString, Boolean, CancellationToken)
Add a set of labels to the specified message.
(Inherited from IMailFolder.)
Public methodAddLabels(IListUniqueId, IListString, Boolean, CancellationToken)
Add a set of labels to the specified messages.
(Inherited from IMailFolder.)
Public methodAddLabels(IListInt32, UInt64, IListString, Boolean, CancellationToken)
Add a set of labels to the specified messages only if their mod-sequence value is less than the specified value.
(Inherited from IMailFolder.)
Public methodAddLabels(IListUniqueId, UInt64, IListString, Boolean, CancellationToken)
Add a set of labels to the specified messages only if their mod-sequence value is less than the specified value.
(Inherited from IMailFolder.)
Public methodAddLabelsAsync(IListInt32, IListString, Boolean, CancellationToken)
Asynchronously add a set of labels to the specified messages.
(Inherited from IMailFolder.)
Public methodAddLabelsAsync(Int32, IListString, Boolean, CancellationToken)
Asynchronously add a set of labels to the specified message.
(Inherited from IMailFolder.)
Public methodAddLabelsAsync(UniqueId, IListString, Boolean, CancellationToken)
Asynchronously add a set of labels to the specified message.
(Inherited from IMailFolder.)
Public methodAddLabelsAsync(IListUniqueId, IListString, Boolean, CancellationToken)
Asynchronously add a set of labels to the specified messages.
(Inherited from IMailFolder.)
Public methodAddLabelsAsync(IListInt32, UInt64, IListString, Boolean, CancellationToken)
Asynchronously add a set of labels to the specified messages only if their mod-sequence value is less than the specified value.
(Inherited from IMailFolder.)
Public methodAddLabelsAsync(IListUniqueId, UInt64, IListString, Boolean, CancellationToken)
Asynchronously add a set of labels to the specified messages only if their mod-sequence value is less than the specified value.
(Inherited from IMailFolder.)
Public methodAppend(MimeMessage, MessageFlags, CancellationToken, ITransferProgress)
Append the specified message to the folder.
(Inherited from IMailFolder.)
Public methodAppend(IListMimeMessage, IListMessageFlags, CancellationToken, ITransferProgress)
Append the specified messages to the folder.
(Inherited from IMailFolder.)
Public methodAppend(FormatOptions, MimeMessage, MessageFlags, CancellationToken, ITransferProgress)
Append the specified message to the folder.
(Inherited from IMailFolder.)
Public methodAppend(FormatOptions, IListMimeMessage, IListMessageFlags, CancellationToken, ITransferProgress)
Append the specified messages to the folder.
(Inherited from IMailFolder.)
Public methodAppend(MimeMessage, MessageFlags, DateTimeOffset, CancellationToken, ITransferProgress)
Append the specified message to the folder.
(Inherited from IMailFolder.)
Public methodAppend(IListMimeMessage, IListMessageFlags, IListDateTimeOffset, CancellationToken, ITransferProgress)
Append the specified messages to the folder.
(Inherited from IMailFolder.)
Public methodAppend(FormatOptions, MimeMessage, MessageFlags, DateTimeOffset, CancellationToken, ITransferProgress)
Append the specified message to the folder.
(Inherited from IMailFolder.)
Public methodAppend(FormatOptions, IListMimeMessage, IListMessageFlags, IListDateTimeOffset, CancellationToken, ITransferProgress)
Append the specified messages to the folder.
(Inherited from IMailFolder.)
Public methodAppend(MimeMessage, MessageFlags, NullableDateTimeOffset, IListAnnotation, CancellationToken, ITransferProgress)
Append the specified message to the folder.
(Inherited from IMailFolder.)
Public methodAppend(FormatOptions, MimeMessage, MessageFlags, NullableDateTimeOffset, IListAnnotation, CancellationToken, ITransferProgress)
Append the specified message to the folder.
(Inherited from IMailFolder.)
Public methodAppendAsync(MimeMessage, MessageFlags, CancellationToken, ITransferProgress)
Asynchronously append the specified message to the folder.
(Inherited from IMailFolder.)
Public methodAppendAsync(IListMimeMessage, IListMessageFlags, CancellationToken, ITransferProgress)
Asynchronously append the specified messages to the folder.
(Inherited from IMailFolder.)
Public methodAppendAsync(FormatOptions, MimeMessage, MessageFlags, CancellationToken, ITransferProgress)
Asynchronously append the specified message to the folder.
(Inherited from IMailFolder.)
Public methodAppendAsync(FormatOptions, IListMimeMessage, IListMessageFlags, CancellationToken, ITransferProgress)
Asynchronously append the specified messages to the folder.
(Inherited from IMailFolder.)
Public methodAppendAsync(MimeMessage, MessageFlags, DateTimeOffset, CancellationToken, ITransferProgress)
Asynchronously append the specified message to the folder.
(Inherited from IMailFolder.)
Public methodAppendAsync(IListMimeMessage, IListMessageFlags, IListDateTimeOffset, CancellationToken, ITransferProgress)
Asynchronously append the specified messages to the folder.
(Inherited from IMailFolder.)
Public methodAppendAsync(FormatOptions, MimeMessage, MessageFlags, DateTimeOffset, CancellationToken, ITransferProgress)
Asynchronously append the specified message to the folder.
(Inherited from IMailFolder.)
Public methodAppendAsync(FormatOptions, IListMimeMessage, IListMessageFlags, IListDateTimeOffset, CancellationToken, ITransferProgress)
Asynchronously append the specified messages to the folder.
(Inherited from IMailFolder.)
Public methodAppendAsync(MimeMessage, MessageFlags, NullableDateTimeOffset, IListAnnotation, CancellationToken, ITransferProgress)
Asynchronously append the specified message to the folder.
(Inherited from IMailFolder.)
Public methodAppendAsync(FormatOptions, MimeMessage, MessageFlags, NullableDateTimeOffset, IListAnnotation, CancellationToken, ITransferProgress)
Asynchronously append the specified message to the folder.
(Inherited from IMailFolder.)
Public methodCheck
Force the server to flush its state for the folder.
(Inherited from IMailFolder.)
Public methodCheckAsync
Asynchronously force the server to flush its state for the folder.
(Inherited from IMailFolder.)
Public methodClose
Close the folder, optionally expunging the messages marked for deletion.
(Inherited from IMailFolder.)
Public methodCloseAsync
Asynchronously close the folder, optionally expunging the messages marked for deletion.
(Inherited from IMailFolder.)
Public methodCopyTo(IListInt32, IMailFolder, CancellationToken)
Copy the specified messages to the destination folder.
(Inherited from IMailFolder.)
Public methodCopyTo(Int32, IMailFolder, CancellationToken)
Copy the specified message to the destination folder.
(Inherited from IMailFolder.)
Public methodCopyTo(UniqueId, IMailFolder, CancellationToken)
Copy the specified message to the destination folder.
(Inherited from IMailFolder.)
Public methodCopyTo(IListUniqueId, IMailFolder, CancellationToken)
Copy the specified messages to the destination folder.
(Inherited from IMailFolder.)
Public methodCopyToAsync(IListInt32, IMailFolder, CancellationToken)
Asynchronously copy the specified messages to the destination folder.
(Inherited from IMailFolder.)
Public methodCopyToAsync(Int32, IMailFolder, CancellationToken)
Asynchronously copy the specified message to the destination folder.
(Inherited from IMailFolder.)
Public methodCopyToAsync(UniqueId, IMailFolder, CancellationToken)
Asynchronously copy the specified message to the destination folder.
(Inherited from IMailFolder.)
Public methodCopyToAsync(IListUniqueId, IMailFolder, CancellationToken)
Asynchronously copy the specified messages to the destination folder.
(Inherited from IMailFolder.)
Public methodCreate(String, SpecialFolder, CancellationToken)
Create a new subfolder with the given name.
(Inherited from IMailFolder.)
Public methodCreate(String, Boolean, CancellationToken)
Create a new subfolder with the given name.
(Inherited from IMailFolder.)
Public methodCreate(String, IEnumerableSpecialFolder, CancellationToken)
Create a new subfolder with the given name.
(Inherited from IMailFolder.)
Public methodCreateAsync(String, SpecialFolder, CancellationToken)
Asynchronously create a new subfolder with the given name.
(Inherited from IMailFolder.)
Public methodCreateAsync(String, Boolean, CancellationToken)
Asynchronously create a new subfolder with the given name.
(Inherited from IMailFolder.)
Public methodCreateAsync(String, IEnumerableSpecialFolder, CancellationToken)
Asynchronously create a new subfolder with the given name.
(Inherited from IMailFolder.)
Public methodDelete
Delete the folder.
(Inherited from IMailFolder.)
Public methodDeleteAsync
Asynchronously delete the folder.
(Inherited from IMailFolder.)
Public methodExpunge(CancellationToken)
Expunge the folder, permanently removing all messages marked for deletion.
(Inherited from IMailFolder.)
Public methodExpunge(IListUniqueId, CancellationToken)
Expunge the specified uids, permanently removing them from the folder.
(Inherited from IMailFolder.)
Public methodExpungeAsync(CancellationToken)
Asynchronously expunge the folder, permanently removing all messages marked for deletion.
(Inherited from IMailFolder.)
Public methodExpungeAsync(IListUniqueId, CancellationToken)
Asynchronously expunge the specified uids, permanently removing them from the folder.
(Inherited from IMailFolder.)
Public methodFetch(IListInt32, MessageSummaryItems, CancellationToken)
Fetch the message summaries for the specified message indexes.
(Inherited from IMailFolder.)
Public methodCode exampleFetch(IListUniqueId, MessageSummaryItems, CancellationToken)
Fetch the message summaries for the specified message UIDs.
(Inherited from IMailFolder.)
Public methodFetch(IListInt32, MessageSummaryItems, IEnumerableHeaderId, CancellationToken)
Fetch the message summaries for the specified message indexes.
(Inherited from IMailFolder.)
Public methodFetch(IListInt32, MessageSummaryItems, IEnumerableString, CancellationToken)
Fetch the message summaries for the specified message indexes.
(Inherited from IMailFolder.)
Public methodFetch(IListInt32, UInt64, MessageSummaryItems, CancellationToken)
Fetch the message summaries for the specified message indexes that have a higher mod-sequence value than the one specified.
(Inherited from IMailFolder.)
Public methodFetch(Int32, Int32, MessageSummaryItems, CancellationToken)
Fetch the message summaries for the messages between the two indexes, inclusive.
(Inherited from IMailFolder.)
Public methodFetch(IListUniqueId, MessageSummaryItems, IEnumerableHeaderId, CancellationToken)
Fetch the message summaries for the specified message UIDs.
(Inherited from IMailFolder.)
Public methodFetch(IListUniqueId, MessageSummaryItems, IEnumerableString, CancellationToken)
Fetch the message summaries for the specified message UIDs.
(Inherited from IMailFolder.)
Public methodFetch(IListUniqueId, UInt64, MessageSummaryItems, CancellationToken)
Fetch the message summaries for the specified message UIDs that have a higher mod-sequence value than the one specified.
(Inherited from IMailFolder.)
Public methodFetch(IListInt32, UInt64, MessageSummaryItems, IEnumerableHeaderId, CancellationToken)
Fetch the message summaries for the specified message indexes that have a higher mod-sequence value than the one specified.
(Inherited from IMailFolder.)
Public methodFetch(IListInt32, UInt64, MessageSummaryItems, IEnumerableString, CancellationToken)
Fetch the message summaries for the specified message indexes that have a higher mod-sequence value than the one specified.
(Inherited from IMailFolder.)
Public methodFetch(Int32, Int32, MessageSummaryItems, IEnumerableHeaderId, CancellationToken)
Fetch the message summaries for the messages between the two indexes, inclusive.
(Inherited from IMailFolder.)
Public methodFetch(Int32, Int32, MessageSummaryItems, IEnumerableString, CancellationToken)
Fetch the message summaries for the messages between the two indexes, inclusive.
(Inherited from IMailFolder.)
Public methodFetch(Int32, Int32, UInt64, MessageSummaryItems, CancellationToken)
Fetch the message summaries for the messages between the two indexes (inclusive) that have a higher mod-sequence value than the one specified.
(Inherited from IMailFolder.)
Public methodFetch(IListUniqueId, UInt64, MessageSummaryItems, IEnumerableHeaderId, CancellationToken)
Fetch the message summaries for the specified message UIDs that have a higher mod-sequence value than the one specified.
(Inherited from IMailFolder.)
Public methodFetch(IListUniqueId, UInt64, MessageSummaryItems, IEnumerableString, CancellationToken)
Fetch the message summaries for the specified message UIDs that have a higher mod-sequence value than the one specified.
(Inherited from IMailFolder.)
Public methodFetch(Int32, Int32, UInt64, MessageSummaryItems, IEnumerableHeaderId, CancellationToken)
Fetch the message summaries for the messages between the two indexes (inclusive) that have a higher mod-sequence value than the one specified.
(Inherited from IMailFolder.)
Public methodFetch(Int32, Int32, UInt64, MessageSummaryItems, IEnumerableString, CancellationToken)
Fetch the message summaries for the messages between the two indexes (inclusive) that have a higher mod-sequence value than the one specified.
(Inherited from IMailFolder.)
Public methodFetchAsync(IListInt32, MessageSummaryItems, CancellationToken)
Asynchronously fetch the message summaries for the specified message indexes.
(Inherited from IMailFolder.)
Public methodFetchAsync(IListUniqueId, MessageSummaryItems, CancellationToken)
Asynchronously fetch the message summaries for the specified message UIDs.
(Inherited from IMailFolder.)
Public methodFetchAsync(IListInt32, MessageSummaryItems, IEnumerableHeaderId, CancellationToken)
Asynchronously fetch the message summaries for the specified message indexes.
(Inherited from IMailFolder.)
Public methodFetchAsync(IListInt32, MessageSummaryItems, IEnumerableString, CancellationToken)
Asynchronously fetch the message summaries for the specified message indexes.
(Inherited from IMailFolder.)
Public methodFetchAsync(IListInt32, UInt64, MessageSummaryItems, CancellationToken)
Asynchronously fetch the message summaries for the specified message indexes that have a higher mod-sequence value than the one specified.
(Inherited from IMailFolder.)
Public methodFetchAsync(Int32, Int32, MessageSummaryItems, CancellationToken)
Asynchronously fetch the message summaries for the messages between the two indexes, inclusive.
(Inherited from IMailFolder.)
Public methodFetchAsync(IListUniqueId, MessageSummaryItems, IEnumerableHeaderId, CancellationToken)
Asynchronously fetch the message summaries for the specified message UIDs.
(Inherited from IMailFolder.)
Public methodFetchAsync(IListUniqueId, MessageSummaryItems, IEnumerableString, CancellationToken)
Asynchronously fetch the message summaries for the specified message UIDs.
(Inherited from IMailFolder.)
Public methodFetchAsync(IListUniqueId, UInt64, MessageSummaryItems, CancellationToken)
Asynchronously fetch the message summaries for the specified message UIDs that have a higher mod-sequence value than the one specified.
(Inherited from IMailFolder.)
Public methodFetchAsync(IListInt32, UInt64, MessageSummaryItems, IEnumerableHeaderId, CancellationToken)
Asynchronously fetch the message summaries for the specified message indexes that have a higher mod-sequence value than the one specified.
(Inherited from IMailFolder.)
Public methodFetchAsync(IListInt32, UInt64, MessageSummaryItems, IEnumerableString, CancellationToken)
Asynchronously fetch the message summaries for the specified message indexes that have a higher mod-sequence value than the one specified.
(Inherited from IMailFolder.)
Public methodFetchAsync(Int32, Int32, MessageSummaryItems, IEnumerableHeaderId, CancellationToken)
Asynchronously fetch the message summaries for the messages between the two indexes, inclusive.
(Inherited from IMailFolder.)
Public methodFetchAsync(Int32, Int32, MessageSummaryItems, IEnumerableString, CancellationToken)
Asynchronously fetch the message summaries for the messages between the two indexes, inclusive.
(Inherited from IMailFolder.)
Public methodFetchAsync(Int32, Int32, UInt64, MessageSummaryItems, CancellationToken)
Asynchronously fetch the message summaries for the messages between the two indexes (inclusive) that have a higher mod-sequence value than the one specified.
(Inherited from IMailFolder.)
Public methodFetchAsync(IListUniqueId, UInt64, MessageSummaryItems, IEnumerableHeaderId, CancellationToken)
Asynchronously fetch the message summaries for the specified message UIDs that have a higher mod-sequence value than the one specified.
(Inherited from IMailFolder.)
Public methodFetchAsync(IListUniqueId, UInt64, MessageSummaryItems, IEnumerableString, CancellationToken)
Asynchronously fetch the message summaries for the specified message UIDs that have a higher mod-sequence value than the one specified.
(Inherited from IMailFolder.)
Public methodFetchAsync(Int32, Int32, UInt64, MessageSummaryItems, IEnumerableHeaderId, CancellationToken)
Asynchronously fetch the message summaries for the messages between the two indexes (inclusive) that have a higher mod-sequence value than the one specified.
(Inherited from IMailFolder.)
Public methodFetchAsync(Int32, Int32, UInt64, MessageSummaryItems, IEnumerableString, CancellationToken)
Asynchronously fetch the message summaries for the messages between the two indexes (inclusive) that have a higher mod-sequence value than the one specified.
(Inherited from IMailFolder.)
Public methodGetAccessControlList
Get the complete access control list for the folder.
(Inherited from IMailFolder.)
Public methodGetAccessControlListAsync
Asynchronously get the complete access control list for the folder.
(Inherited from IMailFolder.)
Public methodGetAccessRights
Get the access rights for a particular identifier.
(Inherited from IMailFolder.)
Public methodGetAccessRightsAsync
Asynchronously get the access rights for a particular identifier.
(Inherited from IMailFolder.)
Public methodGetBodyPart(Int32, BodyPart, CancellationToken, ITransferProgress)
Get the specified body part.
(Inherited from IMailFolder.)
Public methodGetBodyPart(Int32, String, CancellationToken, ITransferProgress)
Get the specified body part.
Public methodCode exampleGetBodyPart(UniqueId, BodyPart, CancellationToken, ITransferProgress)
Get the specified body part.
(Inherited from IMailFolder.)
Public methodGetBodyPart(UniqueId, String, CancellationToken, ITransferProgress)
Get the specified body part.
Public methodGetBodyPartAsync(Int32, BodyPart, CancellationToken, ITransferProgress)
Asynchronously get the specified body part.
(Inherited from IMailFolder.)
Public methodGetBodyPartAsync(Int32, String, CancellationToken, ITransferProgress)
Asynchronously get the specified body part.
Public methodGetBodyPartAsync(UniqueId, BodyPart, CancellationToken, ITransferProgress)
Asynchronously get the specified body part.
(Inherited from IMailFolder.)
Public methodGetBodyPartAsync(UniqueId, String, CancellationToken, ITransferProgress)
Asynchronously get the specified body part.
Public methodGetEnumerator
Returns an enumerator that iterates through the collection.
(Inherited from IEnumerableMimeMessage.)
Public methodGetHeaders(Int32, CancellationToken, ITransferProgress)
Get the specified message headers.
(Inherited from IMailFolder.)
Public methodGetHeaders(UniqueId, CancellationToken, ITransferProgress)
Get the specified message headers.
(Inherited from IMailFolder.)
Public methodGetHeaders(Int32, BodyPart, CancellationToken, ITransferProgress)
Get the specified body part headers.
(Inherited from IMailFolder.)
Public methodGetHeaders(Int32, String, CancellationToken, ITransferProgress)
Get the specified body part headers.
Public methodGetHeaders(UniqueId, BodyPart, CancellationToken, ITransferProgress)
Get the specified body part headers.
(Inherited from IMailFolder.)
Public methodGetHeaders(UniqueId, String, CancellationToken, ITransferProgress)
Get the specified body part headers.
Public methodGetHeadersAsync(Int32, CancellationToken, ITransferProgress)
Asynchronously get the specified message headers.
(Inherited from IMailFolder.)
Public methodGetHeadersAsync(UniqueId, CancellationToken, ITransferProgress)
Asynchronously get the specified message headers.
(Inherited from IMailFolder.)
Public methodGetHeadersAsync(Int32, BodyPart, CancellationToken, ITransferProgress)
Asynchronously get the specified body part headers.
(Inherited from IMailFolder.)
Public methodGetHeadersAsync(Int32, String, CancellationToken, ITransferProgress)
Asynchronously get the specified body part headers.
Public methodGetHeadersAsync(UniqueId, BodyPart, CancellationToken, ITransferProgress)
Asynchronously get the specified body part headers.
(Inherited from IMailFolder.)
Public methodGetHeadersAsync(UniqueId, String, CancellationToken, ITransferProgress)
Asynchronously get the specified body part headers.
Public methodGetMessage(Int32, CancellationToken, ITransferProgress)
Get the specified message.
(Inherited from IMailFolder.)
Public methodGetMessage(UniqueId, CancellationToken, ITransferProgress)
Get the specified message.
(Inherited from IMailFolder.)
Public methodGetMessageAsync(Int32, CancellationToken, ITransferProgress)
Asynchronously get the specified message.
(Inherited from IMailFolder.)
Public methodGetMessageAsync(UniqueId, CancellationToken, ITransferProgress)
Asynchronously get the specified message.
(Inherited from IMailFolder.)
Public methodGetMetadata(MetadataTag, CancellationToken)
Gets the specified metadata.
(Inherited from IMailFolder.)
Public methodGetMetadata(IEnumerableMetadataTag, CancellationToken)
Gets the specified metadata.
(Inherited from IMailFolder.)
Public methodGetMetadata(MetadataOptions, IEnumerableMetadataTag, CancellationToken)
Gets the specified metadata.
(Inherited from IMailFolder.)
Public methodGetMetadataAsync(MetadataTag, CancellationToken)
Asynchronously gets the specified metadata.
(Inherited from IMailFolder.)
Public methodGetMetadataAsync(IEnumerableMetadataTag, CancellationToken)
Asynchronously gets the specified metadata.
(Inherited from IMailFolder.)
Public methodGetMetadataAsync(MetadataOptions, IEnumerableMetadataTag, CancellationToken)
Asynchronously gets the specified metadata.
(Inherited from IMailFolder.)
Public methodGetMyAccessRights
Get the access rights for the current authenticated user.
(Inherited from IMailFolder.)
Public methodGetMyAccessRightsAsync
Asynchronously get the access rights for the current authenticated user.
(Inherited from IMailFolder.)
Public methodGetQuota
Get the quota information for the folder.
(Inherited from IMailFolder.)
Public methodGetQuotaAsync
Asynchronously get the quota information for the folder.
(Inherited from IMailFolder.)
Public methodGetStream(Int32, String, CancellationToken, ITransferProgress)
Get a substream of the specified message.
(Inherited from IMailFolder.)
Public methodGetStream(UniqueId, String, CancellationToken, ITransferProgress)
Get a substream of the specified message.
(Inherited from IMailFolder.)
Public methodGetStream(Int32, Int32, Int32, CancellationToken, ITransferProgress)
Get a substream of the specified message.
(Inherited from IMailFolder.)
Public methodGetStream(UniqueId, Int32, Int32, CancellationToken, ITransferProgress)
Get a substream of the specified message.
(Inherited from IMailFolder.)
Public methodGetStream(Int32, BodyPart, Int32, Int32, CancellationToken, ITransferProgress)
Get a substream of the specified body part.
(Inherited from IMailFolder.)
Public methodGetStream(Int32, String, Int32, Int32, CancellationToken, ITransferProgress)
Get a substream of the specified message.
(Inherited from IMailFolder.)
Public methodGetStream(UniqueId, BodyPart, Int32, Int32, CancellationToken, ITransferProgress)
Get a substream of the specified body part.
(Inherited from IMailFolder.)
Public methodGetStream(UniqueId, String, Int32, Int32, CancellationToken, ITransferProgress)
Get a substream of the specified message.
(Inherited from IMailFolder.)
Public methodGetStreamAsync(Int32, String, CancellationToken, ITransferProgress)
Asynchronously get a substream of the specified message.
(Inherited from IMailFolder.)
Public methodGetStreamAsync(UniqueId, String, CancellationToken, ITransferProgress)
Asynchronously get a substream of the specified message.
(Inherited from IMailFolder.)
Public methodGetStreamAsync(Int32, Int32, Int32, CancellationToken, ITransferProgress)
Asynchronously get a substream of the specified message.
(Inherited from IMailFolder.)
Public methodGetStreamAsync(UniqueId, Int32, Int32, CancellationToken, ITransferProgress)
Asynchronously get a substream of the specified message.
(Inherited from IMailFolder.)
Public methodGetStreamAsync(Int32, BodyPart, Int32, Int32, CancellationToken, ITransferProgress)
Asynchronously get a substream of the specified body part.
(Inherited from IMailFolder.)
Public methodGetStreamAsync(Int32, String, Int32, Int32, CancellationToken, ITransferProgress)
Asynchronously get a substream of the specified message.
(Inherited from IMailFolder.)
Public methodGetStreamAsync(UniqueId, BodyPart, Int32, Int32, CancellationToken, ITransferProgress)
Asynchronously get a substream of the specified body part.
(Inherited from IMailFolder.)
Public methodGetStreamAsync(UniqueId, String, Int32, Int32, CancellationToken, ITransferProgress)
Asynchronously get a substream of the specified message.
(Inherited from IMailFolder.)
Public methodGetStreams(IListInt32, ImapFetchStreamCallback, CancellationToken, ITransferProgress)
Get the streams for the specified messages.
Public methodGetStreams(IListUniqueId, ImapFetchStreamCallback, CancellationToken, ITransferProgress)
Get the streams for the specified messages.
Public methodGetStreams(Int32, Int32, ImapFetchStreamCallback, CancellationToken, ITransferProgress)
Get the streams for the specified messages.
Public methodGetStreamsAsync(IListInt32, ImapFetchStreamAsyncCallback, CancellationToken, ITransferProgress)
Asynchronously get the streams for the specified messages.
Public methodGetStreamsAsync(IListUniqueId, ImapFetchStreamAsyncCallback, CancellationToken, ITransferProgress)
Asynchronously get the streams for the specified messages.
Public methodGetStreamsAsync(Int32, Int32, ImapFetchStreamAsyncCallback, CancellationToken, ITransferProgress)
Asynchronously get the streams for the specified messages.
Public methodGetSubfolder
Get the specified subfolder.
(Inherited from IMailFolder.)
Public methodGetSubfolderAsync
Asynchronously get the specified subfolder.
(Inherited from IMailFolder.)
Public methodGetSubfolders(Boolean, CancellationToken)
Get the subfolders.
(Inherited from IMailFolder.)
Public methodGetSubfolders(StatusItems, Boolean, CancellationToken)
Get the subfolders.
(Inherited from IMailFolder.)
Public methodGetSubfoldersAsync(Boolean, CancellationToken)
Asynchronously get the subfolders.
(Inherited from IMailFolder.)
Public methodGetSubfoldersAsync(StatusItems, Boolean, CancellationToken)
Asynchronously get the subfolders.
(Inherited from IMailFolder.)
Public methodMoveTo(IListInt32, IMailFolder, CancellationToken)
Move the specified messages to the destination folder.
(Inherited from IMailFolder.)
Public methodMoveTo(Int32, IMailFolder, CancellationToken)
Move the specified message to the destination folder.
(Inherited from IMailFolder.)
Public methodMoveTo(UniqueId, IMailFolder, CancellationToken)
Move the specified message to the destination folder.
(Inherited from IMailFolder.)
Public methodMoveTo(IListUniqueId, IMailFolder, CancellationToken)
Move the specified messages to the destination folder.
(Inherited from IMailFolder.)
Public methodMoveToAsync(IListInt32, IMailFolder, CancellationToken)
Asynchronously move the specified messages to the destination folder.
(Inherited from IMailFolder.)
Public methodMoveToAsync(Int32, IMailFolder, CancellationToken)
Asynchronously move the specified message to the destination folder.
(Inherited from IMailFolder.)
Public methodMoveToAsync(UniqueId, IMailFolder, CancellationToken)
Asynchronously move the specified message to the destination folder.
(Inherited from IMailFolder.)
Public methodMoveToAsync(IListUniqueId, IMailFolder, CancellationToken)
Asynchronously move the specified messages to the destination folder.
(Inherited from IMailFolder.)
Public methodOpen(FolderAccess, CancellationToken)
Open the folder using the requested folder access.
(Inherited from IMailFolder.)
Public methodOpen(FolderAccess, UInt32, UInt64, IListUniqueId, CancellationToken)
Opens the folder using the requested folder access.
(Inherited from IMailFolder.)
Public methodOpenAsync(FolderAccess, CancellationToken)
Asynchronously open the folder using the requested folder access.
(Inherited from IMailFolder.)
Public methodOpenAsync(FolderAccess, UInt32, UInt64, IListUniqueId, CancellationToken)
Asynchronously opens the folder using the requested folder access.
(Inherited from IMailFolder.)
Public methodRemoveAccess
Remove all access rights for the given identity.
(Inherited from IMailFolder.)
Public methodRemoveAccessAsync
Asynchronously remove all access rights for the given identity.
(Inherited from IMailFolder.)
Public methodRemoveAccessRights
Remove access rights for the specified identity.
(Inherited from IMailFolder.)
Public methodRemoveAccessRightsAsync
Asynchronously remove access rights for the specified identity.
(Inherited from IMailFolder.)
Public methodRemoveFlags(IListInt32, MessageFlags, Boolean, CancellationToken)
Remove a set of flags from the specified messages.
(Inherited from IMailFolder.)
Public methodRemoveFlags(Int32, MessageFlags, Boolean, CancellationToken)
Remove a set of flags from the specified message.
(Inherited from IMailFolder.)
Public methodRemoveFlags(UniqueId, MessageFlags, Boolean, CancellationToken)
Remove a set of flags from the specified message.
(Inherited from IMailFolder.)
Public methodRemoveFlags(IListUniqueId, MessageFlags, Boolean, CancellationToken)
Remove a set of flags from the specified messages.
(Inherited from IMailFolder.)
Public methodRemoveFlags(IListInt32, MessageFlags, HashSetString, Boolean, CancellationToken)
Remove a set of flags from the specified messages.
(Inherited from IMailFolder.)
Public methodRemoveFlags(IListInt32, UInt64, MessageFlags, Boolean, CancellationToken)
Remove a set of flags from the specified messages only if their mod-sequence value is less than the specified value.
(Inherited from IMailFolder.)
Public methodRemoveFlags(Int32, MessageFlags, HashSetString, Boolean, CancellationToken)
Remove a set of flags from the specified message.
(Inherited from IMailFolder.)
Public methodRemoveFlags(UniqueId, MessageFlags, HashSetString, Boolean, CancellationToken)
Remove a set of flags from the specified message.
(Inherited from IMailFolder.)
Public methodRemoveFlags(IListUniqueId, MessageFlags, HashSetString, Boolean, CancellationToken)
Remove a set of flags from the specified messages.
(Inherited from IMailFolder.)
Public methodRemoveFlags(IListUniqueId, UInt64, MessageFlags, Boolean, CancellationToken)
Remove a set of flags from the specified messages only if their mod-sequence value is less than the specified value.
(Inherited from IMailFolder.)
Public methodRemoveFlags(IListInt32, UInt64, MessageFlags, HashSetString, Boolean, CancellationToken)
Remove a set of flags from the specified messages only if their mod-sequence value is less than the specified value.
(Inherited from IMailFolder.)
Public methodRemoveFlags(IListUniqueId, UInt64, MessageFlags, HashSetString, Boolean, CancellationToken)
Remove a set of flags from the specified messages only if their mod-sequence value is less than the specified value.
(Inherited from IMailFolder.)
Public methodRemoveFlagsAsync(IListInt32, MessageFlags, Boolean, CancellationToken)
Asynchronously remove a set of flags from the specified messages.
(Inherited from IMailFolder.)
Public methodRemoveFlagsAsync(Int32, MessageFlags, Boolean, CancellationToken)
Asynchronously remove a set of flags from the specified message.
(Inherited from IMailFolder.)
Public methodRemoveFlagsAsync(UniqueId, MessageFlags, Boolean, CancellationToken)
Asynchronously remove a set of flags from the specified message.
(Inherited from IMailFolder.)
Public methodRemoveFlagsAsync(IListUniqueId, MessageFlags, Boolean, CancellationToken)
Asynchronously remove a set of flags from the specified messages.
(Inherited from IMailFolder.)
Public methodRemoveFlagsAsync(IListInt32, MessageFlags, HashSetString, Boolean, CancellationToken)
Asynchronously remove a set of flags from the specified messages.
(Inherited from IMailFolder.)
Public methodRemoveFlagsAsync(IListInt32, UInt64, MessageFlags, Boolean, CancellationToken)
Asynchronously remove a set of flags from the specified messages only if their mod-sequence value is less than the specified value.
(Inherited from IMailFolder.)
Public methodRemoveFlagsAsync(Int32, MessageFlags, HashSetString, Boolean, CancellationToken)
Asynchronously remove a set of flags from the specified message.
(Inherited from IMailFolder.)
Public methodRemoveFlagsAsync(UniqueId, MessageFlags, HashSetString, Boolean, CancellationToken)
Asynchronously remove a set of flags from the specified message.
(Inherited from IMailFolder.)
Public methodRemoveFlagsAsync(IListUniqueId, MessageFlags, HashSetString, Boolean, CancellationToken)
Asynchronously remove a set of flags from the specified messages.
(Inherited from IMailFolder.)
Public methodRemoveFlagsAsync(IListUniqueId, UInt64, MessageFlags, Boolean, CancellationToken)
Asynchronously remove a set of flags from the specified messages only if their mod-sequence value is less than the specified value.
(Inherited from IMailFolder.)
Public methodRemoveFlagsAsync(IListInt32, UInt64, MessageFlags, HashSetString, Boolean, CancellationToken)
Asynchronously remove a set of flags from the specified messages only if their mod-sequence value is less than the specified value.
(Inherited from IMailFolder.)
Public methodRemoveFlagsAsync(IListUniqueId, UInt64, MessageFlags, HashSetString, Boolean, CancellationToken)
Asynchronously remove a set of flags from the specified messages only if their mod-sequence value is less than the specified value.
(Inherited from IMailFolder.)
Public methodRemoveLabels(IListInt32, IListString, Boolean, CancellationToken)
Remove a set of labels from the specified messages.
(Inherited from IMailFolder.)
Public methodRemoveLabels(Int32, IListString, Boolean, CancellationToken)
Remove a set of labels from the specified message.
(Inherited from IMailFolder.)
Public methodRemoveLabels(UniqueId, IListString, Boolean, CancellationToken)
Remove a set of labels from the specified message.
(Inherited from IMailFolder.)
Public methodRemoveLabels(IListUniqueId, IListString, Boolean, CancellationToken)
Remove a set of labels from the specified messages.
(Inherited from IMailFolder.)
Public methodRemoveLabels(IListInt32, UInt64, IListString, Boolean, CancellationToken)
Remove a set of labels from the specified messages only if their mod-sequence value is less than the specified value.
(Inherited from IMailFolder.)
Public methodRemoveLabels(IListUniqueId, UInt64, IListString, Boolean, CancellationToken)
Remove a set of labels from the specified messages only if their mod-sequence value is less than the specified value.
(Inherited from IMailFolder.)
Public methodRemoveLabelsAsync(IListInt32, IListString, Boolean, CancellationToken)
Asynchronously remove a set of labels from the specified messages.
(Inherited from IMailFolder.)
Public methodRemoveLabelsAsync(Int32, IListString, Boolean, CancellationToken)
Asynchronously remove a set of labels from the specified message.
(Inherited from IMailFolder.)
Public methodRemoveLabelsAsync(UniqueId, IListString, Boolean, CancellationToken)
Asynchronously remove a set of labels from the specified message.
(Inherited from IMailFolder.)
Public methodRemoveLabelsAsync(IListUniqueId, IListString, Boolean, CancellationToken)
Asynchronously remove a set of labels from the specified messages.
(Inherited from IMailFolder.)
Public methodRemoveLabelsAsync(IListInt32, UInt64, IListString, Boolean, CancellationToken)
Asynchronously remove a set of labels from the specified messages only if their mod-sequence value is less than the specified value.
(Inherited from IMailFolder.)
Public methodRemoveLabelsAsync(IListUniqueId, UInt64, IListString, Boolean, CancellationToken)
Asynchronously remove a set of labels from the specified messages only if their mod-sequence value is less than the specified value.
(Inherited from IMailFolder.)
Public methodRename
Rename the folder.
(Inherited from IMailFolder.)
Public methodRenameAsync
Asynchronously rename the folder.
(Inherited from IMailFolder.)
Public methodReplace(Int32, MimeMessage, MessageFlags, CancellationToken, ITransferProgress)
Replace a message in the folder.
(Inherited from IMailFolder.)
Public methodReplace(UniqueId, MimeMessage, MessageFlags, CancellationToken, ITransferProgress)
Replace a message in the folder.
(Inherited from IMailFolder.)
Public methodReplace(Int32, MimeMessage, MessageFlags, DateTimeOffset, CancellationToken, ITransferProgress)
Replace a message in the folder.
(Inherited from IMailFolder.)
Public methodReplace(FormatOptions, UniqueId, MimeMessage, MessageFlags, CancellationToken, ITransferProgress)
Replace a message in the folder.
(Inherited from IMailFolder.)
Public methodReplace(FormatOptions, Int32, MimeMessage, MessageFlags, CancellationToken, ITransferProgress)
Replace a message in the folder.
(Inherited from IMailFolder.)
Public methodReplace(UniqueId, MimeMessage, MessageFlags, DateTimeOffset, CancellationToken, ITransferProgress)
Replace a message in the folder.
(Inherited from IMailFolder.)
Public methodReplace(FormatOptions, UniqueId, MimeMessage, MessageFlags, DateTimeOffset, CancellationToken, ITransferProgress)
Replace a message in the folder.
(Inherited from IMailFolder.)
Public methodReplace(FormatOptions, Int32, MimeMessage, MessageFlags, DateTimeOffset, CancellationToken, ITransferProgress)
Replace a message in the folder.
(Inherited from IMailFolder.)
Public methodReplaceAsync(Int32, MimeMessage, MessageFlags, CancellationToken, ITransferProgress)
Asynchronously replace a message in the folder.
(Inherited from IMailFolder.)
Public methodReplaceAsync(UniqueId, MimeMessage, MessageFlags, CancellationToken, ITransferProgress)
Asynchronously replace a message in the folder.
(Inherited from IMailFolder.)
Public methodReplaceAsync(Int32, MimeMessage, MessageFlags, DateTimeOffset, CancellationToken, ITransferProgress)
Asynchronously replace a message in the folder.
(Inherited from IMailFolder.)
Public methodReplaceAsync(FormatOptions, UniqueId, MimeMessage, MessageFlags, CancellationToken, ITransferProgress)
Asynchronously replace a message in the folder.
(Inherited from IMailFolder.)
Public methodReplaceAsync(FormatOptions, Int32, MimeMessage, MessageFlags, CancellationToken, ITransferProgress)
Asynchronously replace a message in the folder.
(Inherited from IMailFolder.)
Public methodReplaceAsync(UniqueId, MimeMessage, MessageFlags, DateTimeOffset, CancellationToken, ITransferProgress)
Asynchronously replace a message in the folder.
(Inherited from IMailFolder.)
Public methodReplaceAsync(FormatOptions, UniqueId, MimeMessage, MessageFlags, DateTimeOffset, CancellationToken, ITransferProgress)
Asynchronously replace a message in the folder.
(Inherited from IMailFolder.)
Public methodReplaceAsync(FormatOptions, Int32, MimeMessage, MessageFlags, DateTimeOffset, CancellationToken, ITransferProgress)
Asynchronously replace a message in the folder.
(Inherited from IMailFolder.)
Public methodSearch(String, CancellationToken)
Search the folder for messages matching the specified query.
Public methodSearch(SearchQuery, CancellationToken)
Search the folder for messages matching the specified query.
(Inherited from IMailFolder.)
Public methodSearch(SearchOptions, SearchQuery, CancellationToken)
Search the folder for messages matching the specified query.
(Inherited from IMailFolder.)
Public methodSearch(IListUniqueId, SearchQuery, CancellationToken)
Search the subset of UIDs in the folder for messages matching the specified query.
(Inherited from IMailFolder.)
Public methodSearch(SearchOptions, IListUniqueId, SearchQuery, CancellationToken)
Search the subset of UIDs in the folder for messages matching the specified query.
(Inherited from IMailFolder.)
Public methodSearchAsync(String, CancellationToken)
Asynchronously search the folder for messages matching the specified query.
Public methodSearchAsync(SearchQuery, CancellationToken)
Asynchronously search the folder for messages matching the specified query.
(Inherited from IMailFolder.)
Public methodSearchAsync(SearchOptions, SearchQuery, CancellationToken)
Asynchronously search the folder for messages matching the specified query.
(Inherited from IMailFolder.)
Public methodSearchAsync(IListUniqueId, SearchQuery, CancellationToken)
Asynchronously search the subset of UIDs in the folder for messages matching the specified query.
(Inherited from IMailFolder.)
Public methodSearchAsync(SearchOptions, IListUniqueId, SearchQuery, CancellationToken)
Asynchronously search the subset of UIDs in the folder for messages matching the specified query.
(Inherited from IMailFolder.)
Public methodSetAccessRights
Set the access rights for the specified identity.
(Inherited from IMailFolder.)
Public methodSetAccessRightsAsync
Asynchronously set the access rights for the sepcified identity.
(Inherited from IMailFolder.)
Public methodSetFlags(IListInt32, MessageFlags, Boolean, CancellationToken)
Set the flags of the specified messages.
(Inherited from IMailFolder.)
Public methodSetFlags(Int32, MessageFlags, Boolean, CancellationToken)
Set the flags of the specified message.
(Inherited from IMailFolder.)
Public methodSetFlags(UniqueId, MessageFlags, Boolean, CancellationToken)
Set the flags of the specified message.
(Inherited from IMailFolder.)
Public methodSetFlags(IListUniqueId, MessageFlags, Boolean, CancellationToken)
Set the flags of the specified messages.
(Inherited from IMailFolder.)
Public methodSetFlags(IListInt32, MessageFlags, HashSetString, Boolean, CancellationToken)
Set the flags of the specified messages.
(Inherited from IMailFolder.)
Public methodSetFlags(IListInt32, UInt64, MessageFlags, Boolean, CancellationToken)
Set the flags of the specified messages only if their mod-sequence value is less than the specified value.
(Inherited from IMailFolder.)
Public methodSetFlags(Int32, MessageFlags, HashSetString, Boolean, CancellationToken)
Set the flags of the specified message.
(Inherited from IMailFolder.)
Public methodSetFlags(UniqueId, MessageFlags, HashSetString, Boolean, CancellationToken)
Set the flags of the specified message.
(Inherited from IMailFolder.)
Public methodSetFlags(IListUniqueId, MessageFlags, HashSetString, Boolean, CancellationToken)
Set the flags of the specified messages.
(Inherited from IMailFolder.)
Public methodSetFlags(IListUniqueId, UInt64, MessageFlags, Boolean, CancellationToken)
Set the flags of the specified messages only if their mod-sequence value is less than the specified value.
(Inherited from IMailFolder.)
Public methodSetFlags(IListInt32, UInt64, MessageFlags, HashSetString, Boolean, CancellationToken)
Set the flags of the specified messages only if their mod-sequence value is less than the specified value.
(Inherited from IMailFolder.)
Public methodSetFlags(IListUniqueId, UInt64, MessageFlags, HashSetString, Boolean, CancellationToken)
Set the flags of the specified messages only if their mod-sequence value is less than the specified value.
(Inherited from IMailFolder.)
Public methodSetFlagsAsync(IListInt32, MessageFlags, Boolean, CancellationToken)
Asynchronously set the flags of the specified messages.
(Inherited from IMailFolder.)
Public methodSetFlagsAsync(Int32, MessageFlags, Boolean, CancellationToken)
Asynchronously set the flags of the specified message.
(Inherited from IMailFolder.)
Public methodSetFlagsAsync(UniqueId, MessageFlags, Boolean, CancellationToken)
Asynchronously set the flags of the specified message.
(Inherited from IMailFolder.)
Public methodSetFlagsAsync(IListUniqueId, MessageFlags, Boolean, CancellationToken)
Asynchronously set the flags of the specified messages.
(Inherited from IMailFolder.)
Public methodSetFlagsAsync(IListInt32, MessageFlags, HashSetString, Boolean, CancellationToken)
Asynchronously set the flags of the specified messages.
(Inherited from IMailFolder.)
Public methodSetFlagsAsync(IListInt32, UInt64, MessageFlags, Boolean, CancellationToken)
Asynchronously set the flags of the specified messages only if their mod-sequence value is less than the specified value.
(Inherited from IMailFolder.)
Public methodSetFlagsAsync(Int32, MessageFlags, HashSetString, Boolean, CancellationToken)
Asynchronously set the flags of the specified message.
(Inherited from IMailFolder.)
Public methodSetFlagsAsync(UniqueId, MessageFlags, HashSetString, Boolean, CancellationToken)
Asynchronously set the flags of the specified message.
(Inherited from IMailFolder.)
Public methodSetFlagsAsync(IListUniqueId, MessageFlags, HashSetString, Boolean, CancellationToken)
Asynchronously set the flags of the specified messages.
(Inherited from IMailFolder.)
Public methodSetFlagsAsync(IListUniqueId, UInt64, MessageFlags, Boolean, CancellationToken)
Asynchronously set the flags of the specified messages only if their mod-sequence value is less than the specified value.
(Inherited from IMailFolder.)
Public methodSetFlagsAsync(IListInt32, UInt64, MessageFlags, HashSetString, Boolean, CancellationToken)
Asynchronously set the flags of the specified messages only if their mod-sequence value is less than the specified value.
(Inherited from IMailFolder.)
Public methodSetFlagsAsync(IListUniqueId, UInt64, MessageFlags, HashSetString, Boolean, CancellationToken)
Asynchronously set the flags of the specified messages only if their mod-sequence value is less than the specified value.
(Inherited from IMailFolder.)
Public methodSetLabels(IListInt32, IListString, Boolean, CancellationToken)
Set the labels of the specified messages.
(Inherited from IMailFolder.)
Public methodSetLabels(Int32, IListString, Boolean, CancellationToken)
Set the labels of the specified message.
(Inherited from IMailFolder.)
Public methodSetLabels(UniqueId, IListString, Boolean, CancellationToken)
Set the labels of the specified message.
(Inherited from IMailFolder.)
Public methodSetLabels(IListUniqueId, IListString, Boolean, CancellationToken)
Set the labels of the specified messages.
(Inherited from IMailFolder.)
Public methodSetLabels(IListInt32, UInt64, IListString, Boolean, CancellationToken)
Set the labels of the specified messages only if their mod-sequence value is less than the specified value.
(Inherited from IMailFolder.)
Public methodSetLabels(IListUniqueId, UInt64, IListString, Boolean, CancellationToken)
Set the labels of the specified messages only if their mod-sequence value is less than the specified value.
(Inherited from IMailFolder.)
Public methodSetLabelsAsync(IListInt32, IListString, Boolean, CancellationToken)
Asynchronously set the labels of the specified messages.
(Inherited from IMailFolder.)
Public methodSetLabelsAsync(Int32, IListString, Boolean, CancellationToken)
Asynchronously set the labels of the specified message.
(Inherited from IMailFolder.)
Public methodSetLabelsAsync(UniqueId, IListString, Boolean, CancellationToken)
Asynchronously set the labels of the specified message.
(Inherited from IMailFolder.)
Public methodSetLabelsAsync(IListUniqueId, IListString, Boolean, CancellationToken)
Asynchronously set the labels of the specified messages.
(Inherited from IMailFolder.)
Public methodSetLabelsAsync(IListInt32, UInt64, IListString, Boolean, CancellationToken)
Asynchronously set the labels of the specified messages only if their mod-sequence value is less than the specified value.
(Inherited from IMailFolder.)
Public methodSetLabelsAsync(IListUniqueId, UInt64, IListString, Boolean, CancellationToken)
Asynchronously set the labels of the specified messages only if their mod-sequence value is less than the specified value.
(Inherited from IMailFolder.)
Public methodSetMetadata
Sets the specified metadata.
(Inherited from IMailFolder.)
Public methodSetMetadataAsync
Asynchronously sets the specified metadata.
(Inherited from IMailFolder.)
Public methodSetQuota
Set the quota limits for the folder.
(Inherited from IMailFolder.)
Public methodSetQuotaAsync
Asynchronously set the quota limits for the folder.
(Inherited from IMailFolder.)
Public methodSort(String, CancellationToken)
Sort messages matching the specified query.
Public methodSort(SearchQuery, IListOrderBy, CancellationToken)
Sort messages matching the specified query.
(Inherited from IMailFolder.)
Public methodSort(SearchOptions, SearchQuery, IListOrderBy, CancellationToken)
Sort messages matching the specified query.
(Inherited from IMailFolder.)
Public methodSort(IListUniqueId, SearchQuery, IListOrderBy, CancellationToken)
Sort messages matching the specified query.
(Inherited from IMailFolder.)
Public methodSort(SearchOptions, IListUniqueId, SearchQuery, IListOrderBy, CancellationToken)
Sort messages matching the specified query.
(Inherited from IMailFolder.)
Public methodSortAsync(String, CancellationToken)
Asynchronously sort messages matching the specified query.
Public methodSortAsync(SearchQuery, IListOrderBy, CancellationToken)
Asynchronously sort messages matching the specified query.
(Inherited from IMailFolder.)
Public methodSortAsync(SearchOptions, SearchQuery, IListOrderBy, CancellationToken)
Asynchronously sort messages matching the specified query.
(Inherited from IMailFolder.)
Public methodSortAsync(IListUniqueId, SearchQuery, IListOrderBy, CancellationToken)
Asynchronously sort messages matching the specified query.
(Inherited from IMailFolder.)
Public methodSortAsync(SearchOptions, IListUniqueId, SearchQuery, IListOrderBy, CancellationToken)
Asynchronously sort messages matching the specified query.
(Inherited from IMailFolder.)
Public methodStatus
Update the values of the specified items.
(Inherited from IMailFolder.)
Public methodStatusAsync
Asynchronously update the values of the specified items.
(Inherited from IMailFolder.)
Public methodStore(IListInt32, IListAnnotation, CancellationToken)
Store the annotations for the specified messages.
(Inherited from IMailFolder.)
Public methodStore(Int32, IListAnnotation, CancellationToken)
Store the annotations for the specified message.
(Inherited from IMailFolder.)
Public methodStore(UniqueId, IListAnnotation, CancellationToken)
Store the annotations for the specified message.
(Inherited from IMailFolder.)
Public methodStore(IListUniqueId, IListAnnotation, CancellationToken)
Store the annotations for the specified messages.
(Inherited from IMailFolder.)
Public methodStore(IListInt32, UInt64, IListAnnotation, CancellationToken)
Store the annotations for the specified messages only if their mod-sequence value is less than the specified value.
(Inherited from IMailFolder.)
Public methodStore(IListUniqueId, UInt64, IListAnnotation, CancellationToken)
Store the annotations for the specified messages only if their mod-sequence value is less than the specified value.
(Inherited from IMailFolder.)
Public methodStoreAsync(IListInt32, IListAnnotation, CancellationToken)
Asynchronously store the annotations for the specified messages.
(Inherited from IMailFolder.)
Public methodStoreAsync(Int32, IListAnnotation, CancellationToken)
Asynchronously store the annotations for the specified message.
(Inherited from IMailFolder.)
Public methodStoreAsync(UniqueId, IListAnnotation, CancellationToken)
Asynchronously store the annotations for the specified message.
(Inherited from IMailFolder.)
Public methodStoreAsync(IListUniqueId, IListAnnotation, CancellationToken)
Asynchronously store the annotations for the specified messages.
(Inherited from IMailFolder.)
Public methodStoreAsync(IListInt32, UInt64, IListAnnotation, CancellationToken)
Asynchronously store the annotations for the specified messages only if their mod-sequence value is less than the specified value.
(Inherited from IMailFolder.)
Public methodStoreAsync(IListUniqueId, UInt64, IListAnnotation, CancellationToken)
Asynchronously store the annotations for the specified messages only if their mod-sequence value is less than the specified value.
(Inherited from IMailFolder.)
Public methodSubscribe
Subscribe to the folder.
(Inherited from IMailFolder.)
Public methodSubscribeAsync
Asynchronously subscribe to the folder.
(Inherited from IMailFolder.)
Public methodSupports
Determine whether or not an IMailFolder supports a feature.
(Inherited from IMailFolder.)
Public methodThread(ThreadingAlgorithm, SearchQuery, CancellationToken)
Thread the messages in the folder that match the search query using the specified threading algorithm.
(Inherited from IMailFolder.)
Public methodThread(IListUniqueId, ThreadingAlgorithm, SearchQuery, CancellationToken)
Thread the messages in the folder that match the search query using the specified threading algorithm.
(Inherited from IMailFolder.)
Public methodThreadAsync(ThreadingAlgorithm, SearchQuery, CancellationToken)
Asynchronously thread the messages in the folder that match the search query using the specified threading algorithm.
(Inherited from IMailFolder.)
Public methodThreadAsync(IListUniqueId, ThreadingAlgorithm, SearchQuery, CancellationToken)
Asynchronously thread the messages in the folder that match the search query using the specified threading algorithm.
(Inherited from IMailFolder.)
Public methodUnsubscribe
Unsubscribe from the folder.
(Inherited from IMailFolder.)
Public methodUnsubscribeAsync
Asynchronously unsubscribe from the folder.
(Inherited from IMailFolder.)
Top
Events
  NameDescription
Public eventAnnotationsChanged
Occurs when annotations changed on a message.
(Inherited from IMailFolder.)
Public eventClosed
Occurs when the folder is closed.
(Inherited from IMailFolder.)
Public eventCode exampleCountChanged
Occurs when the message count changes.
(Inherited from IMailFolder.)
Public eventDeleted
Occurs when the folder is deleted.
(Inherited from IMailFolder.)
Public eventHighestModSeqChanged
Occurs when the highest mod-sequence changes.
(Inherited from IMailFolder.)
Public eventIdChanged
Occurs when the ID changes.
(Inherited from IMailFolder.)
Public eventCode exampleMessageExpunged
Occurs when a message is expunged from the folder.
(Inherited from IMailFolder.)
Public eventCode exampleMessageFlagsChanged
Occurs when flags changed on a message.
(Inherited from IMailFolder.)
Public eventMessageLabelsChanged
Occurs when labels changed on a message.
(Inherited from IMailFolder.)
Public eventMessageSummaryFetched
Occurs when a message summary is fetched from the folder.
(Inherited from IMailFolder.)
Public eventMessagesVanished
Occurs when messages vanish from the folder.
(Inherited from IMailFolder.)
Public eventMetadataChanged
Occurs when metadata changes.
(Inherited from IMailFolder.)
Public eventModSeqChanged
Occurs when the mod-sequence changed on a message.
(Inherited from IMailFolder.)
Public eventOpened
Occurs when the folder is opened.
(Inherited from IMailFolder.)
Public eventRecentChanged
Occurs when the recent message count changes.
(Inherited from IMailFolder.)
Public eventRenamed
Occurs when the folder is renamed.
(Inherited from IMailFolder.)
Public eventSizeChanged
Occurs when the size of the folder changes.
(Inherited from IMailFolder.)
Public eventSubscribed
Occurs when the folder is subscribed.
(Inherited from IMailFolder.)
Public eventUidNextChanged
Occurs when the next UID changes.
(Inherited from IMailFolder.)
Public eventUidValidityChanged
Occurs when the UID validity changes.
(Inherited from IMailFolder.)
Public eventUnreadChanged
Occurs when the message unread count changes.
(Inherited from IMailFolder.)
Public eventUnsubscribed
Occurs when the folder is unsubscribed.
(Inherited from IMailFolder.)
Top
Remarks
Implemented by ImapFolder.
Examples
C#
public static void DownloadMessages ()
{
    using (var client = new ImapClient ()) {
        client.Connect ("imap.gmail.com", 993, SecureSocketOptions.SslOnConnect);

        client.Authenticate ("username", "password");

        client.Inbox.Open (FolderAccess.ReadOnly);

        var uids = client.Inbox.Search (SearchQuery.All);

        foreach (var uid in uids) {
            var message = client.Inbox.GetMessage (uid);

            // write the message to a file
            message.WriteTo (string.Format ("{0}.eml", uid));
        }

        client.Disconnect (true);
    }
}
Examples
C#
public static void DownloadBodyParts ()
{
    using (var client = new ImapClient ()) {
        client.Connect ("imap.gmail.com", 993, SecureSocketOptions.SslOnConnect);

        client.Authenticate ("username", "password");

        client.Inbox.Open (FolderAccess.ReadOnly);

        // search for messages where the Subject header contains either "MimeKit" or "MailKit"
        var query = SearchQuery.SubjectContains ("MimeKit").Or (SearchQuery.SubjectContains ("MailKit"));
        var uids = client.Inbox.Search (query);

        // fetch summary information for the search results (we will want the UID and the BODYSTRUCTURE
        // of each message so that we can extract the text body and the attachments)
        var items = client.Inbox.Fetch (uids, MessageSummaryItems.UniqueId | MessageSummaryItems.BodyStructure);

        foreach (var item in items) {
            // determine a directory to save stuff in
            var directory = Path.Combine (baseDirectory, item.UniqueId.ToString ());

            // create the directory
            Directory.CreateDirectory (directory);

            // IMessageSummary.TextBody is a convenience property that finds the 'text/plain' body part for us
            var bodyPart = item.TextBody;

            // download the 'text/plain' body part
            var body = (TextPart) client.Inbox.GetBodyPart (item.UniqueId, bodyPart);

            // TextPart.Text is a convenience property that decodes the content and converts the result to
            // a string for us
            var text = body.Text;

            File.WriteAllText (Path.Combine (directory, "body.txt"), text);

            // now iterate over all of the attachments and save them to disk
            foreach (var attachment in item.Attachments) {
                // download the attachment just like we did with the body
                var entity = client.Inbox.GetBodyPart (item.UniqueId, attachment);

                // attachments can be either message/rfc822 parts or regular MIME parts
                if (entity is MessagePart) {
                    var rfc822 = (MessagePart) entity;

                    var path = Path.Combine (directory, attachment.PartSpecifier + ".eml");

                    rfc822.Message.WriteTo (path);
                } else {
                    var part = (MimePart) entity;

                    // note: it's possible for this to be null, but most will specify a filename
                    var fileName = part.FileName;

                    var path = Path.Combine (directory, fileName);

                    // decode and save the content to a file
                    using (var stream = File.Create (path))
                        part.Content.DecodeTo (stream);
                }
            }
        }

        client.Disconnect (true);
    }
}
See Also