Click or drag to resize
MimeKit

ImapFolder Class

An IMAP folder.
Inheritance Hierarchy
SystemObject
  MailKitMailFolder
    MailKit.Net.ImapImapFolder

Namespace: MailKit.Net.Imap
Assembly: MailKit (in MailKit.dll) Version: 4.7.1
Syntax
C#
public class ImapFolder : MailFolder, IImapFolder, 
	IMailFolder, IEnumerable<MimeMessage>, IEnumerable

The ImapFolder type exposes the following members.

Constructors
 NameDescription
Public methodImapFolder Initializes a new instance of the ImapFolder class.
Top
Properties
 NameDescription
Public propertyAcceptedFlags Get the accepted flags.
(Inherited from MailFolder)
Public propertyAcceptedKeywords Get the accepted keywords.
(Inherited from MailFolder)
Public propertyAccess Get the read/write access of the folder.
(Inherited from MailFolder)
Public propertyAnnotationAccess Get the annotation access level.
(Inherited from MailFolder)
Public propertyAnnotationScopes Get the supported annotation scopes.
(Inherited from MailFolder)
Public propertyAppendLimit Get the maximum size of a message that can be appended to the folder.
(Inherited from MailFolder)
Public propertyAttributes Get the folder attributes.
(Inherited from MailFolder)
Public propertyCode exampleCount Get the total number of messages in the folder.
(Inherited from MailFolder)
Public propertyDirectorySeparator Get the directory separator.
(Inherited from MailFolder)
Public propertyExists Get a value indicating whether the folder exists.
(Inherited from MailFolder)
Public propertyFirstUnread Get the index of the first unread message in the folder.
(Inherited from MailFolder)
Public propertyFullName Get the full name of the folder.
(Inherited from MailFolder)
Public propertyHighestModSeq Get the highest mod-sequence value of all messages in the mailbox.
(Inherited from MailFolder)
Public propertyId Get the unique identifier for the folder, if available.
(Inherited from MailFolder)
Public propertyIsNamespace Get whether or not the folder is a namespace folder.
(Inherited from MailFolder)
Public propertyIsOpen Gets a value indicating whether the folder is currently open.
(Overrides MailFolderIsOpen)
Public propertyIsSubscribed Get a value indicating whether the folder is subscribed.
(Inherited from MailFolder)
Public propertyMaxAnnotationSize Get the maximum size of annotation values supported by the folder.
(Inherited from MailFolder)
Public propertyName Get the name of the folder.
(Inherited from MailFolder)
Public propertyParentFolder Get the parent folder.
(Inherited from MailFolder)
Public propertyPermanentFlags Get the permanent flags.
(Inherited from MailFolder)
Public propertyPermanentKeywords Get the permanent keywords.
(Inherited from MailFolder)
Public propertyRecent Get the number of recently added messages in the folder.
(Inherited from MailFolder)
Public propertySize Get the size of the folder.
(Inherited from MailFolder)
Public propertySyncRoot Gets an object that can be used to synchronize access to the IMAP server.
(Overrides MailFolderSyncRoot)
Public propertyThreadingAlgorithms Get the threading algorithms supported by the folder.
(Overrides MailFolderThreadingAlgorithms)
Public propertyUidNext Get the UID that the folder will assign to the next message that is added.
(Inherited from MailFolder)
Public propertyUidValidity Get the UID validity.
(Inherited from MailFolder)
Public propertyUnread Get the number of unread messages in the folder.
(Inherited from MailFolder)
Top
Methods
 NameDescription
