Click or drag to resize

Imap Class

IMAP client implementation. It allows listing, moving, copying, downloading, uploading and deleting emails from IMAP servers.
Inheritance Hierarchy

Namespace:  Limilabs.Client.IMAP
Assembly:  Mail (in Mail.dll) Version: 3.0.23341.1754
Syntax
public class Imap : ClientBase

The Imap type exposes the following members.

Constructors
  NameDescription
Public methodImap
Initializes new instance of the Imap class.
Public methodImap(AddressFamily)
Initializes new instance of the Imap class.
Top
Properties
  NameDescription
Public propertyCapabilities
Gets current capabilities of the server.
Public propertyConfiguration
Gets IMAP protocol configuration.
Public propertyConnected
Gets a value indicating whether the underlying Socket is connected to a remote host. This property makes a nonblocking, zero-byte Send call to determine the current state of the connection.
(Inherited from ClientBase.)
Public propertyCurrentFolder
Gets the status of the currently selected folder.
Public propertyIDInformation
Represents client information send to the server on connection using ID command (ID).
Public propertyInstanceId
Gets a randomly generated unique id that identifies this instance.
(Inherited from ClientBase.)
Public propertyIsCompressed
Gets a Boolean value that indicates whether communication to the remote server is compressed. You can turn compression on by using Compress method.
(Inherited from ClientBase.)
Public propertyIsEncrypted
Gets a Boolean value that indicates whether communication to the remote server is encrypted.
(Inherited from ClientBase.)
Public propertyIsMutuallyAuthenticated
Gets a Boolean value that indicates whether communication to the remote server is mutually authenticated.
(Inherited from ClientBase.)
Public propertyIsSigned
Gets a Boolean value that indicates whether communication to the remote server is signed.
(Inherited from ClientBase.)
Public propertyReadStream
Gets underlying read stream for current connection.
(Inherited from ClientBase.)
Public propertyReceiveTimeout
Gets or sets the amount of time the underlying Socket will wait to receive data once a read operation is initiated.
(Inherited from ClientBase.)
Public propertySendTimeout
Gets or sets the amount of time the underlying Socket will wait for a send operation to complete successfully.
(Inherited from ClientBase.)
Public propertyServerGreeting
Gets the server greeting (initial response).
Public propertyServerIDInformation
Gets the server ID information.
Public propertySocket
Gets the underlying Socket.
(Inherited from ClientBase.)
Public propertySSLConfiguration
Gets SSL/TLS configuration (client certificates, enabled SSL/TLS protocols).
(Inherited from ClientBase.)
Public propertyWriteStream
Gets underlying write stream for current connection.
(Inherited from ClientBase.)
Top
Methods
  NameDescription
