| Name | Description |
---|
 | Authenticate | Overloaded. Authenticates the specified user to the remote IMAP server with the specified credentials. |
 | AuthenticateAsync | Overloaded. Asynchronously authenticates the user to the remote IMAP server using the specified authentication method that does not require credentials.
Only NTLM, GSSAPI and External methods are supported. |
 | Cancel | Cancels the current operation. |
 | CheckForUpdates | Overloaded. Sends NOOP or IDLE command to the server and checks for IMAP server notifications in the specified amount of time. |
 | CheckForUpdatesAsync | Overloaded. Asynchronously sends NOOP or IDLE command to the server and checks for IMAP server notifications in the specified amount of time. |
 | CheckSession | Sends a small packet to the server to check whether the session is still alive. An exception is thrown if any error is found. |
 | Connect | Overloaded. Connects to an IMAP4 server on the standard IMAP4 port (143). |
 | ConnectAsync | Overloaded. Asynchronously connects to an IMAP4 server on the standard IMAP4 port (143). |
 | CopyMessage | Overloaded. Copies messages from the current folder that belong to a specified message set to the specified folder. |
 | CopyMessageAsync | Overloaded. Asynchronously copies messages from the current folder that belong to a specified message set to the specified folder. |
 | CreateFolder | Creates a folder with the specified name. |
 | CreateFolderAsync | Overloaded. Asynchronously creates a new folder in the IMAP4 account. |
 | DeleteFolder | Deletes a folder with the specified name. |
 | DeleteFolderAsync | Overloaded. Asynchronously deletes a folder with the specified name. |
 | DeleteMessage | Overloaded. Marks messages that belong to a specified message set as deleted. |
 | DeleteMessageAsync | Overloaded. Asynchronously marks the specified messages in the currently selected mailbox as deleted. To permanently delete messages, use the method Purge. |
 | Deselect | Overloaded. Unselects the currently selected folder.
Messages marked as deleted (with a Deleted flag) are not permanently removed.
To remove them, use Deselect or Purge method. |
 | DeselectAsync | Overloaded. Asynchronously deselects the currently selected folder and optionally removes all messages marked as deleted
(by using DeleteMessage) from the current folder. After calling this method, WorkingFolder will be null. |
 | Disconnect | Disconnects from the IMAP server and returns exit message from the server. |
 | DisconnectAsync | Overloaded. Asynchronously disconnects from the IMAP server and returns exit message from the server. |
 | Dispose | Disposes the Imap object and all the socket objects. |
 | DownloadImapMessage | Overloaded. Gets information about a message with the specified sequence number. |
 | DownloadImapMessageAsync | Overloaded. Asynchronously gets information about a message with the specified sequence number. |
 | DownloadMailMessage | Overloaded. Downloads the message with the specified sequence number
and loads it into an instance of MailMessage. |
 | DownloadMailMessageAsync | Overloaded. Asynchronously downloads the message with the specified sequence number
and loads it into an instance of MailMessage. |
 | DownloadMessage | Overloaded. Downloads the message with the specified sequence number
and writes its data into a supplied stream. |
 | DownloadMessageAsync | Overloaded. Asynchronously downloads the message with the specified inbox index number and writes its data into a supplied stream. |
 | DownloadMessageHeaders | Overloaded. Downloads the headers of a message with the specified sequence number
and writes it into a supplied stream. |
 | DownloadMessageHeadersAsync | Overloaded. Asynchronously downloads the headers of a message with the specified sequence number
and writes it into a supplied stream. |
 | DownloadMessagePart | Overloaded. Downloads the specified part of the message. Used to download separate attachments.
Call DownloadImapMessage with ImapEnvelopeParts.MessageStructure argument
to download the list of sections and access it using GetParts method. |
 | DownloadMessagePartAsync | Overloaded. Asynchronously downloads the specified part of the message into the specified stream. Used to download separate attachments.
Call DownloadImapMessage with MessageStructure argument
to download the list of sections and access it using GetParts method. |
 | DownloadMimeMessage | Overloaded. Downloads the message with the specified sequence number
and loads it into an instance of MimeMessage. |
 | DownloadMimeMessageAsync | Overloaded. Asynchronously downloads the message with the specified sequence number