Public methodAddAccessRights Add access rights for the specified identity.
(Overrides MailFolderAddAccessRights(String, AccessRights, CancellationToken))
Public methodAddAccessRightsAsync Asynchronously add access rights for the specified identity.
(Overrides MailFolderAddAccessRightsAsync(String, AccessRights, CancellationToken))
Public methodAppend(IAppendRequest, CancellationToken) Append a message to the folder.
(Inherited from MailFolder)
Public methodAppend(IListIAppendRequest, CancellationToken) Append multiple messages to the folder.
(Inherited from MailFolder)
Public methodAppend(FormatOptions, IAppendRequest, CancellationToken) Append a message to the folder.
(Overrides MailFolderAppend(FormatOptions, IAppendRequest, CancellationToken))
Public methodAppend(FormatOptions, IListIAppendRequest, CancellationToken) Append multiple messages to the folder.
(Overrides MailFolderAppend(FormatOptions, IListIAppendRequest, CancellationToken))
Public methodAppendAsync(IAppendRequest, CancellationToken) Asynchronously append a message to the folder.
(Inherited from MailFolder)
Public methodAppendAsync(IListIAppendRequest, CancellationToken) Asynchronously append multiple messages to the folder.
(Inherited from MailFolder)
Public methodAppendAsync(FormatOptions, IAppendRequest, CancellationToken) Asynchronously append a message to the folder.
(Overrides MailFolderAppendAsync(FormatOptions, IAppendRequest, CancellationToken))
Public methodAppendAsync(FormatOptions, IListIAppendRequest, CancellationToken) Asynchronously append multiple messages to the folder.
(Overrides MailFolderAppendAsync(FormatOptions, IListIAppendRequest, CancellationToken))
Public methodCheck Force the server to sync its in-memory state with its disk state.
(Overrides MailFolderCheck(CancellationToken))
Public methodCheckAsync Asynchronously force the server to sync its in-memory state with its disk state.
(Overrides MailFolderCheckAsync(CancellationToken))
Public methodClose Close the folder, optionally expunging the messages marked for deletion.
(Overrides MailFolderClose(Boolean, CancellationToken))
Public methodCloseAsync Asynchronously close the folder, optionally expunging the messages marked for deletion.
(Overrides MailFolderCloseAsync(Boolean, CancellationToken))
Protected methodCommitStream Commit a stream returned by CreateStream(NullableUniqueId, String, Int32, Int32).
Public methodCopyTo(IListUniqueId, IMailFolder, CancellationToken) Copy the specified messages to the destination folder.
(Overrides MailFolderCopyTo(IListUniqueId, IMailFolder, CancellationToken))
Public methodCopyTo(IListInt32, IMailFolder, CancellationToken) Copy the specified messages to the destination folder.
(Overrides MailFolderCopyTo(IListInt32, IMailFolder, CancellationToken))
Public methodCopyTo(Int32, IMailFolder, CancellationToken) Copy the specified message to the destination folder.
(Inherited from MailFolder)
Public methodCopyTo(UniqueId, IMailFolder, CancellationToken) Copy the specified message to the destination folder.
(Inherited from MailFolder)
Public methodCopyToAsync(IListUniqueId, IMailFolder, CancellationToken) Asynchronously copy the specified messages to the destination folder.
(Overrides MailFolderCopyToAsync(IListUniqueId, IMailFolder, CancellationToken))
Public methodCopyToAsync(IListInt32, IMailFolder, CancellationToken) Asynchronously copy the specified messages to the destination folder.
(Overrides MailFolderCopyToAsync(IListInt32, IMailFolder, CancellationToken))
Public methodCopyToAsync(Int32, IMailFolder, CancellationToken) Asynchronously copy the specified message to the destination folder.
(Inherited from MailFolder)
Public methodCopyToAsync(UniqueId, IMailFolder, CancellationToken) Asynchronously copy the specified message to the destination folder.
(Inherited from MailFolder)
Public methodCreate(String, SpecialFolder, CancellationToken) Create a new subfolder with the given name.
(Inherited from MailFolder)
Public methodCreate(String, Boolean, CancellationToken) Create a new subfolder with the given name.
(Overrides MailFolderCreate(String, Boolean, CancellationToken))
Public methodCreate(String, IEnumerableSpecialFolder, CancellationToken) Create a new subfolder with the given name.
(Overrides MailFolderCreate(String, IEnumerableSpecialFolder, CancellationToken))
Public methodCreateAsync(String, SpecialFolder, CancellationToken) Asynchronously create a new subfolder with the given name.
(Inherited from MailFolder)
Public methodCreateAsync(String, Boolean, CancellationToken) Asynchronously create a new subfolder with the given name.
(Overrides MailFolderCreateAsync(String, Boolean, CancellationToken))
Public methodCreateAsync(String, IEnumerableSpecialFolder, CancellationToken) Asynchronously create a new subfolder with the given name.
(Overrides MailFolderCreateAsync(String, IEnumerableSpecialFolder, CancellationToken))
Protected methodCreateStream Create a backing stream for use with the GetMessage, GetBodyPart, and GetStream methods.
Public methodDelete Delete the folder on the IMAP server.
(Overrides MailFolderDelete(CancellationToken))
Public methodDeleteAsync Asynchronously delete the folder on the IMAP server.
(Overrides MailFolderDeleteAsync(CancellationToken))
Public methodEquals
(Inherited from Object)
Public methodExpunge(CancellationToken) Expunge the folder, permanently removing all messages marked for deletion.
(Overrides MailFolderExpunge(CancellationToken))
Public methodExpunge(IListUniqueId, CancellationToken) Expunge the specified uids, permanently removing them from the folder.
(Overrides MailFolderExpunge(IListUniqueId, CancellationToken))
Public methodExpungeAsync(CancellationToken) Asynchronously expunge the folder, permanently removing all messages marked for deletion.
(Overrides MailFolderExpungeAsync(CancellationToken))
Public methodExpungeAsync(IListUniqueId, CancellationToken) Asynchronously expunge the specified uids, permanently removing them from the folder.
(Overrides MailFolderExpungeAsync(IListUniqueId, CancellationToken))
Public methodCode exampleFetch(IListUniqueId, IFetchRequest, CancellationToken) Fetches the message summaries for the specified message UIDs.
(Overrides MailFolderFetch(IListUniqueId, IFetchRequest, CancellationToken))
Public methodFetch(IListInt32, IFetchRequest, CancellationToken) Fetches the message summaries for the specified message indexes.
(Overrides MailFolderFetch(IListInt32, IFetchRequest, CancellationToken))
Public methodFetch(Int32, Int32, IFetchRequest, CancellationToken) Fetches the message summaries for the messages between the two indexes, inclusive.
(Overrides MailFolderFetch(Int32, Int32, IFetchRequest, CancellationToken))
Public methodCode exampleFetchAsync(IListUniqueId, IFetchRequest, CancellationToken) Asynchronously fetches the message summaries for the specified message UIDs.
(Overrides MailFolderFetchAsync(IListUniqueId, IFetchRequest, CancellationToken))
Public methodFetchAsync(IListInt32, IFetchRequest, CancellationToken) Asynchronously fetches the message summaries for the specified message indexes.
(Overrides MailFolderFetchAsync(IListInt32, IFetchRequest, CancellationToken))
Public methodFetchAsync(Int32, Int32, IFetchRequest, CancellationToken) Asynchronously fetches the message summaries for the messages between the two indexes, inclusive.
(Overrides MailFolderFetchAsync(Int32, Int32, IFetchRequest, CancellationToken))
Protected methodFinalize
(Inherited from Object)
Public methodGetAccessControlList Get the complete access control list for the folder.
(Overrides MailFolderGetAccessControlList(CancellationToken))
Public methodGetAccessControlListAsync Asynchronously get the complete access control list for the folder.
(Overrides MailFolderGetAccessControlListAsync(CancellationToken))
Public methodGetAccessRights Get the access rights for a particular identifier.
(Overrides MailFolderGetAccessRights(String, CancellationToken))
Public methodGetAccessRightsAsync Asynchronously get the access rights for a particular identifier.
(Overrides MailFolderGetAccessRightsAsync(String, CancellationToken))
Public methodGetBodyPart(Int32, BodyPart, CancellationToken, ITransferProgress) Get the specified body part.
(Overrides MailFolderGetBodyPart(Int32, BodyPart, CancellationToken, ITransferProgress))
Public methodGetBodyPart(Int32, String, CancellationToken, ITransferProgress) Get the specified body part.
Public methodCode exampleGetBodyPart(UniqueId, BodyPart, CancellationToken, ITransferProgress) Get the specified body part.
(Overrides MailFolderGetBodyPart(UniqueId, BodyPart, CancellationToken, ITransferProgress))
Public methodCode exampleGetBodyPart(UniqueId, String, CancellationToken, ITransferProgress) Get the specified body part.
Public methodGetBodyPartAsync(Int32, BodyPart, CancellationToken, ITransferProgress) Asynchronously get the specified body part.
(Overrides MailFolderGetBodyPartAsync(Int32, BodyPart, CancellationToken, ITransferProgress))
Public methodGetBodyPartAsync(Int32, String, CancellationToken, ITransferProgress) Asynchronously get the specified body part.
Public methodCode exampleGetBodyPartAsync(UniqueId, BodyPart, CancellationToken, ITransferProgress) Asynchronously get the specified body part.
(Overrides MailFolderGetBodyPartAsync(UniqueId, BodyPart, CancellationToken, ITransferProgress))
Public methodCode exampleGetBodyPartAsync(UniqueId, String, CancellationToken, ITransferProgress) Asynchronously get the specified body part.
Public methodGetEnumerator Get an enumerator for the messages in the folder.
(Overrides MailFolderGetEnumerator)
Public methodGetHashCode
(Inherited from Object)
Public methodGetHeaders(Int32, CancellationToken, ITransferProgress) Get the specified message headers.
(Overrides MailFolderGetHeaders(Int32, CancellationToken, ITransferProgress))
Public methodGetHeaders(UniqueId, CancellationToken, ITransferProgress) Get the specified message headers.
(Overrides MailFolderGetHeaders(UniqueId, CancellationToken, ITransferProgress))
Public methodGetHeaders(Int32, BodyPart, CancellationToken, ITransferProgress) Get the specified body part headers.
(Overrides MailFolderGetHeaders(Int32, BodyPart, CancellationToken, ITransferProgress))
Public methodGetHeaders(Int32, String, CancellationToken, ITransferProgress) Get the specified body part headers.
Public methodGetHeaders(UniqueId, BodyPart, CancellationToken, ITransferProgress) Get the specified body part headers.
(Overrides MailFolderGetHeaders(UniqueId, BodyPart, CancellationToken, ITransferProgress))
Public methodGetHeaders(UniqueId, String, CancellationToken, ITransferProgress) Get the specified body part headers.
Public methodGetHeadersAsync(Int32, CancellationToken, ITransferProgress) Asynchronously get the specified message headers.
(Overrides MailFolderGetHeadersAsync(Int32, CancellationToken, ITransferProgress))
Public methodGetHeadersAsync(UniqueId, CancellationToken, ITransferProgress) Asynchronously get the specified message headers.
(Overrides MailFolderGetHeadersAsync(UniqueId, CancellationToken, ITransferProgress))
Public methodGetHeadersAsync(Int32, BodyPart, CancellationToken, ITransferProgress) Asynchronously get the specified body part headers.
(Overrides MailFolderGetHeadersAsync(Int32, BodyPart, CancellationToken, ITransferProgress))
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.
(Overrides MailFolderGetHeadersAsync(UniqueId, BodyPart, CancellationToken, ITransferProgress))
Public methodGetHeadersAsync(UniqueId, String, CancellationToken, ITransferProgress) Asynchronously get the specified body part headers.
Public methodGetMessage(Int32, CancellationToken, ITransferProgress) Get the specified message.
(Overrides MailFolderGetMessage(Int32, CancellationToken, ITransferProgress))
Public methodGetMessage(UniqueId, CancellationToken, ITransferProgress) Get the specified message.
(Overrides MailFolderGetMessage(UniqueId, CancellationToken, ITransferProgress))
Public methodGetMessageAsync(Int32, CancellationToken, ITransferProgress) Asynchronously get the specified message.
(Overrides MailFolderGetMessageAsync(Int32, CancellationToken, ITransferProgress))
Public methodGetMessageAsync(UniqueId, CancellationToken, ITransferProgress) Asynchronously get the specified message.
(Overrides MailFolderGetMessageAsync(UniqueId, CancellationToken, ITransferProgress))
Public methodGetMetadata(IEnumerableMetadataTag, CancellationToken) Get the specified metadata.
(Inherited from MailFolder)
Public methodGetMetadata(MetadataTag, CancellationToken) Get the specified metadata.
(Overrides MailFolderGetMetadata(MetadataTag, CancellationToken))
Public methodGetMetadata(MetadataOptions, IEnumerableMetadataTag, CancellationToken) Get the specified metadata.
(Overrides MailFolderGetMetadata(MetadataOptions, IEnumerableMetadataTag, CancellationToken))
Public methodGetMetadataAsync(IEnumerableMetadataTag, CancellationToken) Asynchronously gets the specified metadata.
(Inherited from MailFolder)
Public methodGetMetadataAsync(MetadataTag, CancellationToken) Asynchronously get the specified metadata.
(Overrides MailFolderGetMetadataAsync(MetadataTag, CancellationToken))
Public methodGetMetadataAsync(MetadataOptions, IEnumerableMetadataTag, CancellationToken) Asynchronously get the specified metadata.
(Overrides MailFolderGetMetadataAsync(MetadataOptions, IEnumerableMetadataTag, CancellationToken))
Public methodGetMyAccessRights Get the access rights for the current authenticated user.
(Overrides MailFolderGetMyAccessRights(CancellationToken))
Public methodGetMyAccessRightsAsync Asynchronously get the access rights for the current authenticated user.
(Overrides MailFolderGetMyAccessRightsAsync(CancellationToken))
Public methodGetQuota Get the quota information for the folder.
(Overrides MailFolderGetQuota(CancellationToken))
Public methodGetQuotaAsync Asynchronously get the quota information for the folder.
(Overrides MailFolderGetQuotaAsync(CancellationToken))
Public methodCode exampleGetStream(Int32, CancellationToken, ITransferProgress) Get a message stream.
(Inherited from MailFolder)
Public methodCode exampleGetStream(UniqueId, CancellationToken, ITransferProgress) Get a message stream.
(Inherited from MailFolder)
Public methodGetStream(Int32, BodyPart, CancellationToken, ITransferProgress) Get a body part as a stream.
(Inherited from MailFolder)
Public methodGetStream(Int32, String, CancellationToken, ITransferProgress) Get a substream of the specified message.
(Overrides MailFolderGetStream(Int32, String, CancellationToken, ITransferProgress))
Public methodCode exampleGetStream(UniqueId, BodyPart, CancellationToken, ITransferProgress) Get a body part as a stream.
(Inherited from MailFolder)
Public methodCode exampleGetStream(UniqueId, String, CancellationToken, ITransferProgress) Get a substream of the specified body part.
(Overrides MailFolderGetStream(UniqueId, String, CancellationToken, ITransferProgress))
Public methodGetStream(Int32, Int32, Int32, CancellationToken, ITransferProgress) Get a substream of the specified message.
(Overrides MailFolderGetStream(Int32, Int32, Int32, CancellationToken, ITransferProgress))
Public methodGetStream(UniqueId, Int32, Int32, CancellationToken, ITransferProgress) Get a substream of the specified message.
(Overrides MailFolderGetStream(UniqueId, Int32, Int32, CancellationToken, ITransferProgress))
Public methodGetStream(Int32, BodyPart, Int32, Int32, CancellationToken, ITransferProgress) Get a substream of the specified body part.
(Inherited from MailFolder)
Public methodGetStream(Int32, String, Int32, Int32, CancellationToken, ITransferProgress) Get a substream of the specified message.
(Overrides MailFolderGetStream(Int32, String, Int32, Int32, CancellationToken, ITransferProgress))
Public methodGetStream(UniqueId, BodyPart, Int32, Int32, CancellationToken, ITransferProgress) Get a substream of the specified body part.
(Inherited from MailFolder)
Public methodGetStream(UniqueId, String, Int32, Int32, CancellationToken, ITransferProgress) Get a substream of the specified message.
(Overrides MailFolderGetStream(UniqueId, String, Int32, Int32, CancellationToken, ITransferProgress))
Public methodCode exampleGetStreamAsync(Int32, CancellationToken, ITransferProgress) Asynchronously get a message stream.
(Inherited from MailFolder)
Public methodCode exampleGetStreamAsync(UniqueId, CancellationToken, ITransferProgress) Asynchronously get a message stream.
(Inherited from MailFolder)
Public methodGetStreamAsync(Int32, BodyPart, CancellationToken, ITransferProgress) Asynchronously get a body part as a stream.
(Inherited from MailFolder)
Public methodGetStreamAsync(Int32, String, CancellationToken, ITransferProgress) Asynchronously gets a substream of the specified message.
(Overrides MailFolderGetStreamAsync(Int32, String, CancellationToken, ITransferProgress))
Public methodCode exampleGetStreamAsync(UniqueId, BodyPart, CancellationToken, ITransferProgress) Asynchronously get a body part as a stream.
(Inherited from MailFolder)
Public methodCode exampleGetStreamAsync(UniqueId, String, CancellationToken, ITransferProgress) Asynchronously gets a substream of the specified body part.
(Overrides MailFolderGetStreamAsync(UniqueId, String, CancellationToken, ITransferProgress))
Public methodGetStreamAsync(Int32, Int32, Int32, CancellationToken, ITransferProgress) Asynchronously gets a substream of the specified message.
(Overrides MailFolderGetStreamAsync(Int32, Int32, Int32, CancellationToken, ITransferProgress))
Public methodGetStreamAsync(UniqueId, Int32, Int32, CancellationToken, ITransferProgress) Asynchronously gets a substream of the specified message.
(Overrides MailFolderGetStreamAsync(UniqueId, Int32, Int32, CancellationToken, ITransferProgress))
Public methodGetStreamAsync(Int32, BodyPart, Int32, Int32, CancellationToken, ITransferProgress) Asynchronously get a substream of the specified body part.
(Inherited from MailFolder)
Public methodGetStreamAsync(Int32, String, Int32, Int32, CancellationToken, ITransferProgress) Asynchronously gets a substream of the specified message.
(Overrides MailFolderGetStreamAsync(Int32, String, Int32, Int32, CancellationToken, ITransferProgress))
Public methodGetStreamAsync(UniqueId, BodyPart, Int32, Int32, CancellationToken, ITransferProgress) Asynchronously get a substream of the specified body part.
(Inherited from MailFolder)
Public methodGetStreamAsync(UniqueId, String, Int32, Int32, CancellationToken, ITransferProgress) Asynchronously gets a substream of the specified message.
(Overrides MailFolderGetStreamAsync(UniqueId, String, Int32, Int32, CancellationToken, ITransferProgress))
Public methodGetStreams(IListUniqueId, ImapFetchStreamCallback, CancellationToken, ITransferProgress) Get the streams for the specified messages.
Public methodGetStreams(IListInt32, 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(IListUniqueId, ImapFetchStreamAsyncCallback, CancellationToken, ITransferProgress) Asynchronously get the streams for the specified messages.
Public methodGetStreamsAsync(IListInt32, 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.
(Overrides MailFolderGetSubfolder(String, CancellationToken))
Public methodGetSubfolderAsync Asynchronously get the specified subfolder.
(Overrides MailFolderGetSubfolderAsync(String, CancellationToken))
Public methodGetSubfolders(Boolean, CancellationToken) Get the subfolders.
(Inherited from MailFolder)
Public methodGetSubfolders(StatusItems, Boolean, CancellationToken) Get the subfolders.
(Overrides MailFolderGetSubfolders(StatusItems, Boolean, CancellationToken))
Public methodGetSubfoldersAsync(Boolean, CancellationToken) Asynchronously get the subfolders.
(Inherited from MailFolder)
Public methodGetSubfoldersAsync(StatusItems, Boolean, CancellationToken) Asynchronously get the subfolders.
(Overrides MailFolderGetSubfoldersAsync(StatusItems, Boolean, CancellationToken))
Public methodGetType
(Inherited from Object)
Protected methodMemberwiseClone
(Inherited from Object)
Public methodMoveTo(IListUniqueId, IMailFolder, CancellationToken) Move the specified messages to the destination folder.
(Overrides MailFolderMoveTo(IListUniqueId, IMailFolder, CancellationToken))
Public methodMoveTo(IListInt32, IMailFolder, CancellationToken) Move the specified messages to the destination folder.
(Overrides MailFolderMoveTo(IListInt32, IMailFolder, CancellationToken))
Public methodMoveTo(Int32, IMailFolder, CancellationToken) Move the specified message to the destination folder.
(Inherited from MailFolder)
Public methodMoveTo(UniqueId, IMailFolder, CancellationToken) Move the specified message to the destination folder.
(Inherited from MailFolder)
Public methodMoveToAsync(IListUniqueId, IMailFolder, CancellationToken) Asynchronously move the specified messages to the destination folder.
(Overrides MailFolderMoveToAsync(IListUniqueId, IMailFolder, CancellationToken))
Public methodMoveToAsync(IListInt32, IMailFolder, CancellationToken) Asynchronously move the specified messages to the destination folder.
(Overrides MailFolderMoveToAsync(IListInt32, IMailFolder, CancellationToken))
Public methodMoveToAsync(Int32, IMailFolder, CancellationToken) Asynchronously move the specified message to the destination folder.
(Inherited from MailFolder)
Public methodMoveToAsync(UniqueId, IMailFolder, CancellationToken) Asynchronously move the specified message to the destination folder.
(Inherited from MailFolder)
Protected methodOnAnnotationsChanged Raise the message annotations changed event.
(Inherited from MailFolder)
Protected methodOnClosed Raise the closed event.
(Inherited from MailFolder)
Protected methodOnCountChanged Raise the message count changed event.
(Inherited from MailFolder)
Protected methodOnDeleted Raise the deleted event.
(Inherited from MailFolder)
Protected methodOnHighestModSeqChanged Raise the highest mod-sequence changed event.
(Inherited from MailFolder)
Protected methodOnIdChanged Raise the ID changed event.
(Inherited from MailFolder)
Protected methodOnMessageExpunged Raise the message expunged event.
(Inherited from MailFolder)
Protected methodOnMessageFlagsChanged Raise the message flags changed event.
(Inherited from MailFolder)
Protected methodOnMessageLabelsChanged Raise the message labels changed event.
(Inherited from MailFolder)
Protected methodOnMessageSummaryFetched Raise the message summary fetched event.
(Inherited from MailFolder)
Protected methodOnMessagesVanished Raise the messages vanished event.
(Inherited from MailFolder)
Protected methodOnMetadataChanged Raise the metadata changed event.
(Inherited from MailFolder)
Protected methodOnModSeqChanged Raise the message mod-sequence changed event.
(Inherited from MailFolder)
Protected methodOnOpened Raise the opened event.
(Inherited from MailFolder)
Protected methodOnParentFolderRenamed Notifies the folder that a parent folder has been renamed.
(Overrides MailFolderOnParentFolderRenamed)
Protected methodOnRecentChanged Raise the recent message count changed event.
(Inherited from MailFolder)
Protected methodOnRenamed Raise the renamed event.
(Inherited from MailFolder)
Protected methodOnSizeChanged Raise the size changed event.
(Inherited from MailFolder)
Protected methodOnSubscribed Raise the subscribed event.
(Inherited from MailFolder)
Protected methodOnUidNextChanged Raise the next UID changed event.
(Inherited from MailFolder)
Protected methodOnUidValidityChanged Raise the uid validity changed event.
(Inherited from MailFolder)
Protected methodOnUnreadChanged Raise the unread message count changed event.
(Inherited from MailFolder)
Protected methodOnUnsubscribed Raise the unsubscribed event.
(Inherited from MailFolder)
Public methodOpen(FolderAccess, CancellationToken) Open the folder using the requested folder access.
(Overrides MailFolderOpen(FolderAccess, CancellationToken))
Public methodOpen(FolderAccess, UInt32, UInt64, IListUniqueId, CancellationToken) Open the folder using the requested folder access.
(Overrides MailFolderOpen(FolderAccess, UInt32, UInt64, IListUniqueId, CancellationToken))
Public methodOpenAsync(FolderAccess, CancellationToken) Asynchronously open the folder using the requested folder access.
(Overrides MailFolderOpenAsync(FolderAccess, CancellationToken))
Public methodOpenAsync(FolderAccess, UInt32, UInt64, IListUniqueId, CancellationToken) Asynchronously open the folder using the requested folder access.
(Overrides MailFolderOpenAsync(FolderAccess, UInt32, UInt64, IListUniqueId, CancellationToken))
Public methodRemoveAccess Remove all access rights for the given identity.
(Overrides MailFolderRemoveAccess(String, CancellationToken))
Public methodRemoveAccessAsync Asynchronously remove all access rights for the given identity.
(Overrides MailFolderRemoveAccessAsync(String, CancellationToken))
Public methodRemoveAccessRights Remove access rights for the specified identity.
(Overrides MailFolderRemoveAccessRights(String, AccessRights, CancellationToken))
Public methodRemoveAccessRightsAsync Asynchronously remove access rights for the specified identity.
(Overrides MailFolderRemoveAccessRightsAsync(String, AccessRights, CancellationToken))
Public methodRename Rename the folder to exist with a new name under a new parent folder.
(Overrides MailFolderRename(IMailFolder, String, CancellationToken))
Public methodRenameAsync Asynchronously rename the folder to exist with a new name under a new parent folder.
(Overrides MailFolderRenameAsync(IMailFolder, String, CancellationToken))
Public methodReplace(Int32, IReplaceRequest, CancellationToken) Replace a message in the folder.
(Inherited from MailFolder)
Public methodReplace(UniqueId, IReplaceRequest, CancellationToken) Replace a message in the folder.
(Inherited from MailFolder)
Public methodReplace(FormatOptions, UniqueId, IReplaceRequest, CancellationToken) Replace a message in the folder.
(Overrides MailFolderReplace(FormatOptions, UniqueId, IReplaceRequest, CancellationToken))
Public methodReplace(FormatOptions, Int32, IReplaceRequest, CancellationToken) Replace a message in the folder.
(Overrides MailFolderReplace(FormatOptions, Int32, IReplaceRequest, CancellationToken))
Public methodReplaceAsync(Int32, IReplaceRequest, CancellationToken) Asynchronously replace a message in the folder.
(Inherited from MailFolder)
Public methodReplaceAsync(UniqueId, IReplaceRequest, CancellationToken) Asynchronously replace a message in the folder.
(Inherited from MailFolder)
Public methodReplaceAsync(FormatOptions, UniqueId, IReplaceRequest, CancellationToken) Asynchronously replace a message in the folder.
(Overrides MailFolderReplaceAsync(FormatOptions, UniqueId, IReplaceRequest, CancellationToken))
Public methodReplaceAsync(FormatOptions, Int32, IReplaceRequest, CancellationToken) Asynchronously replace a message in the folder.
(Overrides MailFolderReplaceAsync(FormatOptions, Int32, IReplaceRequest, CancellationToken))
Public methodSearch(SearchQuery, CancellationToken) Search the folder for messages matching the specified query.
(Inherited from MailFolder)
Public methodSearch(String, CancellationToken) Search the folder for messages matching the specified query.
Public methodSearch(IListUniqueId, SearchQuery, CancellationToken) Search the subset of UIDs in the folder for messages matching the specified query.
(Inherited from MailFolder)
Public methodSearch(SearchOptions, SearchQuery, CancellationToken) Search the folder for messages matching the specified query.
(Overrides MailFolderSearch(SearchOptions, SearchQuery, CancellationToken))
Public methodSearch(SearchOptions, IListUniqueId, SearchQuery, CancellationToken) Search the subset of UIDs in the folder for messages matching the specified query.
(Inherited from MailFolder)
Public methodSearchAsync(SearchQuery, CancellationToken) Asynchronously search the folder for messages matching the specified query.
(Inherited from MailFolder)
Public methodSearchAsync(String, CancellationToken) Asynchronously search the folder for messages matching the specified query.
Public methodSearchAsync(IListUniqueId, SearchQuery, CancellationToken) Asynchronously search the subset of UIDs in the folder for messages matching the specified query.
(Inherited from MailFolder)
Public methodSearchAsync(SearchOptions, SearchQuery, CancellationToken) Asynchronously search the folder for messages matching the specified query.
(Overrides MailFolderSearchAsync(SearchOptions, SearchQuery, CancellationToken))
Public methodSearchAsync(SearchOptions, IListUniqueId, SearchQuery, CancellationToken) Asynchronously search the subset of UIDs in the folder for messages matching the specified query.
(Inherited from MailFolder)
Public methodSetAccessRights Set the access rights for the specified identity.
(Overrides MailFolderSetAccessRights(String, AccessRights, CancellationToken))
Public methodSetAccessRightsAsync Asynchronously get the access rights for the specified identity.
(Overrides MailFolderSetAccessRightsAsync(String, AccessRights, CancellationToken))
Public methodSetMetadata Set the specified metadata.
(Overrides MailFolderSetMetadata(MetadataCollection, CancellationToken))
Public methodSetMetadataAsync Asynchronously set the specified metadata.
(Overrides MailFolderSetMetadataAsync(MetadataCollection, CancellationToken))
Public methodSetQuota Set the quota limits for the folder.
(Overrides MailFolderSetQuota(NullableUInt32, NullableUInt32, CancellationToken))
Public methodSetQuotaAsync Asynchronously set the quota limits for the folder.
(Overrides MailFolderSetQuotaAsync(NullableUInt32, NullableUInt32, CancellationToken))
Public methodSort(String, CancellationToken) Sort messages matching the specified query.
Public methodSort(SearchQuery, IListOrderBy, CancellationToken) Sort messages matching the specified query.
(Overrides MailFolderSort(SearchQuery, IListOrderBy, CancellationToken))
Public methodSort(IListUniqueId, SearchQuery, IListOrderBy, CancellationToken) Sort messages matching the specified query.
(Inherited from MailFolder)
Public methodSort(SearchOptions, SearchQuery, IListOrderBy, CancellationToken) Sort messages matching the specified query.
(Overrides MailFolderSort(SearchOptions, SearchQuery, IListOrderBy, CancellationToken))
Public methodSort(SearchOptions, IListUniqueId, SearchQuery, IListOrderBy, CancellationToken) Sort messages matching the specified query.
(Inherited from MailFolder)
Public methodSortAsync(String, CancellationToken) Asynchronously sort messages matching the specified query.
Public methodSortAsync(SearchQuery, IListOrderBy, CancellationToken) Asynchronously sort messages matching the specified query.
(Overrides MailFolderSortAsync(SearchQuery, IListOrderBy, CancellationToken))
Public methodSortAsync(IListUniqueId, SearchQuery, IListOrderBy, CancellationToken) Asynchronously sort messages matching the specified query.
(Inherited from MailFolder)
Public methodSortAsync(SearchOptions, SearchQuery, IListOrderBy, CancellationToken) Asynchronously sort messages matching the specified query.
(Overrides MailFolderSortAsync(SearchOptions, SearchQuery, IListOrderBy, CancellationToken))
Public methodSortAsync(SearchOptions, IListUniqueId, SearchQuery, IListOrderBy, CancellationToken) Asynchronously sort messages matching the specified query, returning the search results in the specified sort order.
(Inherited from MailFolder)
Public methodStatus Update the values of the specified items.
(Overrides MailFolderStatus(StatusItems, CancellationToken))
Public methodStatusAsync Asynchronously update the values of the specified items.
(Overrides MailFolderStatusAsync(StatusItems, CancellationToken))
Public methodStore(IListUniqueId, IStoreFlagsRequest, CancellationToken) Store message flags and keywords for a set of messages.
(Overrides MailFolderStore(IListUniqueId, IStoreFlagsRequest, CancellationToken))
Public methodStore(IListUniqueId, IStoreLabelsRequest, CancellationToken) Store GMail-style labels for a set of messages.
(Overrides MailFolderStore(IListUniqueId, IStoreLabelsRequest, CancellationToken))
Public methodStore(IListUniqueId, IListAnnotation, CancellationToken) Store the annotations for the specified messages.
(Overrides MailFolderStore(IListUniqueId, IListAnnotation, CancellationToken))
Public methodStore(IListInt32, IStoreFlagsRequest, CancellationToken) Store message flags and keywords for a set of messages.
(Overrides MailFolderStore(IListInt32, IStoreFlagsRequest, CancellationToken))
Public methodStore(IListInt32, IStoreLabelsRequest, CancellationToken) Store GMail-style labels for a set of messages.
(Overrides MailFolderStore(IListInt32, IStoreLabelsRequest, CancellationToken))
Public methodStore(IListInt32, IListAnnotation, CancellationToken) Store the annotations for the specified messages.
(Overrides MailFolderStore(IListInt32, IListAnnotation, CancellationToken))
Public methodStore(Int32, IStoreFlagsRequest, CancellationToken) Store message flags and keywords for a message.
(Inherited from MailFolder)
Public methodStore(Int32, IStoreLabelsRequest, CancellationToken) Store GMail-style labels for a message.
(Inherited from MailFolder)
Public methodStore(Int32, IListAnnotation, CancellationToken) Store the annotations for the specified message.
(Inherited from MailFolder)
Public methodStore(UniqueId, IStoreFlagsRequest, CancellationToken) Store message flags and keywords for a message.
(Inherited from MailFolder)
Public methodStore(UniqueId, IStoreLabelsRequest, CancellationToken) Store GMail-style labels for a message.
(Inherited from MailFolder)
Public methodStore(UniqueId, IListAnnotation, CancellationToken) Store the annotations for the specified message.
(Inherited from MailFolder)
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.
(Overrides MailFolderStore(IListUniqueId, UInt64, IListAnnotation, CancellationToken))
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.
(Overrides MailFolderStore(IListInt32, UInt64, IListAnnotation, CancellationToken))
Public methodStoreAsync(IListUniqueId, IStoreFlagsRequest, CancellationToken) Asynchronously store message flags and keywords for a set of messages.
(Overrides MailFolderStoreAsync(IListUniqueId, IStoreFlagsRequest, CancellationToken))
Public methodStoreAsync(IListUniqueId, IStoreLabelsRequest, CancellationToken) Asynchronously store GMail-style labels for a set of messages.
(Overrides MailFolderStoreAsync(IListUniqueId, IStoreLabelsRequest, CancellationToken))
Public methodStoreAsync(IListUniqueId, IListAnnotation, CancellationToken) Asynchronously store the annotations for the specified messages.
(Overrides MailFolderStoreAsync(IListUniqueId, IListAnnotation, CancellationToken))
Public methodStoreAsync(IListInt32, IStoreFlagsRequest, CancellationToken) Asynchronously store message flags and keywords for a set of messages.
(Overrides MailFolderStoreAsync(IListInt32, IStoreFlagsRequest, CancellationToken))
Public methodStoreAsync(IListInt32, IStoreLabelsRequest, CancellationToken) Asynchronously store GMail-style labels for a set of messages.
(Overrides MailFolderStoreAsync(IListInt32, IStoreLabelsRequest, CancellationToken))
Public methodStoreAsync(IListInt32, IListAnnotation, CancellationToken) Asynchronously store the annotations for the specified messages.
(Overrides MailFolderStoreAsync(IListInt32, IListAnnotation, CancellationToken))
Public methodStoreAsync(Int32, IStoreFlagsRequest, CancellationToken) Asynchronously store message flags and keywords for a message.
(Inherited from MailFolder)
Public methodStoreAsync(Int32, IStoreLabelsRequest, CancellationToken) Asynchronously store GMail-style labels for a message.
(Inherited from MailFolder)
Public methodStoreAsync(Int32, IListAnnotation, CancellationToken) Asynchronously store the annotations for the specified message.
(Inherited from MailFolder)
Public methodStoreAsync(UniqueId, IStoreFlagsRequest, CancellationToken) Asynchronously store message flags and keywords for a message.
(Inherited from MailFolder)
Public methodStoreAsync(UniqueId, IStoreLabelsRequest, CancellationToken) Asynchronously store GMail-style labels for a message.
(Inherited from MailFolder)
Public methodStoreAsync(UniqueId, IListAnnotation, CancellationToken) Asynchronously store the annotations for the specified message.
(Inherited from MailFolder)
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.
(Overrides MailFolderStoreAsync(IListUniqueId, UInt64, IListAnnotation, CancellationToken))
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.
(Overrides MailFolderStoreAsync(IListInt32, UInt64, IListAnnotation, CancellationToken))
Public methodSubscribe Subscribe the folder.
(Overrides MailFolderSubscribe(CancellationToken))
Public methodSubscribeAsync Asynchronously subscribe the folder.
(Overrides MailFolderSubscribeAsync(CancellationToken))
Public methodSupports Determine whether or not an ImapFolder supports a feature.
(Overrides MailFolderSupports(FolderFeature))
Public methodThread(ThreadingAlgorithm, SearchQuery, CancellationToken) Thread the messages in the folder that match the search query using the specified threading algorithm.
(Overrides MailFolderThread(ThreadingAlgorithm, SearchQuery, CancellationToken))
Public methodThread(IListUniqueId, ThreadingAlgorithm, SearchQuery, CancellationToken) Thread the messages in the folder that match the search query using the specified threading algorithm.
(Overrides MailFolderThread(IListUniqueId, ThreadingAlgorithm, SearchQuery, CancellationToken))
Public methodThreadAsync(ThreadingAlgorithm, SearchQuery, CancellationToken) Asynchronously thread the messages in the folder that match the search query using the specified threading algorithm.
(Overrides MailFolderThreadAsync(ThreadingAlgorithm, SearchQuery, CancellationToken))
Public methodThreadAsync(IListUniqueId, ThreadingAlgorithm, SearchQuery, CancellationToken) Asynchronously thread the messages in the folder that match the search query using the specified threading algorithm.
(Overrides MailFolderThreadAsync(IListUniqueId, ThreadingAlgorithm, SearchQuery, CancellationToken))
Public methodToString Returns a String that represents the current MailFolder.
(Inherited from MailFolder)
Public methodUnsubscribe Unsubscribe the folder.
(Overrides MailFolderUnsubscribe(CancellationToken))
Public methodUnsubscribeAsync Asynchronously unsubscribe the folder.
(Overrides MailFolderUnsubscribeAsync(CancellationToken))
Top
Events
 NameDescription
Public eventAnnotationsChanged Occurs when annotations changed on a message.
(Inherited from MailFolder)
Public eventClosed Occurs when the folder is closed.
(Inherited from MailFolder)
Public eventCode exampleCountChanged Occurs when the message count changes.
(Inherited from MailFolder)
Public eventDeleted Occurs when the folder is deleted.
(Inherited from MailFolder)
Public eventHighestModSeqChanged Occurs when the highest mod-sequence changes.
(Inherited from MailFolder)
Public eventIdChanged Occurs when the folder ID changes.
(Inherited from MailFolder)
Public eventCode exampleMessageExpunged Occurs when a message is expunged from the folder.
(Inherited from MailFolder)
Public eventCode exampleMessageFlagsChanged Occurs when flags changed on a message.
(Inherited from MailFolder)
Public eventMessageLabelsChanged Occurs when labels changed on a message.
(Inherited from MailFolder)
Public eventMessageSummaryFetched Occurs when a message summary is fetched from the folder.
(Inherited from MailFolder)
Public eventMessagesVanished Occurs when a message vanishes from the folder.
(Inherited from MailFolder)
Public eventMetadataChanged Occurs when metadata changes.
(Inherited from MailFolder)
Public eventModSeqChanged Occurs when the mod-sequence changed on a message.
(Inherited from MailFolder)
Public eventOpened Occurs when the folder is opened.
(Inherited from MailFolder)
Public eventRecentChanged Occurs when the recent message count changes.
(Inherited from MailFolder)
Public eventRenamed Occurs when the folder is renamed.
(Inherited from MailFolder)
Public eventSizeChanged Occurs when the folder size changes.
(Inherited from MailFolder)
Public eventSubscribed Occurs when the folder is subscribed.
(Inherited from MailFolder)
Public eventUidNextChanged Occurs when the next UID changes.
(Inherited from MailFolder)
Public eventUidValidityChanged Occurs when the UID validity changes.
(Inherited from MailFolder)
Public eventUnreadChanged Occurs when the unread message count changes.
(Inherited from MailFolder)
Public eventUnsubscribed Occurs when the folder is unsubscribed.
(Inherited from MailFolder)
Top
Extension Methods
 NameDescription
Public Extension MethodAddFlags Add a set of flags to the specified messages.
(Defined by IMailFolderExtensions)
Public Extension MethodAddFlags Add a set of flags to the specified messages.
(Defined by IMailFolderExtensions)
Public Extension MethodAddFlags Add a set of flags to the specified message.
(Defined by IMailFolderExtensions)
Public Extension MethodAddFlags Add a set of flags to the specified message.
(Defined by IMailFolderExtensions)
Public Extension MethodAddFlags Add a set of flags to the specified messages.
(Defined by IMailFolderExtensions)
Public Extension MethodAddFlags Add a set of flags to the specified messages only if their mod-sequence value is less than the specified value.
(Defined by IMailFolderExtensions)
Public Extension MethodAddFlags Add a set of flags to the specified messages.
(Defined by IMailFolderExtensions)
Public Extension MethodAddFlags Add a set of flags to the specified messages only if their mod-sequence value is less than the specified value.
(Defined by IMailFolderExtensions)
Public Extension MethodAddFlags Add a set of flags to the specified message.
(Defined by IMailFolderExtensions)
Public Extension MethodAddFlags Add a set of flags to the specified message.
(Defined by IMailFolderExtensions)
Public Extension MethodAddFlags Add a set of flags to the specified messages only if their mod-sequence value is less than the specified value.
(Defined by IMailFolderExtensions)
Public Extension MethodAddFlags Add a set of flags to the specified messages only if their mod-sequence value is less than the specified value.
(Defined by IMailFolderExtensions)
Public Extension MethodAddFlagsAsync Asynchronously add a set of flags to the specified messages.
(Defined by IMailFolderExtensions)
Public Extension MethodAddFlagsAsync Asynchronously add a set of flags to the specified messages.
(Defined by IMailFolderExtensions)
Public Extension MethodAddFlagsAsync Asynchronously add a set of flags to the specified message.
(Defined by IMailFolderExtensions)
Public Extension MethodAddFlagsAsync Asynchronously add a set of flags to the specified message.
(Defined by IMailFolderExtensions)
Public Extension MethodAddFlagsAsync Asynchronously add a set of flags to the specified messages.
(Defined by IMailFolderExtensions)
Public Extension MethodAddFlagsAsync Asynchronously add a set of flags to the specified messages only if their mod-sequence value is less than the specified value.
(Defined by IMailFolderExtensions)
Public Extension MethodAddFlagsAsync Asynchronously add a set of flags to the specified messages.
(Defined by IMailFolderExtensions)
Public Extension MethodAddFlagsAsync Asynchronously add a set of flags to the specified messages only if their mod-sequence value is less than the specified value.
(Defined by IMailFolderExtensions)
Public Extension MethodAddFlagsAsync Asynchronously add a set of flags to the specified message.
(Defined by IMailFolderExtensions)
Public Extension MethodAddFlagsAsync Asynchronously add a set of flags to the specified message.
(Defined by IMailFolderExtensions)
Public Extension MethodAddFlagsAsync Asynchronously add a set of flags to the specified messages only if their mod-sequence value is less than the specified value.
(Defined by IMailFolderExtensions)
Public Extension MethodAddFlagsAsync Asynchronously add a set of flags to the specified messages only if their mod-sequence value is less than the specified value.
(Defined by IMailFolderExtensions)
Public Extension MethodAddLabels Add a set of labels to the specified messages.
(Defined by IMailFolderExtensions)
Public Extension MethodAddLabels Add a set of labels to the specified messages.
(Defined by IMailFolderExtensions)
Public Extension MethodAddLabels Add a set of labels to the specified message.
(Defined by IMailFolderExtensions)
Public Extension MethodAddLabels Add a set of labels to the specified message.
(Defined by IMailFolderExtensions)
Public Extension MethodAddLabels Add a set of labels to the specified messages only if their mod-sequence value is less than the specified value.
(Defined by IMailFolderExtensions)
Public Extension MethodAddLabels Add a set of labels to the specified messages only if their mod-sequence value is less than the specified value.
(Defined by IMailFolderExtensions)
Public Extension MethodAddLabelsAsync Asynchronously add a set of labels to the specified messages.
(Defined by IMailFolderExtensions)
Public Extension MethodAddLabelsAsync Asynchronously add a set of labels to the specified messages.
(Defined by IMailFolderExtensions)
Public Extension MethodAddLabelsAsync Asynchronously add a set of labels to the specified message.
(Defined by IMailFolderExtensions)
Public Extension MethodAddLabelsAsync Asynchronously add a set of labels to the specified message.
(Defined by IMailFolderExtensions)
Public Extension MethodAddLabelsAsync Asynchronously add a set of labels to the specified messages only if their mod-sequence value is less than the specified value.
(Defined by IMailFolderExtensions)
Public Extension MethodAddLabelsAsync Asynchronously add a set of labels to the specified messages only if their mod-sequence value is less than the specified value.
(Defined by IMailFolderExtensions)
Public Extension MethodAppend Append the specified messages to the folder.
(Defined by IMailFolderExtensions)
Public Extension MethodAppend Append the specified message to the folder.
(Defined by IMailFolderExtensions)
Public Extension MethodAppend Append the specified message to the folder.
(Defined by IMailFolderExtensions)
Public Extension MethodAppend Append the specified messages to the folder.
(Defined by IMailFolderExtensions)
Public Extension MethodAppend Append the specified messages to the folder.
(Defined by IMailFolderExtensions)
Public Extension MethodAppend Append the specified message to the folder.
(Defined by IMailFolderExtensions)
Public Extension MethodAppend Append the specified message to the folder.
(Defined by IMailFolderExtensions)
Public Extension MethodAppend Append the specified messages to the folder.
(Defined by IMailFolderExtensions)
Public Extension MethodAppend Append the specified message to the folder.
(Defined by IMailFolderExtensions)
Public Extension MethodAppend Append the specified message to the folder.
(Defined by IMailFolderExtensions)
Public Extension MethodAppendAsync Asynchronously append the specified messages to the folder.
(Defined by IMailFolderExtensions)
Public Extension MethodAppendAsync Asynchronously append the specified message to the folder.
(Defined by IMailFolderExtensions)
Public Extension MethodAppendAsync Asynchronously append the specified message to the folder.
(Defined by IMailFolderExtensions)
Public Extension MethodAppendAsync Asynchronously append the specified messages to the folder.
(Defined by IMailFolderExtensions)
Public Extension MethodAppendAsync Asynchronously append the specified messages to the folder.
(Defined by IMailFolderExtensions)
Public Extension MethodAppendAsync Asynchronously append the specified message to the folder.
(Defined by IMailFolderExtensions)
Public Extension MethodAppendAsync Asynchronously append the specified message to the folder.
(Defined by IMailFolderExtensions)
Public Extension MethodAppendAsync Asynchronously append the specified messages to the folder.
(Defined by IMailFolderExtensions)
Public Extension MethodAppendAsync Asynchronously append the specified message to the folder.
(Defined by IMailFolderExtensions)
Public Extension MethodAppendAsync Asynchronously append the specified message to the folder.
(Defined by IMailFolderExtensions)
Public Extension MethodCode exampleFetch Fetch the message summaries for the specified message UIDs.
(Defined by IMailFolderExtensions)
Public Extension MethodFetch Fetch the message summaries for the specified message indexes.
(Defined by IMailFolderExtensions)
Public Extension MethodFetch Fetch the message summaries for the specified message UIDs.
(Defined by IMailFolderExtensions)
Public Extension MethodFetch Fetch the message summaries for the specified message UIDs.
(Defined by IMailFolderExtensions)
Public Extension MethodFetch Fetch the message summaries for the specified message UIDs that have a higher mod-sequence value than the one specified.
(Defined by IMailFolderExtensions)
Public Extension MethodFetch Fetch the message summaries for the specified message indexes.
(Defined by IMailFolderExtensions)
Public Extension MethodFetch Fetch the message summaries for the specified message indexes.
(Defined by IMailFolderExtensions)
Public Extension MethodFetch Fetch the message summaries for the specified message indexes that have a higher mod-sequence value than the one specified.
(Defined by IMailFolderExtensions)
Public Extension MethodFetch Fetch the message summaries for the messages between the two indexes, inclusive.
(Defined by IMailFolderExtensions)
Public Extension MethodFetch Fetch the message summaries for the specified message UIDs that have a higher mod-sequence value than the one specified.
(Defined by IMailFolderExtensions)
Public Extension MethodFetch Fetch the message summaries for the specified message UIDs that have a higher mod-sequence value than the one specified.
(Defined by IMailFolderExtensions)
Public Extension MethodFetch Fetch the message summaries for the specified message indexes that have a higher mod-sequence value than the one specified.
(Defined by IMailFolderExtensions)
Public Extension MethodFetch Fetch the message summaries for the specified message indexes that have a higher mod-sequence value than the one specified.
(Defined by IMailFolderExtensions)
Public Extension MethodFetch Fetch the message summaries for the messages between the two indexes, inclusive.
(Defined by IMailFolderExtensions)
Public Extension MethodFetch Fetch the message summaries for the messages between the two indexes, inclusive.
(Defined by IMailFolderExtensions)
Public Extension MethodFetch Fetch the message summaries for the messages between the two indexes (inclusive) that have a higher mod-sequence value than the one specified.
(Defined by IMailFolderExtensions)
Public Extension MethodFetch Fetch the message summaries for the messages between the two indexes (inclusive) that have a higher mod-sequence value than the one specified.
(Defined by IMailFolderExtensions)
Public Extension MethodFetch Fetch the message summaries for the messages between the two indexes (inclusive) that have a higher mod-sequence value than the one specified.
(Defined by IMailFolderExtensions)
Public Extension MethodCode exampleFetchAsync Asynchronously fetch the message summaries for the specified message UIDs.
(Defined by IMailFolderExtensions)
Public Extension MethodFetchAsync Asynchronously fetch the message summaries for the specified message indexes.
(Defined by IMailFolderExtensions)
Public Extension MethodFetchAsync Asynchronously fetch the message summaries for the specified message UIDs.
(Defined by IMailFolderExtensions)
Public Extension MethodFetchAsync Asynchronously fetch the message summaries for the specified message UIDs.
(Defined by IMailFolderExtensions)
Public Extension MethodFetchAsync Asynchronously fetch the message summaries for the specified message UIDs that have a higher mod-sequence value than the one specified.
(Defined by IMailFolderExtensions)
Public Extension MethodFetchAsync Asynchronously fetch the message summaries for the specified message indexes.
(Defined by IMailFolderExtensions)
Public Extension MethodFetchAsync Asynchronously fetch the message summaries for the specified message indexes.
(Defined by IMailFolderExtensions)
Public Extension MethodFetchAsync Asynchronously fetch the message summaries for the specified message indexes that have a higher mod-sequence value than the one specified.
(Defined by IMailFolderExtensions)
Public Extension MethodFetchAsync Asynchronously fetch the message summaries for the messages between the two indexes, inclusive.
(Defined by IMailFolderExtensions)
Public Extension MethodFetchAsync Asynchronously fetch the message summaries for the specified message UIDs that have a higher mod-sequence value than the one specified.
(Defined by IMailFolderExtensions)
Public Extension MethodFetchAsync Asynchronously fetch the message summaries for the specified message UIDs that have a higher mod-sequence value than the one specified.
(Defined by IMailFolderExtensions)
Public Extension MethodFetchAsync Asynchronously fetch the message summaries for the specified message indexes that have a higher mod-sequence value than the one specified.
(Defined by IMailFolderExtensions)
Public Extension MethodFetchAsync Asynchronously fetch the message summaries for the specified message indexes that have a higher mod-sequence value than the one specified.
(Defined by IMailFolderExtensions)
Public Extension MethodFetchAsync Asynchronously fetch the message summaries for the messages between the two indexes, inclusive.
(Defined by IMailFolderExtensions)
Public Extension MethodFetchAsync Asynchronously fetch the message summaries for the messages between the two indexes, inclusive.
(Defined by IMailFolderExtensions)
Public Extension MethodFetchAsync Asynchronously fetch the message summaries for the messages between the two indexes (inclusive) that have a higher mod-sequence value than the one specified.
(Defined by IMailFolderExtensions)
Public Extension MethodFetchAsync Asynchronously fetch the message summaries for the messages between the two indexes (inclusive) that have a higher mod-sequence value than the one specified.
(Defined by IMailFolderExtensions)
Public Extension MethodFetchAsync Asynchronously fetch the message summaries for the messages between the two indexes (inclusive) that have a higher mod-sequence value than the one specified.
(Defined by IMailFolderExtensions)
Public Extension MethodRemoveFlags Remove a set of flags from the specified messages.
(Defined by IMailFolderExtensions)
Public Extension MethodRemoveFlags Remove a set of flags from the specified messages.
(Defined by IMailFolderExtensions)
Public Extension MethodRemoveFlags Remove a set of flags from the specified message.
(Defined by IMailFolderExtensions)
Public Extension MethodRemoveFlags Remove a set of flags from the specified message.
(Defined by IMailFolderExtensions)
Public Extension MethodRemoveFlags Remove a set of flags from the specified messages.
(Defined by IMailFolderExtensions)
Public Extension MethodRemoveFlags Remove a set of flags from the specified messages only if their mod-sequence value is less than the specified value.
(Defined by IMailFolderExtensions)
Public Extension MethodRemoveFlags Remove a set of flags from the specified messages.
(Defined by IMailFolderExtensions)
Public Extension MethodRemoveFlags Remove a set of flags from the specified messages only if their mod-sequence value is less than the specified value.
(Defined by IMailFolderExtensions)
Public Extension MethodRemoveFlags Remove a set of flags from the specified message.
(Defined by IMailFolderExtensions)
Public Extension MethodRemoveFlags Remove a set of flags from the specified message.
(Defined by IMailFolderExtensions)
Public Extension MethodRemoveFlags Remove a set of flags from the specified messages only if their mod-sequence value is less than the specified value.
(Defined by IMailFolderExtensions)
Public Extension MethodRemoveFlags Remove a set of flags from the specified messages only if their mod-sequence value is less than the specified value.
(Defined by IMailFolderExtensions)
Public Extension MethodRemoveFlagsAsync Asynchronously remove a set of flags from the specified messages.
(Defined by IMailFolderExtensions)
Public Extension MethodRemoveFlagsAsync Asynchronously remove a set of flags from the specified messages.
(Defined by IMailFolderExtensions)
Public Extension MethodRemoveFlagsAsync Asynchronously remove a set of flags from the specified message.
(Defined by IMailFolderExtensions)
Public Extension MethodRemoveFlagsAsync Asynchronously remove a set of flags from the specified message.
(Defined by IMailFolderExtensions)
Public Extension MethodRemoveFlagsAsync Asynchronously remove a set of flags from the specified messages.
(Defined by IMailFolderExtensions)
Public Extension MethodRemoveFlagsAsync Asynchronously remove a set of flags from the specified messages only if their mod-sequence value is less than the specified value.
(Defined by IMailFolderExtensions)
Public Extension MethodRemoveFlagsAsync Asynchronously remove a set of flags from the specified messages.
(Defined by IMailFolderExtensions)
Public Extension MethodRemoveFlagsAsync Asynchronously remove a set of flags from the specified messages only if their mod-sequence value is less than the specified value.
(Defined by IMailFolderExtensions)
Public Extension MethodRemoveFlagsAsync Asynchronously remove a set of flags from the specified message.
(Defined by IMailFolderExtensions)
Public Extension MethodRemoveFlagsAsync Asynchronously remove a set of flags from the specified message.
(Defined by IMailFolderExtensions)
Public Extension MethodRemoveFlagsAsync Asynchronously remove a set of flags from the specified messages only if their mod-sequence value is less than the specified value.
(Defined by IMailFolderExtensions)
Public Extension MethodRemoveFlagsAsync Asynchronously remove a set of flags from the specified messages only if their mod-sequence value is less than the specified value.
(Defined by IMailFolderExtensions)
Public Extension MethodRemoveLabels Remove a set of labels from the specified messages.
(Defined by IMailFolderExtensions)
Public Extension MethodRemoveLabels Remove a set of labels from the specified messages.
(Defined by IMailFolderExtensions)
Public Extension MethodRemoveLabels Remove a set of labels from the specified message.
(Defined by IMailFolderExtensions)
Public Extension MethodRemoveLabels Remove a set of labels from the specified message.
(Defined by IMailFolderExtensions)
Public Extension MethodRemoveLabels Remove a set of labels from the specified messages only if their mod-sequence value is less than the specified value.
(Defined by IMailFolderExtensions)
Public Extension MethodRemoveLabels Remove a set of labels from the specified messages only if their mod-sequence value is less than the specified value.
(Defined by IMailFolderExtensions)
Public Extension MethodRemoveLabelsAsync Asynchronously remove a set of labels from the specified messages.
(Defined by IMailFolderExtensions)
Public Extension MethodRemoveLabelsAsync Asynchronously remove a set of labels from the specified messages.
(Defined by IMailFolderExtensions)
Public Extension MethodRemoveLabelsAsync Asynchronously remove a set of labels from the specified message.
(Defined by IMailFolderExtensions)
Public Extension MethodRemoveLabelsAsync Asynchronously remove a set of labels from the specified message.
(Defined by IMailFolderExtensions)
Public Extension MethodRemoveLabelsAsync Asynchronously remove a set of labels from the specified messages only if their mod-sequence value is less than the specified value.
(Defined by IMailFolderExtensions)
Public Extension MethodRemoveLabelsAsync Asynchronously remove a set of labels from the specified messages only if their mod-sequence value is less than the specified value.
(Defined by IMailFolderExtensions)
Public Extension MethodReplace Replace a message in the folder.
(Defined by IMailFolderExtensions)
Public Extension MethodReplace Replace a message in the folder.
(Defined by IMailFolderExtensions)
Public Extension MethodReplace Replace a message in the folder.
(Defined by IMailFolderExtensions)
Public Extension MethodReplace Replace a message in the folder.
(Defined by IMailFolderExtensions)
Public Extension MethodReplace Replace a message in the folder.
(Defined by IMailFolderExtensions)
Public Extension MethodReplace Replace a message in the folder.
(Defined by IMailFolderExtensions)
Public Extension MethodReplace Replace a message in the folder.
(Defined by IMailFolderExtensions)
Public Extension MethodReplace Replace a message in the folder.
(Defined by IMailFolderExtensions)
Public Extension MethodReplaceAsync Asynchronously replace a message in the folder.
(Defined by IMailFolderExtensions)
Public Extension MethodReplaceAsync Asynchronously replace a message in the folder.
(Defined by IMailFolderExtensions)
Public Extension MethodReplaceAsync Asynchronously replace a message in the folder.
(Defined by IMailFolderExtensions)
Public Extension MethodReplaceAsync Asynchronously replace a message in the folder.
(Defined by IMailFolderExtensions)
Public Extension MethodReplaceAsync Asynchronously replace a message in the folder.
(Defined by IMailFolderExtensions)
Public Extension MethodReplaceAsync Asynchronously replace a message in the folder.
(Defined by IMailFolderExtensions)
Public Extension MethodReplaceAsync Asynchronously replace a message in the folder.
(Defined by IMailFolderExtensions)
Public Extension MethodReplaceAsync Asynchronously replace a message in the folder.
(Defined by IMailFolderExtensions)
Public Extension MethodSetFlags Set the flags of the specified messages.
(Defined by IMailFolderExtensions)
Public Extension MethodSetFlags Set the flags of the specified messages.
(Defined by IMailFolderExtensions)
Public Extension MethodSetFlags Set the flags of the specified message.
(Defined by IMailFolderExtensions)
Public Extension MethodSetFlags Set the flags of the specified message.
(Defined by IMailFolderExtensions)
Public Extension MethodSetFlags Set the flags of the specified messages.
(Defined by IMailFolderExtensions)
Public Extension MethodSetFlags Set the flags of the specified messages only if their mod-sequence value is less than the specified value.
(Defined by IMailFolderExtensions)
Public Extension MethodSetFlags Set the flags of the specified messages.
(Defined by IMailFolderExtensions)
Public Extension MethodSetFlags Set the flags of the specified messages only if their mod-sequence value is less than the specified value.
(Defined by IMailFolderExtensions)
Public Extension MethodSetFlags Set the flags of the specified message.
(Defined by IMailFolderExtensions)
Public Extension MethodSetFlags Set the flags of the specified message.
(Defined by IMailFolderExtensions)
Public Extension MethodSetFlags Set the flags of the specified messages only if their mod-sequence value is less than the specified value.
(Defined by IMailFolderExtensions)
Public Extension MethodSetFlags Set the flags of the specified messages only if their mod-sequence value is less than the specified value.
(Defined by IMailFolderExtensions)
Public Extension MethodSetFlagsAsync Asynchronously set the flags of the specified messages.
(Defined by IMailFolderExtensions)
Public Extension MethodSetFlagsAsync Asynchronously set the flags of the specified messages.
(Defined by IMailFolderExtensions)
Public Extension MethodSetFlagsAsync Asynchronously set the flags of the specified message.
(Defined by IMailFolderExtensions)
Public Extension MethodSetFlagsAsync Asynchronously set the flags of the specified message.
(Defined by IMailFolderExtensions)
Public Extension MethodSetFlagsAsync Asynchronously set the flags of the specified messages.
(Defined by IMailFolderExtensions)
Public Extension MethodSetFlagsAsync Asynchronously set the flags of the specified messages only if their mod-sequence value is less than the specified value.
(Defined by IMailFolderExtensions)
Public Extension MethodSetFlagsAsync Asynchronously set the flags of the specified messages.
(Defined by IMailFolderExtensions)
Public Extension MethodSetFlagsAsync Asynchronously set the flags of the specified messages only if their mod-sequence value is less than the specified value.
(Defined by IMailFolderExtensions)
Public Extension MethodSetFlagsAsync Asynchronously set the flags of the specified message.
(Defined by IMailFolderExtensions)
Public Extension MethodSetFlagsAsync Asynchronously set the flags of the specified message.
(Defined by IMailFolderExtensions)
Public Extension MethodSetFlagsAsync Asynchronously set the flags of the specified messages only if their mod-sequence value is less than the specified value.
(Defined by IMailFolderExtensions)
Public Extension MethodSetFlagsAsync Asynchronously set the flags of the specified messages only if their mod-sequence value is less than the specified value.
(Defined by IMailFolderExtensions)
Public Extension MethodSetLabels Set the labels of the specified messages.
(Defined by IMailFolderExtensions)
Public Extension MethodSetLabels Set the labels of the specified messages.
(Defined by IMailFolderExtensions)
Public Extension MethodSetLabels Set the labels of the specified message.
(Defined by IMailFolderExtensions)
Public Extension MethodSetLabels Set the labels of the specified message.
(Defined by IMailFolderExtensions)
Public Extension MethodSetLabels Set the labels of the specified messages only if their mod-sequence value is less than the specified value.
(Defined by IMailFolderExtensions)
Public Extension MethodSetLabels Set the labels of the specified messages only if their mod-sequence value is less than the specified value.
(Defined by IMailFolderExtensions)
Public Extension MethodSetLabelsAsync Asynchronously set the labels of the specified messages.
(Defined by IMailFolderExtensions)
Public Extension MethodSetLabelsAsync Asynchronously set the labels of the specified messages.
(Defined by IMailFolderExtensions)
Public Extension MethodSetLabelsAsync Asynchronously set the labels of the specified message.
(Defined by IMailFolderExtensions)
Public Extension MethodSetLabelsAsync Asynchronously set the labels of the specified message.
(Defined by IMailFolderExtensions)
Public Extension MethodSetLabelsAsync Asynchronously set the labels of the specified messages only if their mod-sequence value is less than the specified value.
(Defined by IMailFolderExtensions)
Public Extension MethodSetLabelsAsync Asynchronously set the labels of the specified messages only if their mod-sequence value is less than the specified value.
(Defined by IMailFolderExtensions)
Top
Remarks
An IMAP folder.
Example
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);
    }
}
See Also