Public methodAttach(Socket)
Attaches client to specified connected socket.
(Inherited from ClientBase.)
Public methodAttach(Socket, Boolean)
Attaches client to specified connected socket.
(Inherited from ClientBase.)
Public methodAttachSSL
Attaches client to specified connected socket.
(Inherited from ClientBase.)
Public methodBeginConnect(String)
Begins an asynchronous request for a remote server connection using DefaultPort.
Public methodBeginConnect(IPEndPoint, Boolean)
Begins an asynchronous request for a remote server connection.
(Inherited from ClientBase.)
Public methodBeginConnect(String, Int32)
Begins an asynchronous request for a remote server connection. You can use BeginConnectSSL(String, Int32) when SSL/TLS connection is needed.
(Inherited from ClientBase.)
Public methodBeginConnect(String, AsyncCallback)
Begins an asynchronous request for a remote server connection using DefaultPort.
Public methodBeginConnect(String, Int32, Boolean)
Begins an asynchronous request for a remote server connection.
(Inherited from ClientBase.)
Public methodBeginConnect(String, Int32, Boolean, AsyncCallback)
Begins an asynchronous request for a remote server connection.
(Inherited from ClientBase.)
Public methodBeginConnectSSL(String)
Begins an asynchronous request for a remote server secure connection using DefaultSSLPort and SSL/TLS.
Public methodBeginConnectSSL(String, Int32)
Begins an asynchronous request for a remote server secure connection using SSL/TLS.
(Inherited from ClientBase.)
Public methodBeginConnectSSL(String, AsyncCallback)
Begins an asynchronous request for a remote server secure connection using DefaultSSLPort and SSL/TLS.
Public methodBeginConnectSSL(String, Int32, AsyncCallback)
Begins an asynchronous request for a remote server secure connection using SSL/TLS.
(Inherited from ClientBase.)
Public methodCapability
Sends CAPABILITY command. Consider using Capabilities object instead.
Public methodCapabilityAsync
Public methodClose
Sends LOGOUT command. Releases all resources acquired by this object.
Public methodClose(Boolean)
Sends LOGOUT command. Releases all resources acquired by this object.
Public methodCloseAsync
Sends LOGOUT command. Releases all resources acquired by this object.
Public methodCloseAsync(Boolean)
Sends LOGOUT command. Releases all resources acquired by this object.
Public methodCloseCurrentFolder
Issues CLOSE command to the server. Unless Examine was used to open folder, CLOSE command permanently removes all messages that have the Deleted flag set from the currently selected folder, and returns to the authenticated state from the selected state (no folder is selected).
Public methodCloseCurrentFolderAsync
Issues CLOSE command to the server. Unless Examine was used to open folder, CLOSE command permanently removes all messages that have the Deleted flag set from the currently selected folder, and returns to the authenticated state from the selected state (no folder is selected).
Public methodCompress
Turns compression on. Uses deflate algorithm.
Public methodConnect(String)
Connects to IMAP server on port 143. Use ConnectSSL(String) when SSL/TLS connection is needed.
Public methodConnect(IPEndPoint, Boolean)
Establishes connection to a remote server.
(Inherited from ClientBase.)
Public methodConnect(String, Int32)
Establishes connection to a remote server. You can use ConnectSSL(String, Int32) when SSL/TLS connection is needed.
(Inherited from ClientBase.)
Public methodConnect(IPAddress, Int32, Boolean)
Establishes connection to a remote server.
(Inherited from ClientBase.)
Public methodConnect(String, Int32, Boolean)
Establishes connection to a remote server.
(Inherited from ClientBase.)
Public methodConnectAsync(String)
Connects to IMAP server on port 143. Use ConnectSSL(String) when SSL/TLS connection is needed.
Public methodConnectAsync(IPEndPoint, Boolean)
Establishes connection to a remote server.
(Inherited from ClientBase.)
Public methodConnectAsync(String, Int32)
Establishes connection to a remote server. You can use ConnectSSL(String, Int32) when SSL/TLS connection is needed.
(Inherited from ClientBase.)
Public methodConnectAsync(IPAddress, Int32, Boolean)
Establishes connection to a remote server.
(Inherited from ClientBase.)
Public methodConnectAsync(String, Int32, Boolean)
Establishes connection to a remote server.
(Inherited from ClientBase.)
Public methodConnectSSL(String)
Connects to IMAP server using SSL/TLS on port 993.
Public methodConnectSSL(String, Int32)
Establishes connection to a remote server using SSL.
(Inherited from ClientBase.)
Public methodConnectSSLAsync(String)
Connects to IMAP server using SSL/TLS on port 993.
Public methodConnectSSLAsync(String, Int32)
Establishes connection to a remote server using SSL.
(Inherited from ClientBase.)
Public methodCopyByNumber(ListInt64, FolderInfo)
Copies the specified email messages to the specified destination folder (mailbox).
Public methodCopyByNumber(ListInt64, String)
Copies the specified email messages to the specified destination folder (mailbox).
Public methodCopyByNumber(Int64, FolderInfo)
Copies the specified email message to the specified destination folder (mailbox).
Public methodCopyByNumber(Int64, String)
Copies the specified email message to the specified destination folder (mailbox).
Public methodCopyByNumberAsync(ListInt64, FolderInfo)
Copies the specified email messages to the specified destination folder (mailbox).
Public methodCopyByNumberAsync(ListInt64, String)
Copies the specified email messages to the specified destination folder (mailbox).
Public methodCopyByNumberAsync(Int64, FolderInfo)
Copies the specified email message to the specified destination folder (mailbox).
Public methodCopyByNumberAsync(Int64, String)
Copies the specified email message to the specified destination folder (mailbox).
Public methodCopyByUID(ListInt64, FolderInfo)
Copies the specified email messages to the specified destination folder (mailbox).
Public methodCopyByUID(ListInt64, String)
Copies the specified email messages to the specified destination folder (mailbox).
Public methodCopyByUID(Int64, FolderInfo)
Copies the specified email message to the specified destination folder (mailbox).
Public methodCopyByUID(Int64, String)
Copies the specified email message to the specified destination folder (mailbox).
Public methodCopyByUIDAsync(ListInt64, FolderInfo)
Copies the specified email messages to the specified destination folder (mailbox).
Public methodCopyByUIDAsync(ListInt64, String)
Copies the specified email messages to the specified destination folder (mailbox).
Public methodCopyByUIDAsync(Int64, FolderInfo)
Copies the specified email message to the specified destination folder (mailbox).
Public methodCopyByUIDAsync(Int64, String)
Copies the specified email message to the specified destination folder (mailbox).
Public methodCreateFolder
Creates a folder (mailbox) with the given name.
Public methodCreateFolderAsync
Creates a folder (mailbox) with the given name.
Public methodDeleteFolder(String)
Permanently removes a folder (mailbox) with the given name.
Public methodDeleteFolder(FolderInfo)
Permanently removes a folder (mailbox) with the given name.
Public methodDeleteFolderAsync(String)
Permanently removes a folder (mailbox) with the given name.
Public methodDeleteFolderAsync(FolderInfo)
Permanently removes a folder (mailbox) with the given name.
Public methodDeleteFolderRecursively(String)
Permanently removes all sub folders and folder (mailbox) with the given name.
Public methodDeleteFolderRecursively(FolderInfo)
Permanently removes all sub folders and folder (mailbox) specified.
Public methodDeleteFolderRecursivelyAsync(String)
Permanently removes all sub folders and folder (mailbox) with the given name.
Public methodDeleteFolderRecursivelyAsync(FolderInfo)
Permanently removes all sub folders and folder (mailbox) specified.
Public methodDeleteMessageByNumber(ListInt64)
Deletes messages specified by the messageNumbers. Issues EXPUNGE command after.
Public methodDeleteMessageByNumber(Int64)
Deletes message specified by the messageNumber. Issues EXPUNGE command after.
Public methodDeleteMessageByNumberAsync(ListInt64)
Deletes messages specified by the messageNumbers. Issues EXPUNGE command after.
Public methodDeleteMessageByNumberAsync(Int64)
Deletes message specified by the messageNumber. Issues EXPUNGE command after.
Public methodDeleteMessageByUID(ListInt64)
Deletes message specified by the uids. Issues EXPUNGE command after.
Public methodDeleteMessageByUID(Int64)
Deletes message specified by the uid. Issues EXPUNGE command after.
Public methodDeleteMessageByUIDAsync(ListInt64)
Deletes message specified by the uids. Issues EXPUNGE command after.
Public methodDeleteMessageByUIDAsync(Int64)
Deletes message specified by the uid. Issues EXPUNGE command after.
Public methodDispose
Releases all resources acquired by this object. Closes connection, without issuing any quit commands.
(Inherited from ClientBase.)
Protected methodDispose(Boolean)
Releases all resources acquired by this object. Closes connection, without issuing any quit commands.
(Inherited from ClientBase.)
Public methodEndConnect
Ends a pending asynchronous connection request.
(Inherited from ClientBase.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodExamine(String)
Selects specified folder (mailbox) as the current read-only folder so that messages inside can be accessed. Examine command will not reset the Recent flag
Public methodExamine(FolderInfo)
Selects specified folder (mailbox) as the current read-only folder so that messages inside can be accessed. Examine command will not reset the Recent flag.
Public methodExamineAsync(String)
Selects specified folder (mailbox) as the current read-only folder so that messages inside can be accessed. Examine command will not reset the Recent flag
Public methodExamineAsync(FolderInfo)
Selects specified folder (mailbox) as the current read-only folder so that messages inside can be accessed. Examine command will not reset the Recent flag.
Public methodExamineInbox
Selects 'INBOX' as a current read-only folder (mailbox) so that messages inside can be accessed. Examine command will not reset the Recent flag
Public methodExamineInboxAsync
Selects 'INBOX' as a current read-only folder (mailbox) so that messages inside can be accessed. Examine command will not reset the Recent flag
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodFlagMessageByNumber(ListInt64, Flag)
Flags email messages with specified flag.
Public methodFlagMessageByNumber(Int64, Flag)
Flags the message with specified flag.
Public methodFlagMessageByNumberAsync(ListInt64, Flag)
Flags the messages with specified flag.
Public methodFlagMessageByNumberAsync(Int64, Flag)
Flags the message with specified flag.
Public methodFlagMessageByUID(ListInt64, Flag)
Flags email messages with specified flag.
Public methodFlagMessageByUID(Int64, Flag)
Flags the message with specified flag.
Public methodFlagMessageByUIDAsync(ListInt64, Flag)
Flags the messages with specified flag.
Public methodFlagMessageByUIDAsync(Int64, Flag)
Flags the message with specified flag.
Public methodGetAll
Gets UIDs of all messages in the current folder (mailbox) sorted from oldest to newest. Equivalent to Search(Expression.All()).
Public methodGetAllAsync
Gets UIDs of all messages in the current folder (mailbox) sorted from oldest to newest. Equivalent to Search(Expression.All()).
Public methodGetBodyStructureByNumber(ListInt64)
Gets the structure of the specified email messages. Does not set the Seen flag.
Public methodGetBodyStructureByNumber(Int64)
Gets the structure of the specified message. Does not set the Seen flag.
Public methodGetBodyStructureByNumber(SequenceSet)
Gets the structure of the specified email messages. Does not set the Seen flag.
Public methodGetBodyStructureByNumberAsync(ListInt64)
Gets the structure of the specified message. Does not set the Seen flag.
Public methodGetBodyStructureByNumberAsync(Int64)
Gets the structure of the specified message. Does not set the Seen flag.
Public methodGetBodyStructureByNumberAsync(SequenceSet)
Gets the structure of the specified message. Does not set the Seen flag.
Public methodGetBodyStructureByUID(ListInt64)
Gets the structure of the specified email messages. Does not set the Seen flag.
Public methodGetBodyStructureByUID(Int64)
Gets the structure of the specified message.
Public methodGetBodyStructureByUID(SequenceSet)
Gets the structure of the specified email messages. Does not set the Seen flag.
Public methodGetBodyStructureByUIDAsync(ListInt64)
Gets the structure of the specified message. Does not set the Seen flag.
Public methodGetBodyStructureByUIDAsync(Int64)
Gets the structure of the specified message.
Public methodGetBodyStructureByUIDAsync(SequenceSet)
Gets the structure of the specified message. Does not set the Seen flag.
Public methodGetDataByNumber(MimeStructure)
Gets data of the specified part using MessageNumber. Fills Data and Text in case of MimeTextStructure.
Public methodGetDataByNumber(ListMimeStructure)
Gets data of the specified part using MessageNumber. Fills Data and Text in case of MimeTextStructure.
Public methodGetDataByNumber(MimeStructure, Int64)
Gets data of the specified part using MessageNumber. Fills Data and Text in case of MimeTextStructure.
Public methodGetDataByNumberAsync(MimeStructure)
Gets data of the specified part using MessageNumber. Fills Data and Text in case of MimeTextStructure.
Public methodGetDataByNumberAsync(ListMimeStructure)
Gets data of the specified part using MessageNumber. Fills Data and Text in case of MimeTextStructure.
Public methodGetDataByNumberAsync(MimeStructure, Int64)
Gets data of the specified part using MessageNumber. Fills Data and Text in case of MimeTextStructure.
Public methodGetDataByUID(MimeStructure)
Gets data of the specified part using UID. Fills Data and Text in case of MimeTextStructure.
Public methodGetDataByUID(ListMimeStructure)
Gets data of the specified part using UID. Fills Data and Text in case of MimeTextStructure.
Public methodGetDataByUID(MimeStructure, Int64)
Gets data of the specified part using UID. Fills Data and Text in case of MimeTextStructure.
Public methodGetDataByUIDAsync(MimeStructure)
Gets data of the specified part using UID. Fills Data and Text in case of MimeTextStructure.
Public methodGetDataByUIDAsync(ListMimeStructure)
Gets data of the specified part using UID. Fills Data and Text in case of MimeTextStructure.
Public methodGetDataByUIDAsync(MimeStructure, Int64)
Gets data of the specified part using UID. Fills Data and Text in case of MimeTextStructure.
Public methodGetEnvelopeByNumber(ListInt64)
Gets the envelope (Subject, From, To...) of the specified email messages. Does not set the Seen flag.
Public methodGetEnvelopeByNumber(Int64)
Gets the envelope (Subject, From, To...) of the specified email message. Does not set the Seen flag.
Public methodGetEnvelopeByNumber(SequenceSet)
Gets the envelope (Subject, From, To...) of the specified email messages. Does not set the Seen flag.
Public methodGetEnvelopeByNumberAsync(ListInt64)
Gets the envelope (Subject, From, To...) of the specified email messages. Does not set the Seen flag.
Public methodGetEnvelopeByNumberAsync(Int64)
Gets the envelope (Subject, From, To...) of the specified message. Does not set the Seen flag.
Public methodGetEnvelopeByNumberAsync(SequenceSet)
Gets the envelope (Subject, From, To...) of the specified email messages. Does not set the Seen flag.
Public methodGetEnvelopeByUID(ListInt64)
Gets the envelope (Subject, From, To...) of the specified email messages. Does not set the Seen flag.
Public methodGetEnvelopeByUID(Int64)
Gets the envelope (Subject, From, To...) of the specified email message. Does not set the Seen flag.
Public methodGetEnvelopeByUID(SequenceSet)
Gets the envelope (Subject, From, To...) of the specified email messages. Does not set the Seen flag.
Public methodGetEnvelopeByUIDAsync(ListInt64)
Gets the envelope (Subject, From, To...) of the specified email messages. Does not set the Seen flag.
Public methodGetEnvelopeByUIDAsync(Int64)
Gets the envelope (Subject, From, To...) of the specified email message. Does not set the Seen flag.
Public methodGetEnvelopeByUIDAsync(SequenceSet)
Gets the envelope (Subject, From, To...) of the specified email messages. Does not set the Seen flag.
Public methodGetFlagsByNumber(ListInt64)
Gets flags for the specified email messages from server. Does not set the Seen.
Public methodGetFlagsByNumber(Int64)
Gets flags for the specified email message from server. Does not set the Seen.
Public methodGetFlagsByNumber(SequenceSet)
Gets flags for the specified email messages from server. Does not set the Seen.
Public methodGetFlagsByNumberAsync(ListInt64)
Gets flags for the specified email messages from server. Does not set the Seen.
Public methodGetFlagsByNumberAsync(Int64)
Gets flags for the specified email message from server. Does not set the Seen.
Public methodGetFlagsByNumberAsync(SequenceSet)
Gets flags for the specified email messages from server. Does not set the Seen.
Public methodGetFlagsByUID(ListInt64)
Gets flags for the specified email messages from server. Does not set the Seen.
Public methodGetFlagsByUID(Int64)
Gets flags for the specified email message from server. Does not set the Seen.
Public methodGetFlagsByUID(SequenceSet)
Gets flags for the specified email messages from server. Does not set the Seen.
Public methodGetFlagsByUIDAsync(ListInt64)
Gets flags for the specified email messages from server. Does not set the Seen.
Public methodGetFlagsByUIDAsync(Int64)
Gets flags for the specified email message from server. Does not set the Seen.
Public methodGetFlagsByUIDAsync(SequenceSet)
Gets flags for the specified email messages from server. Does not set the Seen.
Public methodGetFolders
Lists all folders (mailboxes) starting from root. Folders starting with '#' are usually shared between users. You can use GetNamespaces to obtain information about shared folders.
Public methodGetFolders(String)
Lists all folders (mailboxes) under specified folder (mailbox).
Public methodGetFolders(FolderInfo)
Lists all folders (mailboxes) under specified folder (mailbox).
Public methodGetFolders(SubFolders)
Lists all folders (mailboxes) starting from root. Folders starting with '#' are usually shared between users. You can use GetNamespaces to obtain information about shared folders.
Public methodGetFolders(String, SubFolders)
Lists all folders (mailboxes) under specified folder (mailbox).
Public methodGetFolders(FolderInfo, SubFolders)
Lists all folders (mailboxes) under specified folder (mailbox).
Public methodGetFoldersAsync
Lists all folders (mailboxes) starting from root. Folders starting with '#' are usually shared between users. You can use GetNamespaces to obtain information about shared folders.
Public methodGetFoldersAsync(String)
Lists all folders (mailboxes) under specified folder (mailbox).
Public methodGetFoldersAsync(FolderInfo)
Lists all folders (mailboxes) under specified folder (mailbox).
Public methodGetFoldersAsync(SubFolders)
Lists all folders (mailboxes) starting from root. Folders starting with '#' are usually shared between users. You can use GetNamespaces to obtain information about shared folders.
Public methodGetFoldersAsync(String, SubFolders)
Lists all folders (mailboxes) under specified folder (mailbox).
Public methodGetFoldersAsync(FolderInfo, SubFolders)
Lists all folders (mailboxes) under specified folder (mailbox).
Public methodGetFoldersTree(SubFolders)
Lists folder tree roots starting from root. In contrast to GetFolders method only roots are returned. You can use SubFolders to access sub folders.
Public methodGetFoldersTree(String, SubFolders)
Lists folder tree roots starting from specified folder (mailbox). In contrast to GetFolders method only roots are returned. You can use SubFolders to access sub folders.
Public methodGetFoldersTree(FolderInfo, SubFolders)
Lists folder tree roots starting from specified folder (mailbox). In contrast to GetFolders method only roots are returned. You can use SubFolders to access sub folders.
Public methodGetFoldersTreeAsync(SubFolders)
Lists folder tree roots starting from root. In contrast to GetFolders method only roots are returned. You can use SubFolders to access sub folders.
Public methodGetFoldersTreeAsync(String, SubFolders)
Lists folder tree roots starting from specified folder (mailbox). In contrast to GetFolders method only roots are returned. You can use SubFolders to access sub folders.
Public methodGetFoldersTreeAsync(FolderInfo, SubFolders)
Lists folder tree roots starting from specified folder (mailbox). In contrast to GetFolders method only roots are returned. You can use SubFolders to access sub folders.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetHeadersByNumber(ListInt64)
Gets all headers of the specified email messages from server. Use MailBuilder class to create IMail object.
Public methodGetHeadersByNumber(Int64)
Gets all headers of the specified email message from server. Use MailBuilder class to create IMail object.
Public methodGetHeadersByNumber(MimeStructure)
Gets MIME headers for specified MIME entity using MessageNumber.
Public methodGetHeadersByNumberAsync(ListInt64)
Gets all headers of the specified email messages from server. Use MailBuilder class to create IMail object.
Public methodGetHeadersByNumberAsync(Int64)
Gets all headers of the specified email message from server. Use MailBuilder class to create IMail object.
Public methodGetHeadersByNumberAsync(MimeStructure)
Gets MIME headers for specified MIME entity using MessageNumber.
Public methodGetHeadersByUID(ListInt64)
Gets all headers of the specified email messages from server. Use MailBuilder class to create IMail object.
Public methodGetHeadersByUID(Int64)
Gets all headers of the specified email message from server. Use MailBuilder class to create IMail object.
Public methodGetHeadersByUID(MimeStructure)
Gets MIME headers for specified MIME entity using UID.
Public methodGetHeadersByUIDAsync(ListInt64)
Gets all headers of the specified email messages from server. Use MailBuilder class to create IMail object.
Public methodGetHeadersByUIDAsync(Int64)
Gets all headers of the specified email message from server. Use MailBuilder class to create IMail object.
Public methodGetHeadersByUIDAsync(MimeStructure)
Gets MIME headers for specified MIME entity using UID.
Public methodGetMessageByNumber
Gets specified email message from server. Use MailBuilder class to create IMail object. This method sets the Seen unless folder is selected with Examine(String), Examine(FolderInfo) or ExamineInbox.
Public methodGetMessageByNumberAsync
Gets specified email message from server. Use MailBuilder class to create IMail object. This method sets the Seen unless folder is selected with Examine(String), Examine(FolderInfo) or ExamineInbox.
Public methodGetMessageByUID
Gets specified email message from server. Use MailBuilder class to create IMail object. This method sets the Seen unless folder is selected with Examine(String), Examine(FolderInfo) or ExamineInbox.
Public methodGetMessageByUIDAsync
Gets specified email message from server. Use MailBuilder class to create IMail object. This method sets the Seen unless folder is selected with Examine(String), Examine(FolderInfo) or ExamineInbox.
Public methodGetMessageInfoByNumber(ListInt64)
Gets message information for the specified email messages. Does not set the Seen flag.
Public methodGetMessageInfoByNumber(Int64)
Gets message information for the specified message. Does not set the Seen flag.
Public methodGetMessageInfoByNumber(SequenceSet)
Gets message information for the specified email messages. Does not set the Seen flag.
Public methodGetMessageInfoByNumberAsync(ListInt64)
Gets message information for the email specified email messages. Does not set the Seen flag.
Public methodGetMessageInfoByNumberAsync(Int64)
Gets message information for the specified message. Does not set the Seen flag.
Public methodGetMessageInfoByNumberAsync(SequenceSet)
Gets message information for the specified email messages. Does not set the Seen flag.
Public methodGetMessageInfoByUID(ListInt64)
Gets message information for specified email messages. Does not set the Seen flag.
Public methodGetMessageInfoByUID(Int64)
Gets message information for the specified message. Does not set the Seen flag.
Public methodGetMessageInfoByUID(SequenceSet)
Gets message information for the specified email messages. Does not set the Seen flag.
Public methodGetMessageInfoByUIDAsync(ListInt64)
Gets message information for the specified email messages. Does not set the Seen flag.
Public methodGetMessageInfoByUIDAsync(Int64)
Gets message information for the specified message. Does not set the Seen flag.
Public methodGetMessageInfoByUIDAsync(SequenceSet)
Gets message information for the email specified email messages. Does not set the Seen flag.
Public methodGetNamespaces
Lists all namespaces available for this user. Not all servers support Namespace. You can check which extensions remote server supports using SupportedExtensions method.
Public methodGetNamespacesAsync
Lists all namespaces available for this user. Not all servers support Namespace. You can check which extensions remote server supports using SupportedExtensions method.
Public methodGetQuota
Gets quota with specified name. Not all servers support Quota, you can check which extensions remote server supports using SupportedExtensions method.
Public methodGetQuotaAsync
Gets quota with specified name. Not all servers support Quota, you can check which extensions remote server supports using SupportedExtensions method.
Public methodGetQuotaRoot(String)
Gets quotas for specified folder. Not all servers support Quota, you can check which extensions remote server supports using SupportedExtensions method.
Public methodGetQuotaRoot(FolderInfo)
Gets quotas for specified folder. Not all servers support Quota, you can check which extensions remote server supports using SupportedExtensions method.
Public methodGetQuotaRootAsync(String)
Gets quotas for specified folder. Not all servers support Quota, you can check which extensions remote server supports using SupportedExtensions method.
Public methodGetQuotaRootAsync(FolderInfo)
Gets quotas for specified folder. Not all servers support Quota, you can check which extensions remote server supports using SupportedExtensions method.
Public methodGetSpecificHeadersByNumber(ListInt64, String)
Gets specific headers of the specified email messages from server.
Public methodGetSpecificHeadersByNumber(Int64, String)
Gets specific headers of the specified email message from server.
Public methodGetSpecificHeadersByNumberAsync(ListInt64, String)
Gets specific headers of the specified email messages from server.
Public methodGetSpecificHeadersByNumberAsync(Int64, String)
Gets specific headers of the specified email message from server.
Public methodGetSpecificHeadersByUID(ListInt64, String)
Gets specific headers of the specified email messages from server.
Public methodGetSpecificHeadersByUID(Int64, String)
Gets specific headers of the specified email message from server.
Public methodGetSpecificHeadersByUIDAsync(ListInt64, String)
Gets specific headers of the specified email messages from server.
Public methodGetSpecificHeadersByUIDAsync(Int64, String)
Gets specific headers of the specified email message from server.
Public methodGetSubscribedFolders
Lists all folders (mailboxes) user is subscribed to.
Public methodGetSubscribedFolders(String)
Lists folders (mailboxes) user is subscribed to, starting from specified folder.
Public methodGetSubscribedFolders(FolderInfo)
Lists folders (mailboxes) user is subscribed to, starting from specified folder.
Public methodGetSubscribedFoldersAsync
Lists all folders (mailboxes) user is subscribed to.
Public methodGetSubscribedFoldersAsync(String)
Lists folders (mailboxes) user is subscribed to, starting from specified folder.
Public methodGetSubscribedFoldersAsync(FolderInfo)
Lists folders (mailboxes) user is subscribed to, starting from specified folder.
Public methodGetTextByNumber(MimeTextStructure)
Gets text data of the specified part using MessageNumber. Fills Text.
Public methodGetTextByNumber(ListMimeTextStructure)
Gets text data of the specified part using MessageNumber. Fills Text.
Public methodGetTextByNumber(MimeTextStructure, Int64)
Gets text data of the specified part using MessageNumber. Fills Text.
Public methodGetTextByNumberAsync(MimeTextStructure)
Gets text data of the specified part using MessageNumber. Fills Data and Text in case of MimeTextStructure.
Public methodGetTextByNumberAsync(ListMimeTextStructure)
Gets text data of the specified part using MessageNumber. Fills Data and Text in case of MimeTextStructure.
Public methodGetTextByNumberAsync(MimeTextStructure, Int64)
Gets text data of the specified part using MessageNumber. Fills Data and Text in case of MimeTextStructure.
Public methodGetTextByUID(MimeTextStructure)
Gets text data of the specified part using UID. Fills Text.
Public methodGetTextByUID(ListMimeTextStructure)
Gets text data of the specified part using UID. Fills Text.
Public methodGetTextByUID(MimeTextStructure, Int64)
Gets text data of the specified part using UID. Fills Text.
Public methodGetTextByUIDAsync(MimeTextStructure)
Gets text data of the specified part using UID. Fills Data and Text in case of MimeTextStructure.
Public methodGetTextByUIDAsync(ListMimeTextStructure)
Gets text data of the specified part using UID. Fills Data and Text in case of MimeTextStructure.
Public methodGetTextByUIDAsync(MimeTextStructure, Int64)
Gets text data of the specified part using UID. Fills Data and Text in case of MimeTextStructure.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGmailGetLabelsByNumber(ListInt64)
Gets Gmail labels for the specified email messages from server. Does not set the Seen.
Public methodGmailGetLabelsByNumber(Int64)
Gets Gmail labels for the specified email message from server. Does not set the Seen.
Public methodGmailGetLabelsByNumberAsync(ListInt64)
Gets Gmail labels for the specified email messages from server. Does not set the Seen.
Public methodGmailGetLabelsByNumberAsync(Int64)
Gets Gmail labels for the specified email message from server. Does not set the Seen.
Public methodGmailGetLabelsByUID(ListInt64)
Gets Gmail labels for the specified email messages from server. Does not set the Seen.
Public methodGmailGetLabelsByUID(Int64)
Gets Gmail labels for the specified email message from server. Does not set the Seen. You can label message using method.
Public methodGmailGetLabelsByUIDAsync(ListInt64)
Gets Gmail labels for the specified email messages from server. Does not set the Seen.
Public methodGmailGetLabelsByUIDAsync(Int64)
Gets Gmail labels for the specified email message from server. Does not set the Seen. You can label message using method.
Public methodGmailLabelMessageByNumber(ListInt64, ListString)
Labels email messages with specified labels.
Public methodGmailLabelMessageByNumber(ListInt64, String)
Labels email messages with specified label.
Public methodGmailLabelMessageByNumber(Int64, ListString)
Labels the message with specified labels.
Public methodGmailLabelMessageByNumber(Int64, String)
Labels the message with specified label.
Public methodGmailLabelMessageByNumberAsync(ListInt64, ListString)
Labels the messages with specified labels.
Public methodGmailLabelMessageByNumberAsync(ListInt64, String)
Labels the messages with specified label.
Public methodGmailLabelMessageByNumberAsync(Int64, ListString)
Labels the message with specified labels.
Public methodGmailLabelMessageByNumberAsync(Int64, String)
Labels the message with specified label.
Public methodGmailLabelMessageByUID(ListInt64, ListString)
Labels email messages with specified labels.
Public methodGmailLabelMessageByUID(ListInt64, String)
Labels email messages with specified label.
Public methodGmailLabelMessageByUID(Int64, ListString)
Labels the message with specified labels.
Public methodGmailLabelMessageByUID(Int64, String)
Labels the message with specified label.
Public methodGmailLabelMessageByUIDAsync(ListInt64, ListString)
Labels the messages with specified labels.
Public methodGmailLabelMessageByUIDAsync(ListInt64, String)
Labels the messages with specified label.
Public methodGmailLabelMessageByUIDAsync(Int64, ListString)
Labels the message with specified labels.
Public methodGmailLabelMessageByUIDAsync(Int64, String)
Labels the message with specified label.
Public methodGmailUnlabelMessageByNumber(ListInt64, String)
Removes specified label from messages.
Public methodGmailUnlabelMessageByNumber(Int64, String)
Removes specified label from the message.
Public methodGmailUnlabelMessageByNumberAsync(ListInt64, String)
Removes specified label from messages.
Public methodGmailUnlabelMessageByNumberAsync(Int64, String)
Removes specified label from the message.
Public methodGmailUnlabelMessageByUID(ListInt64, String)
Removes specified label from messages.
Public methodGmailUnlabelMessageByUID(Int64, String)
Removes specified label from the message.
Public methodGmailUnlabelMessageByUIDAsync(ListInt64, String)
Removes specified label from messages.
Public methodGmailUnlabelMessageByUIDAsync(Int64, String)
Removes specified label from the message.
Public methodIdle
Sends IDLE command. This method hangs until server announces new event in current folder or until StopIdle command is issued. Not all servers support Idle. You can check which extensions remote server supports using SupportedExtensions method.
Public methodIdle(TimeSpan)
Sends IDLE command. This method hangs until server announces new event in current folder or until StopIdle command is issued. Not all servers support Idle. You can check which extensions remote server supports using SupportedExtensions method.
Public methodIdleAsync
Sends IDLE command. This method hangs until server announces new event in current folder or until StopIdle command is issued. Not all servers support Idle. You can check which extensions remote server supports using SupportedExtensions method.
Public methodIdleAsync(TimeSpan)
Sends IDLE command. This method hangs until server announces new event in current folder or until StopIdle command is issued. Not all servers support Idle. You can check which extensions remote server supports using SupportedExtensions method.
Public methodLogin
Logs user in using LOGIN command. When LOGIN command is disabled by including the LOGINDISABLED capability this method tries to log-in using UseBestLogin(String, String). Unless SSL/TLS connection is used, this method sends the password in clear text. You can check which authentication methods remote server supports using Capabilities and then AuthenticationMethods method.
Public methodLoginAsync
Logs user in using LOGIN command. When LOGIN command is disabled by including the LOGINDISABLED capability this method tries to log-in using UseBestLogin(String, String). Unless SSL/TLS connection is used, this method sends the password in clear text. You can check which authentication methods remote server supports using Capabilities and then AuthenticationMethods method.
Public methodLoginCRAM
Logs user in using AUTHENTICATE CRAM-MD5 command. This method does NOT send the password in clear text. You can check which authentication methods remote server supports using Capabilities and then AuthenticationMethods method.
Public methodLoginCRAMAsync
Logs user in using AUTHENTICATE CRAM-MD5 command. This method does NOT send the password in clear text. You can check which authentication methods remote server supports using Capabilities and then AuthenticationMethods method.
Public methodLoginDIGEST(String, String)
Logs user in using AUTHENTICATE DIGEST-MD5 command. This method does NOT send the password in clear text. You can check which authentication methods remote server supports using Capabilities and then AuthenticationMethods method.
Public methodLoginDIGEST(String, String, String)
Logs user in using AUTHENTICATE DIGEST-MD5 command. This method does NOT send the password in clear text. You can check which authentication methods remote server supports using Capabilities and then AuthenticationMethods method.
Public methodLoginDIGESTAsync(String, String)
Logs user in using AUTHENTICATE DIGEST-MD5 command. This method does NOT send the password in clear text. You can check which authentication methods remote server supports using Capabilities and then AuthenticationMethods method.
Public methodLoginDIGESTAsync(String, String, String)
Logs user in using AUTHENTICATE DIGEST-MD5 command. This method does NOT send the password in clear text. You can check which authentication methods remote server supports using Capabilities and then AuthenticationMethods method.
Public methodLoginOAUTH
Logs user in using AUTHENTICATE XOAUTH command. This method does NOT send the password. You can use OAuth class to create the key. You can check which authentication methods remote server supports using Capabilities and then AuthenticationMethods method.
Public methodLoginOAUTH2
Logs user in using AUTHENTICATE XOAUTH2 command. This method does NOT send the password. You can use DotNetOpenAuth to create the key. You can check which authentication methods remote server supports using Capabilities and then AuthenticationMethods method.
Public methodLoginOAUTH2Async
Logs user in using AUTHENTICATE XOAUTH2 command. This method does NOT send the password. You can use DotNetOpenAuth to create the key. You can check which authentication methods remote server supports using Capabilities and then AuthenticationMethods method.
Public methodLoginOAUTHAsync
Logs user in using AUTHENTICATE XOAUTH command. This method does NOT send the password. You can use OAuth class to create the key. You can check which authentication methods remote server supports using Capabilities and then AuthenticationMethods method.
Public methodLoginPLAIN(String, String)
Logs user in using AUTHENTICATE PLAIN command. This method sends the password in clear text (BASE64), unless SSL/TLS connection is used.
Public methodLoginPLAIN(String, String, String)
Logs user in using AUTHENTICATE PLAIN command. This method sends the password in clear text (BASE64), unless SSL/TLS connection is used.
Public methodLoginPLAINAsync(String, String)
Logs user in using AUTHENTICATE PLAIN command. This method sends the password in clear text (BASE64), unless SSL/TLS connection is used.
Public methodLoginPLAINAsync(String, String, String)
Logs user in using AUTHENTICATE PLAIN command. This method sends the password in clear text (BASE64), unless SSL/TLS connection is used.
Public methodLoginSSPI
Logs user in using Negotiate mechanism. Target will be constructed as "imap/" + TargetHost name.
Public methodLoginSSPI(SSPIMechanism)
Logs user in using specified mechanism (Negotiate, Kerberos or NTLM). Target will be constructed as "imap/" + TargetHost name.
Public methodLoginSSPI(SSPIMechanism, String)
Logs user in using specified mechanism (Negotiate, Kerberos or NTLM).
Public methodLoginSSPI(SSPIMechanism, String, String)
Logs user in using specified mechanism (Negotiate, Kerberos or NTLM). Target will be constructed as "imap/" + TargetHost name.
Public methodLoginSSPI(SSPIMechanism, String, String, String)
Logs user in using specified mechanism (Negotiate, Kerberos or NTLM).
Public methodLoginSSPIAsync
Logs user in using Negotiate mechanism. Target will be constructed as "imap/" + TargetHost name.
Public methodLoginSSPIAsync(SSPIMechanism)
Logs user in using specified mechanism (Negotiate, Kerberos or NTLM). Target will be constructed as "imap/" + TargetHost name.
Public methodLoginSSPIAsync(SSPIMechanism, String)
Logs user in using specified mechanism (Negotiate, Kerberos or NTLM).
Public methodLoginSSPIAsync(SSPIMechanism, String, String)
Logs user in using specified mechanism (Negotiate, Kerberos or NTLM). Target will be constructed as "imap/" + TargetHost name.
Public methodLoginSSPIAsync(SSPIMechanism, String, String, String)
Logs user in using specified mechanism (Negotiate, Kerberos or NTLM).
Public methodMarkMessageSeenByNumber(ListInt64)
Flags message with Seen flag.
Public methodMarkMessageSeenByNumber(Int64)
Flags message with Seen flag.
Public methodMarkMessageSeenByNumberAsync(ListInt64)
Flags message with Seen flag.
Public methodMarkMessageSeenByNumberAsync(Int64)
Flags message with Seen flag.
Public methodMarkMessageSeenByUID(ListInt64)
Flags message with Seen flag.
Public methodMarkMessageSeenByUID(Int64)
Flags message with Seen flag.
Public methodMarkMessageSeenByUIDAsync(ListInt64)
Flags message with Seen flag.
Public methodMarkMessageSeenByUIDAsync(Int64)
Flags message with Seen flag.
Public methodMarkMessageUnseenByNumber(ListInt64)
Removes Seen flag from the message.
Public methodMarkMessageUnseenByNumber(Int64)
Removes Seen flag from the message.
Public methodMarkMessageUnseenByNumberAsync(ListInt64)
Removes Seen flag from the message.
Public methodMarkMessageUnseenByNumberAsync(Int64)
Removes Seen flag from the message.
Public methodMarkMessageUnseenByUID(ListInt64)
Removes Seen flag from the message.
Public methodMarkMessageUnseenByUID(Int64)
Removes Seen flag from the message.
Public methodMarkMessageUnseenByUIDAsync(ListInt64)
Removes Seen flag from the message.
Public methodMarkMessageUnseenByUIDAsync(Int64)
Removes Seen flag from the message.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodMoveByNumber(ListInt64, FolderInfo)
Moves the specified email messages to the specified destination folder (mailbox). Uses copy and delete, if Move is unavailable.
Public methodMoveByNumber(ListInt64, String)
Moves the specified email messages to the specified destination folder (mailbox). Uses copy and delete, if Move is unavailable.
Public methodMoveByNumber(Int64, FolderInfo)
Moves the specified email message to the specified destination folder (mailbox). Uses copy and delete, if Move is unavailable.
Public methodMoveByNumber(Int64, String)
Moves the specified email message to the specified destination folder (mailbox). Uses copy and delete, if Move is unavailable.
Public methodMoveByNumberAsync(ListInt64, FolderInfo)
Moves the specified email messages to the specified destination folder (mailbox). Uses copy and delete, if Move is unavailable.
Public methodMoveByNumberAsync(ListInt64, String)
Moves the specified email messages to the specified destination folder (mailbox). Uses copy and delete, if Move is unavailable.
Public methodMoveByNumberAsync(Int64, FolderInfo)
Moves the specified email message to the specified destination folder (mailbox). Uses copy and delete, if Move is unavailable.
Public methodMoveByNumberAsync(Int64, String)
Moves the specified email message to the specified destination folder (mailbox). Uses copy and delete, if Move is unavailable.
Public methodMoveByUID(ListInt64, FolderInfo)
Moves the specified email messages to the specified destination folder (mailbox). Uses copy and delete, if Move is unavailable.
Public methodMoveByUID(ListInt64, String)
Moves the specified email messages to the specified destination folder (mailbox). Uses copy and delete, if Move is unavailable.
Public methodMoveByUID(Int64, FolderInfo)
Moves the specified email message to the specified destination folder (mailbox). Uses copy and delete, if Move is unavailable.
Public methodMoveByUID(Int64, String)
Moves the specified email message to the specified destination folder (mailbox). Uses copy and delete, if Move is unavailable.
Public methodMoveByUIDAsync(ListInt64, FolderInfo)
Moves the specified email messages to the specified destination folder (mailbox). Uses copy and delete, if Move is unavailable.
Public methodMoveByUIDAsync(ListInt64, String)
Moves the specified email messages to the specified destination folder (mailbox). Uses copy and delete, if Move is unavailable.
Public methodMoveByUIDAsync(Int64, FolderInfo)
Moves the specified email message to the specified destination folder (mailbox). Uses copy and delete, if Move is unavailable.
Public methodMoveByUIDAsync(Int64, String)
Moves the specified email message to the specified destination folder (mailbox). Uses copy and delete, if Move is unavailable.
Public methodNoop
Sends NOOP command to the server. It does nothing and always succeeds. Can be used as a periodic poll for new messages - updates FolderStatus returned by last Select(String), Select(FolderInfo) command. Can also be used to reset any inactivity auto-logout timer on the server.
Public methodNoopAsync
Sends NOOP command to the server. It does nothing and always succeeds. Can be used as a periodic poll for new messages - updates FolderStatus returned by last Select(String), Select(FolderInfo) command. Can also be used to reset any inactivity auto-logout timer on the server.
Public methodPeekDataByNumber(MimeStructure)
Peeks data of the specified part using MessageNumber. Fills Data and Text in case of MimeTextStructure.
Public methodPeekDataByNumber(ListMimeStructure)
Peeks data of the specified part using MessageNumber. Fills Data and Text in case of MimeTextStructure.
Public methodPeekDataByNumber(MimeStructure, Int64)
Peeks data of the specified part using MessageNumber. Fills Data and Text in case of MimeTextStructure.
Public methodPeekDataByNumberAsync(MimeStructure)
Peeks data of the specified part using MessageNumber. Fills Data and Text in case of MimeTextStructure.
Public methodPeekDataByNumberAsync(ListMimeStructure)
Peeks data of the specified part using MessageNumber. Fills Data and Text in case of MimeTextStructure.
Public methodPeekDataByNumberAsync(MimeStructure, Int64)
Peeks data of the specified part using MessageNumber. Fills Data and Text in case of MimeTextStructure.
Public methodPeekDataByUID(MimeStructure)
Peeks data of the specified part using UID. Fills Data and Text in case of MimeTextStructure.
Public methodPeekDataByUID(ListMimeStructure)
Peeks data of the specified part using UID. Fills Data and Text in case of MimeTextStructure.
Public methodPeekDataByUID(MimeStructure, Int64)
Peeks data of the specified part using UID. Fills Data and Text in case of MimeTextStructure.
Public methodPeekDataByUIDAsync(MimeStructure)
Peeks data of the specified part using UID. Fills Data and Text in case of MimeTextStructure.
Public methodPeekDataByUIDAsync(ListMimeStructure)
Peeks data of the specified part using UID. Fills Data and Text in case of MimeTextStructure.
Public methodPeekDataByUIDAsync(MimeStructure, Int64)
Peeks data of the specified part using UID. Fills Data and Text in case of MimeTextStructure.
Public methodPeekHeadersByNumber(ListInt64)
Gets all headers of the specified email messages from server. Use MailBuilder class to create IMail object. Does not set the Seen.
Public methodPeekHeadersByNumber(Int64)
Gets headers of the specified email message from server. Use MailBuilder class to create IMail object. Does not set the Seen.
Public methodPeekHeadersByNumber(MimeStructure)
Peeks MIME headers for specified MIME entity using MessageNumber.
Public methodPeekHeadersByNumberAsync(ListInt64)
Gets all headers of the specified email messages from server. Use MailBuilder class to create IMail object. Does not set the Seen.
Public methodPeekHeadersByNumberAsync(Int64)
Gets headers of the specified email message from server. Use MailBuilder class to create IMail object. Does not set the Seen.
Public methodPeekHeadersByNumberAsync(MimeStructure)
Peeks MIME headers for specified MIME entity using MessageNumber.
Public methodPeekHeadersByUID(ListInt64)
Gets all headers of the specified email messages from server. Use MailBuilder class to create IMail object. Does not set the Seen.
Public methodPeekHeadersByUID(Int64)
Gets headers of the specified email message from server. Use MailBuilder class to create IMail object. Does not set the Seen.
Public methodPeekHeadersByUID(MimeStructure)
Peeks MIME headers for specified MIME entity using UID.
Public methodPeekHeadersByUIDAsync(ListInt64)
Gets all headers of the specified email messages from server. Use MailBuilder class to create IMail object. Does not set the Seen.
Public methodPeekHeadersByUIDAsync(Int64)
Gets headers of the specified email message from server. Use MailBuilder class to create IMail object. Does not set the Seen.
Public methodPeekHeadersByUIDAsync(MimeStructure)
Peeks MIME headers for specified MIME entity using UID.
Public methodPeekMessageByNumber
Gets specified email message from server. This method in contrast to GetMessageByNumber(Int64) does not set the Seen. Use MailBuilder class to create IMail object.
Public methodPeekMessageByNumberAsync
Gets specified email message from server. This method in contrast to GetMessageByNumber(Int64) does not set the Seen. Use MailBuilder class to create IMail object.
Public methodPeekMessageByUID
Gets specified email message from server. This method in contrast to GetMessageByUID(Int64) does not set the Seen. Use MailBuilder class to create IMail object.
Public methodPeekMessageByUIDAsync
Gets specified email message from server. This method in contrast to GetMessageByUID(Int64) does not set the Seen. Use MailBuilder class to create IMail object.
Public methodPeekSpecificHeadersByNumber(ListInt64, String)
Gets specific headers of the specified email messages from server. Does not set the Seen.
Public methodPeekSpecificHeadersByNumber(Int64, String)
Gets specific headers of the specified email message from server. Does not set the Seen.
Public methodPeekSpecificHeadersByNumberAsync(ListInt64, String)
Gets specific headers of the specified email messages from server. Does not set the Seen.
Public methodPeekSpecificHeadersByNumberAsync(Int64, String)
Gets specific headers of the specified email message from server. Does not set the Seen.
Public methodPeekSpecificHeadersByUID(ListInt64, String)
Gets specific headers of the specified email messages from server. Does not set the Seen.
Public methodPeekSpecificHeadersByUID(Int64, String)
Gets specific headers of the specified email message from server. Does not set the Seen.
Public methodPeekSpecificHeadersByUIDAsync(ListInt64, String)
Gets specific headers of the specified email messages from server. Does not set the Seen.
Public methodPeekSpecificHeadersByUIDAsync(Int64, String)
Gets specific headers of the specified email message from server. Does not set the Seen.
Public methodPeekTextByNumber(MimeTextStructure)
Peeks text data of the specified part using MessageNumber. Fills Text.
Public methodPeekTextByNumber(ListMimeTextStructure)
Peeks text data of the specified part using MessageNumber. Fills Text.
Public methodPeekTextByNumber(MimeTextStructure, Int64)
Peeks text data of the specified part using MessageNumber. Fills Text.
Public methodPeekTextByNumberAsync(MimeTextStructure)
Peeks text data of the specified part using MessageNumber. Fills Text.
Public methodPeekTextByNumberAsync(ListMimeTextStructure)
Peeks text data of the specified part using MessageNumber. Fills Text.
Public methodPeekTextByNumberAsync(MimeTextStructure, Int64)
Peeks text data of the specified part using MessageNumber. Fills Text.
Public methodPeekTextByUID(MimeTextStructure)
Peeks text data of the specified part using UID. Fills Text.
Public methodPeekTextByUID(ListMimeTextStructure)
Peeks text data of the specified part using UID. Fills Text.
Public methodPeekTextByUID(MimeTextStructure, Int64)
Peeks text data of the specified part using UID. Fills Text.
Public methodPeekTextByUIDAsync(MimeTextStructure)
Peeks text data of the specified part using UID. Fills Text.
Public methodPeekTextByUIDAsync(ListMimeTextStructure)
Peeks text data of the specified part using UID. Fills Text.
Public methodPeekTextByUIDAsync(MimeTextStructure, Int64)
Peeks text data of the specified part using UID. Fills Text.
Public methodProxyAuth
Sends PROXYAUTH command. Allows an authorized administrator to proxy into any user's mailbox. PROXYAUTH is not a standard IMAP command and your server may reject it. You can try LoginPLAIN(String, String, String) in such case.
Public methodProxyAuthAsync
Sends PROXYAUTH command. Allows an authorized administrator to proxy into any user's mailbox. PROXYAUTH is not a standard IMAP command and your server may reject it. You can try LoginPLAIN(String, String, String) in such case.
Public methodReceiveResponse
Receives the response starting with a specified request tag.
Public methodReceiveResponseAsync
Receives the response ending with specified request tag.
Public methodRenameFolder(String, String)
Changes the name of a folder (mailbox).
Public methodRenameFolder(FolderInfo, String)
Changes the name of a folder (mailbox).
Public methodRenameFolderAsync(String, String)
Changes the name of a folder (mailbox).
Public methodRenameFolderAsync(FolderInfo, String)
Changes the name of a folder (mailbox).
Public methodCode exampleSearch
Creates new search query.
Public methodSearch(Flag)
Gets UIDS of all messages in the current folder (mailbox) with specified flag sorted from oldest to newest. Equivalent to Search(Expression.HasFlag(flag))
Public methodCode exampleSearch(ICriterion)
Gets UIDS of all messages that match specified search criteria using server-side searching sorted from oldest to newest. Use And(ICriterion), Or(ICriterion, ICriterion) and other Expression methods to create a valid search query. You can also pass SimpleImapQuery to this method.
Public methodCode exampleSearchAsync
Creates new search query.
Public methodSearchAsync(Flag)
Gets UIDS of all messages in the current folder (mailbox) with specified flag sorted from oldest to newest. Equivalent to Search(Expression.HasFlag(flag))
Public methodCode exampleSearchAsync(ICriterion)
Gets UIDS of all messages that match specified search criteria using server-side searching sorted from oldest to newest. Use And(ICriterion), Or(ICriterion, ICriterion) and other Expression methods to create a valid search query. You can also pass SimpleImapQuery to this method.
Public methodSearchFlag Obsolete.
Gets UIDS of all messages in the current folder (mailbox) with specified flag sorted from oldest to newest. Equivalent to Search(Expression.HasFlag(flag))
Public methodSearchNumbers(Flag)
Gets numbers of all messages in the current folder (mailbox) with specified flag sorted from oldest to newest. Equivalent to Search().Where(Expression.HasFlag(flag)).ResultsAs(ResultType.Numbers)
Public methodCode exampleSearchNumbers(ICriterion)
Gets numbers of all messages that match specified criteria sorted from oldest to newest. Use And(ICriterion), Or(ICriterion, ICriterion) and other Expression methods to create a valid search query. You can also pass SimpleImapQuery to this method.
Public methodSelect(String)
Selects specified folder (mailbox) as the current folder so that messages inside can be accessed. Select command will remove the Recent flag since the folder has now been viewed (This is not the same as the Seen IMAP flag).
Public methodSelect(FolderInfo)
Selects specified folder (mailbox) as the current folder so that messages inside can be accessed. Select command will remove the Recent flag since the folder has now been viewed (This is not the same as the Seen IMAP flag).
Public methodSelectAsync(String)
Selects specified folder (mailbox) as the current folder so that messages inside can be accessed. Select command will remove the Recent flag since the folder has now been viewed (This is not the same as the Seen IMAP flag).
Public methodSelectAsync(FolderInfo)
Selects specified folder (mailbox) as the current folder so that messages inside can be accessed. Select command will remove the Recent flag since the folder has now been viewed (This is not the same as the Seen IMAP flag).
Public methodSelectInbox
Selects 'INBOX' as a current folder (mailbox) so that messages inside can be accessed. Select command will remove the Recent flag since the folder has now been viewed (This is not the same as the Seen IMAP flag).
Public methodSelectInboxAsync
Selects 'INBOX' as a current folder (mailbox) so that messages inside can be accessed. Select command will remove the Recent flag since the folder has now been viewed (This is not the same as the Seen IMAP flag).
Public methodSend
Sends specified byte array to the server.
(Inherited from ClientBase.)
Public methodSendAsync
Sends specified byte array to the server.
(Inherited from ClientBase.)
Public methodSendCommand(String)
Sends command and waits for the server response.
Public methodSendCommand(String, Boolean)
Sends command and waits for the server response.
Public methodSendCommandAsync(String)
Sends command and waits for the server response.
Public methodSendCommandAsync(String, Boolean)
Sends command and waits for the server response.
Public methodStartTLS
Sends 'STARTTLS' command and initializes SSL/TLS connection (if required issues CAPABILITY command afterwards). Not all servers support StartTLS. You can check which extensions remote server supports using SupportedExtensions method.
Public methodStartTLSAsync
Sends 'STARTTLS' command and initializes SSL/TLS connection. Not all servers support StartTLS. You can check which extensions remote server supports using SupportedExtensions method.
Public methodStatus(String)
The STATUS command requests the status of the indicated mailbox. It does not change the currently selected mailbox, nor does it affect the state of any messages in the queried mailbox (messages don't lose the Recent) flag. This command MUST NOT be used as a "check for new messages in the selected mailbox" operation (You should rather use FolderStatus and Noop or UIDNext) or Search(Flag)). STATUS command is not guaranteed to be fast in its response.
Public methodStatus(FolderInfo)
The STATUS command requests the status of the indicated mailbox. It does not change the currently selected mailbox, nor does it affect the state of any messages in the queried mailbox (messages don't lose the Recent) flag. This command MUST NOT be used as a "check for new messages in the selected mailbox" operation (You should rather use FolderStatus and Noop or UIDNext) or Search(Flag)). STATUS command is not guaranteed to be fast in its response.
Public methodStatusAsync(String)
The STATUS command requests the status of the indicated mailbox. It does not change the currently selected mailbox, nor does it affect the state of any messages in the queried mailbox (messages don't lose the Recent) flag. This command MUST NOT be used as a "check for new messages in the selected mailbox" operation (You should rather use FolderStatus and Noop or UIDNext) or Search(Flag)). STATUS command is not guaranteed to be fast in its response.
Public methodStatusAsync(FolderInfo)
The STATUS command requests the status of the indicated mailbox. It does not change the currently selected mailbox, nor does it affect the state of any messages in the queried mailbox (messages don't lose the Recent) flag. This command MUST NOT be used as a "check for new messages in the selected mailbox" operation (You should rather use FolderStatus and Noop or UIDNext) or Search(Flag)). STATUS command is not guaranteed to be fast in its response.
Public methodStopIdle
Stops IDLE command started by Idle or Idle(TimeSpan) method. This method is thread-safe.
Public methodSubscribeFolder(String)
Subscribes user to specified folder.
Public methodSubscribeFolder(FolderInfo)
Subscribes user to specified folder.
Public methodSubscribeFolderAsync(String)
Subscribes user to specified folder.
Public methodSubscribeFolderAsync(FolderInfo)
Subscribes user to specified folder.
Public methodSupportedAuthenticationMethods
Lists authentication methods supported by the remote server.
Public methodSupportedExtensions
Lists extensions supported by the remote server (e.g. Sort, XList, UniqueIdPlus)
Public methodSupportedThreadMethods Obsolete.
Lists threading methods supported by the remote server.
Public methodTcpKeepAlive
Turns TCP protocol keep alive (SO_KEEPALIVE) option on.
(Inherited from ClientBase.)
Public methodCode exampleThread(ThreadMethod)
Creates new threading query.
Public methodThread(ThreadMethod, ICriterion)
Gets threaded messages, that match specified search criteria, using server-side threading. Use And(ICriterion), Or(ICriterion, ICriterion) and other Expression methods to create a valid search query.
Public methodCode exampleThreadAsync(ThreadMethod)
Creates new threading query.
Public methodThreadAsync(ThreadMethod, ICriterion)
Gets threaded messages, that match specified search criteria, using server-side threading. Use And(ICriterion), Or(ICriterion, ICriterion) and other Expression methods to create a valid search query.
Public methodThreadNumbers
Gets threaded messages, that match specified search criteria, using server-side threading. Uses Numbers as ResultsAs(ResultType) method parameter. Use And(ICriterion), Or(ICriterion, ICriterion) and other Expression methods to create a valid search query.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUnflagMessageByNumber(ListInt64, Flag)
Removes specified flag from messages.
Public methodUnflagMessageByNumber(Int64, Flag)
Removes specified flag from the message.
Public methodUnflagMessageByNumberAsync(ListInt64, Flag)
Removes specified flag from messages.
Public methodUnflagMessageByNumberAsync(Int64, Flag)
Removes specified flag from the message.
Public methodUnflagMessageByUID(ListInt64, Flag)
Removes specified flag from messages.
Public methodUnflagMessageByUID(Int64, Flag)
Removes specified flag from the message.
Public methodUnflagMessageByUIDAsync(ListInt64, Flag)
Removes specified flag from messages.
Public methodUnflagMessageByUIDAsync(Int64, Flag)
Removes specified flag from the message.
Public methodUnsubscribeFolder(String)
Unsubscribes user from specified folder.
Public methodUnsubscribeFolder(FolderInfo)
Unsubscribes user from specified folder.
Public methodUnsubscribeFolderAsync(String)
Unsubscribes user from specified folder.
Public methodUnsubscribeFolderAsync(FolderInfo)
Unsubscribes user from specified folder.
Public methodUploadMessage(Byte)
Uploads specified email message to the current (mailbox). Uploaded message has Seen set. Internal date of the resulting message is set to the current date and time.
Public methodUploadMessage(IMail)
Uploads specified email message to the current folder (mailbox). Uploaded message has Seen set. Internal date of the resulting message is set to the current date and time.
Public methodUploadMessage(Byte, UploadMessageInfo)
Uploads specified email email message to the current (mailbox).
Public methodUploadMessage(String, IMail)
Uploads message to specified folder (mailbox). Uploaded message has Seen set. Internal date of the resulting message is set to the current date and time.
Public methodUploadMessage(String, Byte)
Uploads message to specified folder (mailbox). Uploaded message has Seen set. Internal date of the resulting message is set to the current date and time.
Public methodUploadMessage(FolderInfo, IMail)
Uploads specified email message to the specified folder (mailbox). Uploaded message has Seen set. Internal date of the resulting message is set to the current date and time.
Public methodUploadMessage(FolderInfo, Byte)
Uploads message to specified folder (mailbox). Uploaded message has Seen set. Internal date of the resulting message is set to the current date and time.
Public methodUploadMessage(IMail, UploadMessageInfo)
Uploads specified email message to the current (mailbox).
Public methodUploadMessage(String, IMail, UploadMessageInfo)
Uploads specified email message to the specified folder (mailbox).
Public methodUploadMessage(String, Byte, UploadMessageInfo)
Uploads message to specified folder (mailbox).
Public methodUploadMessage(FolderInfo, IMail, UploadMessageInfo)
Uploads message to specified folder (mailbox).
Public methodUploadMessage(FolderInfo, Byte, UploadMessageInfo)
Uploads message to specified folder (mailbox).
Public methodUploadMessageAsync(Byte)
Uploads specified email message to the current folder (mailbox). Uploaded message has Seen set. Internal date of the resulting message is set to the current date and time.
Public methodUploadMessageAsync(IMail)
Uploads specified email message to the current folder (mailbox). Uploaded message has Seen set. Internal date of the resulting message is set to the current date and time.
Public methodUploadMessageAsync(Byte, UploadMessageInfo)
Uploads specified email message to the current folder (mailbox).
Public methodUploadMessageAsync(String, IMail)
Uploads message to specified folder (mailbox). Uploaded message has Seen set. Internal date of the resulting message is set to the current date and time.
Public methodUploadMessageAsync(String, Byte)
Uploads message to specified folder (mailbox). Uploaded message has Seen set. Internal date of the resulting message is set to the current date and time.
Public methodUploadMessageAsync(FolderInfo, IMail)
Uploads message to specified folder (mailbox). Uploaded message has Seen set. Internal date of the resulting message is set to the current date and time.
Public methodUploadMessageAsync(FolderInfo, Byte)
Uploads message to specified folder (mailbox). Uploaded message has Seen set. Internal date of the resulting message is set to the current date and time.
Public methodUploadMessageAsync(IMail, UploadMessageInfo)
Uploads specified email message to the current folder (mailbox).
Public methodUploadMessageAsync(String, IMail, UploadMessageInfo)
Uploads message to specified folder (mailbox).
Public methodUploadMessageAsync(String, Byte, UploadMessageInfo)
Uploads message to specified folder (mailbox).
Public methodUploadMessageAsync(FolderInfo, IMail, UploadMessageInfo)
Uploads message to specified folder (mailbox).
Public methodUploadMessageAsync(FolderInfo, Byte, UploadMessageInfo)
Uploads message to specified folder (mailbox).
Public methodUseBestLogin
Logs user in using best method available. When no AUTH capability is found, this method switches to SSL/TLS (StartTLS) and tries again.
Public methodUseBestLoginAsync
Logs user in using best method available. When no AUTH capability is found, this method switches to SSL/TLS (StartTLS) and tries again.
Top
Events
  NameDescription
Public eventServerCertificateValidate
Event which is called for custom server certificate validation.
(Inherited from ClientBase.)
Top
Fields
  NameDescription
Public fieldStatic memberDefaultPort
Default IMAP protocol port (143). If you need to use different port please use port parameter in Connect(String, Int32) or Connect(String, Int32, Boolean) method.
Public fieldStatic memberDefaultSSLPort
Default IMAP protocol over SSL/TLS port (993). If you need to use different port please use port parameter in ConnectSSL(String, Int32) or Connect(String, Int32, Boolean) method.
Top
See Also