and loads it into an instance of MimeMessage. |
 | Flag | Overloaded. Modifies the flags of messages in the current folder that belong to a specified message set. |
 | FlagAsync | Overloaded. Asynchronously modifies the flags of messages in the current folder that belong to a specified message set. |
 | FolderExists | Detects whether the specified folder exists on the server. Not all IMAP servers support this! |
 | FolderExistsAsync | Overloaded. Asynchronously determines whether the specified folder exists on the server. |
 | GetFolderInfo | Returns information about the specified folder without selecting it. |
 | GetFolderInfoAsync | Overloaded. Asynchronously gets folder information without selecting it. Only TotalMessages,
RecentMessages, NotSeenMessages,
UidValidity, and UidNext properties
of the Folder class are available after calling this method. |
 | GetSessionStatus | Checks whether the IMAP session is still connected and returns its state. |
 | GetSupportedAuthenticationMethods | Gets the list of supported authentication methods. |
 | ListFolders | Overloaded. Gets the list of root subfolders. |
 | ListFoldersAsync | Overloaded. Asynchronously gets the list of sub-mailboxes in the specified folder. |
 | ListMessages | Overloaded. Gets the list of messages in the current folder. |
 | ListMessagesAsync | Overloaded. Asynchronously searches the current folder for messages that match the specified searching criteria and
fetches message envelopes, bodies, headers, flags, attributes, and other message-related information from the server. |
 | MoveMessage | Overloaded. Moves a message with the specified sequence number from the current mailbox to another mailbox. |
 | MoveMessageAsync | Overloaded. Asynchronously moves the specified messages from the currently selected mailbox to the specified mailbox. |
 | Purge | Overloaded. Permanently removes all messages marked as deleted (with a Deleted flag)
from the current folder. |
 | PurgeAsync | Overloaded. Asynchronously permanently removes all the messages marked as deleted in the specified list from the currently selected mailbox. |
 | ReadResponse | Returns the corresponding response of the IMAP server to the command that was sent using the SendCommand method. |
 | ReadResponseAsync | Overloaded. Asynchronously returns the response of the IMAP server to the command. |
 | RenameFolder | Renames a specified folder to a new name. |
 | RenameFolderAsync | Overloaded. Asynchronously renames a specified folder to a new name. |
 | Select | Overloaded. Selects the specified folder so that its messages can be accessed. |
 | SelectAsync | Overloaded. Asynchronously selects the specified folder so that its messages can be accessed. |
 | SendCommand | Sends user-defined command to the server. |
 | SendCommandAsync | Overloaded. Asynchronously executes a command on the IMAP server. |
 | SetMailboxCheckpoint | Requests a checkpoint of the currently selected mailbox.
mailbox. |
 | SetMailboxCheckpointAsync | Overloaded. Asynchronously requests a checkpoint of the currently selected mailbox. |
 | SetSocketFactory | Sets the socket factory to be used to create communication sockets. |
 | Subscribe | Subscribes to a specified folder, adding it to a list of active folders that
appear in the folder listings with subscribedOnly parameter set to true . |
 | SubscribeAsync | Overloaded. Asynchronously subscribes to the specified folder of the IMAP4 account, adding it to a list of active folders that
appear in the folder listings with subscribedOnly parameter set
to true . |
 | ToString | Overridden. Returns a string representation of this object. |
 | UndeleteMessage | Overloaded. Marks all messages as not deleted. |
 | UndeleteMessageAsync | Overloaded. Asynchronously marks messages that belong to a specified message set as not deleted. It has no effect on messages were purged using the Purge method. |
 | Unsubscribe | Unsubscribes from a specified folder, removing it to a list of active folders that
appear in the folder listings with subscribedOnly parameter set to true . |
 | UnsubscribeAsync | Overloaded. Asynchronously unsubscribes the previously subscribed folder (using the Subscribe method) of the IMAP4 account, removing it from the list of active folders that
appear in the folder listings with subscribedOnly parameter set
to true . |
 | UpgradeConnection | Secures the connection with TLS/SSL using default parameters. |
 | UpgradeConnectionAsync | Overloaded. Asynchronously secures the connection with TLS/SSL using default parameters. |
 | UploadMessage | Overloaded. Uploads the message to the specified folder. |
 | UploadMessageAsync | Overloaded. Asynchronously uploads the message read from a local file and sets its flags. |
 | UploadRawMessage | Overloaded. Uploads the contents of the stream to the specified folder and sets its flags and date. |
 | UploadRawMessageAsync | Overloaded. Asynchronously uploads a mail message inside the specified data stream to the specified folder, assigns the specified date and flags to this message. |