The Imap type exposes the following members.

Constructors

  NameDescription
Public methodSupported by the .NET Compact FrameworkImap
Initializes a new instance of the Imap class.

Methods

  NameDescription
Public methodSupported by the .NET Compact FrameworkAbort
Aborts the current operation.
Public methodSupported by the .NET Compact FrameworkBeginConnect(String, AsyncCallback, Object)
Begins asynchronous Connect operation. Connects to the IMAP server.
Public methodSupported by the .NET Compact FrameworkBeginConnect(String, SslMode, AsyncCallback, Object)
Begins asynchronous Connect operation. Connects to the IMAP server. Use a port corresponding to the specified security mode.
Public methodSupported by the .NET Compact FrameworkBeginConnect(String, Int32, AsyncCallback, Object)
Begins asynchronous Connect operation. Connects to the IMAP server.
Public methodSupported by the .NET Compact FrameworkBeginConnect(String, Int32, SslMode, AsyncCallback, Object)
Begins asynchronous Connect operation. Connects to the IMAP server.
Public methodSupported by the .NET Compact FrameworkBeginConnect(String, Int32, TlsParameters, ImapSecurity, AsyncCallback, Object) Obsolete.
Public methodSupported by the .NET Compact FrameworkBeginCopyMessage(Int32, String, AsyncCallback, Object)
Begins asynchronous CopyMessage operation. Copies a message with the specified sequence number to the specified folder.
Public methodSupported by the .NET Compact FrameworkBeginCopyMessage(String, String, AsyncCallback, Object)
Begins asynchronous CopyMessage operation. Copies a message with the specified unique ID to the specified folder.
Public methodSupported by the .NET Compact FrameworkBeginCopyMessage(ImapMessageSet, String, AsyncCallback, Object)
Begins asynchronous CopyMessage operation. Copies messages from the current folder that belong to a specified message set to the specified folder.
Public methodSupported by the .NET Compact FrameworkBeginCreateFolder
Begins asynchronous CreateFolder operation. Creates a folder with the specified name.
Public methodSupported by the .NET Compact FrameworkBeginDeleteFolder
Begins asynchronous DeleteFolder operation. Deletes a folder with the specified name.
Public methodSupported by the .NET Compact FrameworkBeginDeleteMessage(Int32, AsyncCallback, Object)
Begins asynchronous DeleteMessage operation. Marks a message with the specified sequence number as deleted.
Public methodSupported by the .NET Compact FrameworkBeginDeleteMessage(String, AsyncCallback, Object)
Begins asynchronous DeleteMessage operation. Marks a message with the specified unique ID as deleted.
Public methodSupported by the .NET Compact FrameworkBeginDeleteMessage(ImapMessageSet, AsyncCallback, Object)
Begins asynchronous DeleteMessage operation. Marks messages that belong to a specified message set as deleted.
Public methodSupported by the .NET Compact FrameworkBeginDisconnect
Begins asynchronous Disconnect operation. Disconnects from the IMAP server.
Public methodSupported by the .NET Compact FrameworkBeginFolderExists
Begins asynchronous FolderExists operation. Detects whether the specified folder exists on the server. Not all IMAP servers support this!
Public methodSupported by the .NET Compact FrameworkBeginGetFolderInfo
Begins asynchronous GetFolderInfo operation. Returns information about the specified folder without selecting it.
Public methodSupported by the .NET Compact FrameworkBeginGetFolderList
Begins asynchronous GetFolderList operation. Gets the list of subfolders in the specified folder.
Public methodSupported by the .NET Compact FrameworkBeginGetMailMessage(Int32, AsyncCallback, Object)
Begins asynchronous GetMailMessage operation. Downloads the message with the specified sequence number and loads it into an instance of MailMessage.
Public methodSupported by the .NET Compact FrameworkBeginGetMailMessage(String, AsyncCallback, Object)
Begins asynchronous GetMailMessage operation. Downloads the message with the specified unique ID and loads it into an instance of MailMessage.
Public methodSupported by the .NET Compact FrameworkBeginGetMessage(Int32, Stream, AsyncCallback, Object)
Begins asynchronous GetMessage operation. Downloads the message with the specified sequence number and writes its data into a supplied stream.
Public methodSupported by the .NET Compact FrameworkBeginGetMessage(Int32, String, AsyncCallback, Object)
Begins asynchronous GetMessage operation. Downloads the message with the specified sequence number and writes its data into a local file.
Public methodSupported by the .NET Compact FrameworkBeginGetMessage(String, Stream, AsyncCallback, Object)
Begins asynchronous GetMessage operation. Downloads the message with the specified unique ID and writes its data into a supplied stream.
Public methodSupported by the .NET Compact FrameworkBeginGetMessage(String, String, AsyncCallback, Object)
Begins asynchronous GetMessage operation. Downloads the message with the specified unique ID and writes its data into a local file.
Public methodSupported by the .NET Compact FrameworkBeginGetMessage(Int32, Stream, Int64, Int32, AsyncCallback, Object)
Begins asynchronous GetMessage operation. Downloads the specified part of the message with the specified sequence number and writes its data into a supplied stream.
Public methodSupported by the .NET Compact FrameworkBeginGetMessage(Int32, String, Int64, Int32, AsyncCallback, Object)
Begins asynchronous GetMessage operation. Downloads the message with the specified sequence number and writes its data into a local file.
Public methodSupported by the .NET Compact FrameworkBeginGetMessage(String, Stream, Int64, Int32, AsyncCallback, Object)
Begins asynchronous GetMessage operation. Downloads the specified part of the message with the specified unique ID and writes its data into a supplied stream.
Public methodSupported by the .NET Compact FrameworkBeginGetMessage(String, String, Int64, Int32, AsyncCallback, Object)
Begins asynchronous GetMessage operation. Downloads the message with the specified unique ID and writes its data into a local file.
Public methodSupported by the .NET Compact FrameworkBeginGetMessageHeaders(Int32, Stream, AsyncCallback, Object)
Begins asynchronous GetMessageHeaders operation. Downloads the headers of a message with the specified sequence number and writes it into a supplied stream.
Public methodSupported by the .NET Compact FrameworkBeginGetMessageHeaders(String, Stream, AsyncCallback, Object)
Begins asynchronous GetMessageHeaders operation. Downloads the headers of a message with the specified unique ID and writes it into a supplied stream.
Public methodSupported by the .NET Compact FrameworkBeginGetMessageInfo(Int32, ImapListFields, AsyncCallback, Object)
Begins asynchronous GetMessageInfo operation. Gets information about a message with the specified sequence number.
Public methodSupported by the .NET Compact FrameworkBeginGetMessageInfo(String, ImapListFields, AsyncCallback, Object)
Begins asynchronous GetMessageInfo operation. Gets information about a message with the specified unique ID
Public methodSupported by the .NET Compact FrameworkBeginGetMessageList(ImapListFields, AsyncCallback, Object)
Begins asynchronous GetMessageList operation. Gets the list of messages in the current folder.
Public methodSupported by the .NET Compact FrameworkBeginGetMessageList(ImapMessageSet, ImapListFields, AsyncCallback, Object)
Begins asynchronous GetMessageList operation. Gets the list of messages in the current folder that belong to a specified message set.
Public methodSupported by the .NET Compact FrameworkBeginGetMessagePart(Int32, String, AsyncCallback, Object)
Begins asynchronous GetMessagePart operation. Downloads the specified part of the message. Used to download separate attachments. Call GetMessageInfo(String, ImapListFields) with ImapListFields.MessageStructure argument to download the list of sections and access it using GetParts()()()() method.
Public methodSupported by the .NET Compact FrameworkBeginGetMessagePart(String, String, AsyncCallback, Object)
Begins asynchronous GetMessagePart operation. Downloads the specified part of the message. Used to download separate attachments. Call GetMessageInfo(String, ImapListFields) with ImapListFields.MessageStructure argument to download the list of sections and access it using GetParts()()()() method.
Public methodSupported by the .NET Compact FrameworkBeginGetMessagePart(Int32, String, Stream, AsyncCallback, Object)
Begins asynchronous GetMessagePart operation. Downloads the specified part of the message into the specified stream. Used to download separate attachments. Call GetMessageInfo(String, ImapListFields) with ImapListFields.MessageStructure argument to download the list of sections and access it using GetParts()()()() method.
Public methodSupported by the .NET Compact FrameworkBeginGetMessagePart(String, String, Stream, AsyncCallback, Object)
Begins asynchronous GetMessagePart operation. Downloads the specified part of the message into the specified stream. Used to download separate attachments. Call GetMessageInfo(String, ImapListFields) with ImapListFields.MessageStructure argument to download the list of sections and access it using GetParts()()()() method.
Public methodSupported by the .NET Compact FrameworkBeginGetMessages
Begins asynchronous GetMessages operation. Downloads messages in the current folder that belong to a specified message set.
Public methodSupported by the .NET Compact FrameworkBeginGetMimeMessage(Int32, AsyncCallback, Object)
Begins asynchronous GetMimeMessage operation. Downloads the message with the specified sequence number and loads it into an instance of MimeMessage.
Public methodSupported by the .NET Compact FrameworkBeginGetMimeMessage(String, AsyncCallback, Object)
Begins asynchronous GetMimeMessage operation. Downloads the message with the specified unique ID and loads it into an instance of MimeMessage.
Public methodSupported by the .NET Compact FrameworkBeginCheckForUpdates(AsyncCallback, Object)
Begins asynchronous CheckForUpdates operation. Processes server notifications.
Public methodSupported by the .NET Compact FrameworkBeginCheckForUpdates(Int32, AsyncCallback, Object)
Begins asynchronous CheckForUpdates operation. Processes server notifications for the specified amount of time.
Public methodSupported by the .NET Compact FrameworkBeginLogin(GssApiProvider, AsyncCallback, Object)
Begins asynchronous Login operation. Authenticates the user to the IMAP server using the specified GSSAPI provider. Only supported on Windows and partially on Mono.
Public methodSupported by the .NET Compact FrameworkBeginLogin(ImapAuthentication, AsyncCallback, Object)
Begins asynchronous Login operation. Authenticates the user to the IMAP server using the specified authentication method that does not require credentials (NTLM, GSSAPI or EXTERNAL). Only supported on Windows.
Public methodSupported by the .NET Compact FrameworkBeginLogin(String, ImapAuthentication, AsyncCallback, Object)
Begins asynchronous Login operation. Authenticates the user to the IMAP server using an OAuth token.
Public methodSupported by the .NET Compact FrameworkBeginLogin(String, String, AsyncCallback, Object)
Begins asynchronous Login operation. Authenticates the user to the IMAP server using the specified authentication method.
Public methodSupported by the .NET Compact FrameworkBeginLogin(String, String, ImapAuthentication, AsyncCallback, Object)
Begins asynchronous Login operation. Authenticates the user to the IMAP server using the specified authentication method.
Public methodSupported by the .NET Compact FrameworkBeginPurge(AsyncCallback, Object)
Begins asynchronous Purge operation. Permanently removes all messages marked as deleted (with a Deleted flag) from the current folder.
Public methodSupported by the .NET Compact FrameworkBeginPurge(ImapMessageSet, AsyncCallback, Object)
Begins asynchronous Purge operation. Permanently removes all messages marked as deleted (with a Deleted flag) from the current folder.
Public methodSupported by the .NET Compact FrameworkBeginReadResponse
Begins asynchronous ReadResponse operation. Returns the response of the IMAP server to the command.
Public methodSupported by the .NET Compact FrameworkBeginRenameFolder
Begins asynchronous RenameFolder operation. Renames a specified folder to a new name.
Public methodSupported by the .NET Compact FrameworkBeginRequestCheckpoint
Begins asynchronous RequestCheckpoint operation. Requests a checkpoint of the currently selected mailbox. mailbox.
Public methodSupported by the .NET Compact FrameworkBeginSearch(ImapListFields, array<ImapSearchParameter>[]()[][], AsyncCallback, Object)
Begins asynchronous Search operation. Search the current folder for messages that match the specified searching criteria.
Public methodSupported by the .NET Compact FrameworkBeginSearch(ImapMessageSet, ImapListFields, array<ImapSearchParameter>[]()[][], AsyncCallback, Object)
Begins asynchronous Search operation. Search the current folder for messages that match the specified searching criteria.
Public methodSupported by the .NET Compact FrameworkBeginSecure(AsyncCallback, Object)
Begins asynchronous Secure operation. Secures the connection with TLS/SSL using default parameters.
Public methodSupported by the .NET Compact FrameworkBeginSecure(TlsParameters, AsyncCallback, Object) Obsolete.
Public methodSupported by the .NET Compact FrameworkBeginSelectFolder
Begins asynchronous SelectFolder operation. Selects the specified folder so that its messages can be accessed.
Public methodSupported by the .NET Compact FrameworkBeginSendCommand
Begins asynchronous SendCommand operation. Executes a command on the IMAP server.
Public methodSupported by the .NET Compact FrameworkBeginSetMessageFlags(Int32, ImapFlagAction, ImapMessageFlags, AsyncCallback, Object)
Begins asynchronous SetMessageFlags operation. Modifies the flags of a message with the specified sequence number.
Public methodSupported by the .NET Compact FrameworkBeginSetMessageFlags(String, ImapFlagAction, ImapMessageFlags, AsyncCallback, Object)
Begins asynchronous SetMessageFlags operation. Modifies the flags of a message with the specified unique ID.
Public methodSupported by the .NET Compact FrameworkBeginSetMessageFlags(ImapMessageSet, ImapFlagAction, ImapMessageFlags, AsyncCallback, Object)
Begins asynchronous SetMessageFlags operation. Modifies the flags of messages in the current folder that belong to a specified message set.
Public methodSupported by the .NET Compact FrameworkBeginSetMessageFlags(Int32, ImapFlagAction, ImapMessageFlags, array<String>[]()[][], AsyncCallback, Object)
Begins asynchronous SetMessageFlags operation. Modifies the flags of a message with the specified sequence number.
Public methodSupported by the .NET Compact FrameworkBeginSetMessageFlags(String, ImapFlagAction, ImapMessageFlags, array<String>[]()[][], AsyncCallback, Object)
Begins asynchronous SetMessageFlags operation. Modifies the flags of a message with the specified unique ID.
Public methodSupported by the .NET Compact FrameworkBeginSetMessageFlags(ImapMessageSet, ImapFlagAction, ImapMessageFlags, array<String>[]()[][], AsyncCallback, Object)
Begins asynchronous SetMessageFlags operation. Modifies the flags of messages in the current folder that belong to a specified message set.
Public methodSupported by the .NET Compact FrameworkBeginStoreMessage(String, MailMessage, ImapMessageFlags, AsyncCallback, Object)
Begins asynchronous StoreMessage operation. Uploads the message to the specified folder and sets its flags.
Public methodSupported by the .NET Compact FrameworkBeginStoreMessage(String, MimeMessage, ImapMessageFlags, AsyncCallback, Object)
Begins asynchronous StoreMessage operation. Uploads the message to the specified folder and sets its flags.
Public methodSupported by the .NET Compact FrameworkBeginStoreMessage(String, Stream, ImapMessageFlags, AsyncCallback, Object)
Begins asynchronous StoreMessage operation. Uploads the message read from the stream to the specified folder and sets its flags.
Public methodSupported by the .NET Compact FrameworkBeginStoreMessage(String, String, ImapMessageFlags, AsyncCallback, Object)
Begins asynchronous StoreMessage operation. Uploads the message read from a local file and sets its flags.
Public methodSupported by the .NET Compact FrameworkBeginStoreMessage(String, MailMessage, ImapMessageFlags, array<String>[]()[][], AsyncCallback, Object)
Begins asynchronous StoreMessage operation. Uploads the message to the specified folder and sets its flags.
Public methodSupported by the .NET Compact FrameworkBeginStoreMessage(String, MimeMessage, ImapMessageFlags, array<String>[]()[][], AsyncCallback, Object)
Begins asynchronous StoreMessage operation. Uploads the message to the specified folder and sets its flags.
Public methodSupported by the .NET Compact FrameworkBeginStoreMessage(String, Stream, ImapMessageFlags, array<String>[]()[][], AsyncCallback, Object)
Begins asynchronous StoreMessage operation. Uploads the message read from the stream to the specified folder and sets its flags.
Public methodSupported by the .NET Compact FrameworkBeginStoreMessage(String, String, ImapMessageFlags, array<String>[]()[][], AsyncCallback, Object)
Begins asynchronous StoreMessage operation. Uploads the message read from a local file and sets its flags.
Public methodSupported by the .NET Compact FrameworkBeginStoreMessage(String, String, String, String, String, ImapMessageFlags, AsyncCallback, Object)
Begins asynchronous StoreMessage operation. Uploads the message to the specified folder and sets its flags.
Public methodSupported by the .NET Compact FrameworkBeginStoreMessage(String, String, String, String, String, ImapMessageFlags, array<String>[]()[][], AsyncCallback, Object)
Begins asynchronous StoreMessage operation. Uploads the message to the specified folder and sets its flags.
Public methodSupported by the .NET Compact FrameworkBeginStoreRawMessage(String, Stream, ImapMessageFlags, MailDateTime, AsyncCallback, Object)
Begins asynchronous StoreRawMessage operation. Uploads the contents of the stream to the specified folder and sets its flags and date.
Public methodSupported by the .NET Compact FrameworkBeginStoreRawMessage(String, Stream, ImapMessageFlags, MailDateTime, array<String>[]()[][], AsyncCallback, Object)
Begins asynchronous StoreRawMessage operation. Uploads the contents of the stream to the specified folder and sets its flags and date.
Public methodSupported by the .NET Compact FrameworkBeginSubscribe
Begins asynchronous Subscribe operation. Subscribes to a specified folder, adding it to a list of active folders that appear in the folder listings with ImapFolderListMode set to Subscribed.
Public methodSupported by the .NET Compact FrameworkBeginUndeleteMessage(Int32, AsyncCallback, Object)
Begins asynchronous UndeleteMessage operation. Marks a message with the specified sequence number as not deleted.
Public methodSupported by the .NET Compact FrameworkBeginUndeleteMessage(String, AsyncCallback, Object)
Begins asynchronous UndeleteMessage operation. Marks a message with the specified unique ID as not deleted.
Public methodSupported by the .NET Compact FrameworkBeginUndeleteMessage(ImapMessageSet, AsyncCallback, Object)
Begins asynchronous UndeleteMessage operation. Marks messages that belong to a specified message set as not deleted.
Public methodSupported by the .NET Compact FrameworkBeginUnselectFolder(AsyncCallback, Object)
Begins asynchronous UnselectFolder operation. Unselects the currently selected folder. Messages marked as deleted (with a Deleted flag) are not permanently removed. To remove them, use UnselectFolder(Boolean) or Purge()()()() method.
Public methodSupported by the .NET Compact FrameworkBeginUnselectFolder(Boolean, AsyncCallback, Object)
Begins asynchronous UnselectFolder operation. Unselects the currently selected folder and optionally permanently removes all messages marked as deleted (with a Deleted flag) from the current folder.
Public methodSupported by the .NET Compact FrameworkBeginUnsubscribe
Begins asynchronous Unsubscribe operation. Unsubscribes from a specified folder, removing it to a list of active folders that appear in the folder listings with ImapFolderListMode set to Subscribed.
Public methodSupported by the .NET Compact FrameworkConnect(String)
Connects to the IMAP server.
Public methodSupported by the .NET Compact FrameworkConnect(String, SslMode)
Connects to the IMAP server. Use a port corresponding to the specified security mode.
Public methodSupported by the .NET Compact FrameworkConnect(String, Int32)
Connects to the IMAP server.
Public methodSupported by the .NET Compact FrameworkConnect(String, Int32, SslMode)
Connects to the IMAP server.
Public methodSupported by the .NET Compact FrameworkConnect(String, Int32, TlsParameters, ImapSecurity) Obsolete.
Public methodSupported by the .NET Compact FrameworkCopyMessage(Int32, String)
Copies a message with the specified sequence number to the specified folder.
Public methodSupported by the .NET Compact FrameworkCopyMessage(String, String)
Copies a message with the specified unique ID to the specified folder.
Public methodSupported by the .NET Compact FrameworkCopyMessage(ImapMessageSet, String)
Copies messages from the current folder that belong to a specified message set to the specified folder.
Public methodSupported by the .NET Compact FrameworkCreateFolder
Creates a folder with the specified name.
Public methodSupported by the .NET Compact FrameworkDeleteFolder
Deletes a folder with the specified name.
Public methodSupported by the .NET Compact FrameworkDeleteMessage(Int32)
Marks a message with the specified sequence number as deleted.
Public methodSupported by the .NET Compact FrameworkDeleteMessage(String)
Marks a message with the specified unique ID as deleted.
Public methodSupported by the .NET Compact FrameworkDeleteMessage(ImapMessageSet)
Marks messages that belong to a specified message set as deleted.
Public methodSupported by the .NET Compact FrameworkDisconnect
Disconnects from the IMAP server.
Public methodSupported by the .NET Compact FrameworkDispose()()()()
Disposes the Imap object and all the socket objects.
Protected methodSupported by the .NET Compact FrameworkDispose(Boolean)
Releases the unmanaged resources used by the Imap and optionally releases the managed resources.
Public methodSupported by the .NET Compact FrameworkEndConnect
Ends an asynchronous BeginConnect operation.
Public methodSupported by the .NET Compact FrameworkEndCopyMessage
Ends an asynchronous BeginCopyMessage operation.
Public methodSupported by the .NET Compact FrameworkEndCreateFolder
Ends an asynchronous BeginCreateFolder operation.
Public methodSupported by the .NET Compact FrameworkEndDeleteFolder
Ends an asynchronous BeginDeleteFolder operation.
Public methodSupported by the .NET Compact FrameworkEndDeleteMessage
Ends an asynchronous BeginDeleteMessage operation.
Public methodSupported by the .NET Compact FrameworkEndDisconnect
Ends an asynchronous BeginDisconnect operation.
Public methodSupported by the .NET Compact FrameworkEndFolderExists
Ends an asynchronous BeginFolderExists operation.
Public methodSupported by the .NET Compact FrameworkEndGetFolderInfo
Ends an asynchronous BeginGetFolderInfo operation.
Public methodSupported by the .NET Compact FrameworkEndGetFolderList
Ends an asynchronous BeginGetFolderList operation.
Public methodSupported by the .NET Compact FrameworkEndGetMailMessage
Ends an asynchronous BeginGetMailMessage operation.
Public methodSupported by the .NET Compact FrameworkEndGetMessage
Ends an asynchronous BeginGetMessage operation.
Public methodSupported by the .NET Compact FrameworkEndGetMessageHeaders
Ends an asynchronous BeginGetMessageHeaders operation.
Public methodSupported by the .NET Compact FrameworkEndGetMessageInfo
Ends an asynchronous BeginGetMessageInfo operation.
Public methodSupported by the .NET Compact FrameworkEndGetMessageList
Ends an asynchronous BeginGetMessageList operation.
Public methodSupported by the .NET Compact FrameworkEndGetMessagePart
Ends an asynchronous BeginGetMessagePart operation.
Public methodSupported by the .NET Compact FrameworkEndGetMessages
Ends an asynchronous BeginGetMessages operation.
Public methodSupported by the .NET Compact FrameworkEndGetMimeMessage
Ends an asynchronous BeginGetMimeMessage operation.
Public methodSupported by the .NET Compact FrameworkEndCheckForUpdates
Ends an asynchronous BeginCheckForUpdates operation.
Public methodSupported by the .NET Compact FrameworkEndLogin
Ends an asynchronous BeginLogin operation.
Public methodSupported by the .NET Compact FrameworkEndPurge
Ends an asynchronous BeginPurge operation.
Public methodSupported by the .NET Compact FrameworkEndReadResponse
Ends an asynchronous BeginReadResponse operation.
Public methodSupported by the .NET Compact FrameworkEndRenameFolder
Ends an asynchronous BeginRenameFolder operation.
Public methodSupported by the .NET Compact FrameworkEndRequestCheckpoint
Ends an asynchronous BeginRequestCheckpoint operation.
Public methodSupported by the .NET Compact FrameworkEndSearch
Ends an asynchronous BeginSearch operation.
Public methodSupported by the .NET Compact FrameworkEndSecure
Ends an asynchronous BeginSecure operation.
Public methodSupported by the .NET Compact FrameworkEndSelectFolder
Ends an asynchronous BeginSelectFolder operation.
Public methodSupported by the .NET Compact FrameworkEndSendCommand
Ends an asynchronous BeginSendCommand operation.
Public methodSupported by the .NET Compact FrameworkEndSetMessageFlags
Ends an asynchronous BeginSetMessageFlags operation.
Public methodSupported by the .NET Compact FrameworkEndStoreMessage
Ends an asynchronous BeginStoreMessage operation.
Public methodSupported by the .NET Compact FrameworkEndStoreRawMessage
Ends an asynchronous BeginStoreRawMessage operation.
Public methodSupported by the .NET Compact FrameworkEndSubscribe
Ends an asynchronous BeginSubscribe operation.
Public methodSupported by the .NET Compact FrameworkEndUndeleteMessage
Ends an asynchronous BeginUndeleteMessage operation.
Public methodSupported by the .NET Compact FrameworkEndUnselectFolder
Ends an asynchronous BeginUnselectFolder operation.
Public methodSupported by the .NET Compact FrameworkEndUnsubscribe
Ends an asynchronous BeginUnsubscribe operation.
Public methodSupported by the .NET Compact FrameworkEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodSupported by the .NET Compact FrameworkFinalize
Finalizer. Called by garbage collector during object destruction.
(Overrides Object..::..Finalize()()()().)
Public methodSupported by the .NET Compact FrameworkFolderExists
Detects whether the specified folder exists on the server. Not all IMAP servers support this!
Public methodSupported by the .NET Compact FrameworkGetConnectionState
Checks whether the IMAP session is still connected and returns its state.
Public methodSupported by the .NET Compact FrameworkGetFolderInfo
Returns information about the specified folder without selecting it.
Public methodSupported by the .NET Compact FrameworkGetFolderList()()()()
Gets the list of root subfolders.
Public methodSupported by the .NET Compact FrameworkGetFolderList(String)
Gets the list of subfolders in the specified folder.
Public methodSupported by the .NET Compact FrameworkGetFolderList(String, ImapFolderListMode)
Gets the list of subfolders in the specified folder.
Public methodSupported by the .NET Compact FrameworkGetFolderList(String, ImapFolderListMode, Boolean)
Gets the list of subfolders in the specified folder.
Public methodSupported by the .NET Compact FrameworkGetHashCode
Serves as a hash function for a particular type. GetHashCode()()()() is suitable for use in hashing algorithms and data structures like a hash table.
(Inherited from Object.)
Public methodSupported by the .NET Compact FrameworkGetMailMessage(Int32)
Downloads the message with the specified sequence number and loads it into an instance of MailMessage.
Public methodSupported by the .NET Compact FrameworkGetMailMessage(String)
Downloads the message with the specified unique ID and loads it into an instance of MailMessage.
Public methodSupported by the .NET Compact FrameworkGetMessage(Int32, Stream)
Downloads the message with the specified sequence number and writes its data into a supplied stream.
Public methodSupported by the .NET Compact FrameworkGetMessage(Int32, String)
Downloads the message with the specified sequence number and writes its data into a local file.
Public methodSupported by the .NET Compact FrameworkGetMessage(String, Stream)
Downloads the message with the specified unique ID and writes its data into a supplied stream.
Public methodSupported by the .NET Compact FrameworkGetMessage(String, String)
Downloads the message with the specified unique ID and writes its data into a local file.
Public methodSupported by the .NET Compact FrameworkGetMessage(Int32, Stream, Int64, Int32)
Downloads the specified part of the message with the specified sequence number and writes its data into a supplied stream.
Public methodSupported by the .NET Compact FrameworkGetMessage(Int32, String, Int64, Int32)
Downloads the message with the specified sequence number and writes its data into a local file.
Public methodSupported by the .NET Compact FrameworkGetMessage(String, Stream, Int64, Int32)
Downloads the specified part of the message with the specified unique ID and writes its data into a supplied stream.
Public methodSupported by the .NET Compact FrameworkGetMessage(String, String, Int64, Int32)
Downloads the message with the specified unique ID and writes its data into a local file.
Public methodSupported by the .NET Compact FrameworkGetMessageHeaders(Int32, Stream)
Downloads the headers of a message with the specified sequence number and writes it into a supplied stream.
Public methodSupported by the .NET Compact FrameworkGetMessageHeaders(String, Stream)
Downloads the headers of a message with the specified unique ID and writes it into a supplied stream.
Public methodSupported by the .NET Compact FrameworkGetMessageInfo(Int32, ImapListFields)
Gets information about a message with the specified sequence number.
Public methodSupported by the .NET Compact FrameworkGetMessageInfo(String, ImapListFields)
Gets information about a message with the specified unique ID
Public methodSupported by the .NET Compact FrameworkGetMessageList()()()()
Gets the list of messages in the current folder.
Public methodSupported by the .NET Compact FrameworkGetMessageList(ImapListFields)
Gets the list of messages in the current folder.
Public methodSupported by the .NET Compact FrameworkGetMessageList(ImapMessageSet)
Gets the list of messages in the current folder that belong to a specified message set.
Public methodSupported by the .NET Compact FrameworkGetMessageList(ImapMessageSet, ImapListFields)
Gets the list of messages in the current folder that belong to a specified message set.
Public methodSupported by the .NET Compact FrameworkGetMessagePart(Int32, String)
Downloads the specified part of the message. Used to download separate attachments. Call GetMessageInfo(String, ImapListFields) with ImapListFields.MessageStructure argument to download the list of sections and access it using GetParts()()()() method.
Public methodSupported by the .NET Compact FrameworkGetMessagePart(String, String)
Downloads the specified part of the message. Used to download separate attachments. Call GetMessageInfo(String, ImapListFields) with ImapListFields.MessageStructure argument to download the list of sections and access it using GetParts()()()() method.
Public methodSupported by the .NET Compact FrameworkGetMessagePart(Int32, String, Stream)
Downloads the specified part of the message into the specified stream. Used to download separate attachments. Call GetMessageInfo(String, ImapListFields) with ImapListFields.MessageStructure argument to download the list of sections and access it using GetParts()()()() method.
Public methodSupported by the .NET Compact FrameworkGetMessagePart(String, String, Stream)
Downloads the specified part of the message into the specified stream. Used to download separate attachments. Call GetMessageInfo(String, ImapListFields) with ImapListFields.MessageStructure argument to download the list of sections and access it using GetParts()()()() method.
Public methodSupported by the .NET Compact FrameworkGetMessages(ImapMessageSet, Action<(Of <<'(ImapMessage>)>>))
Downloads messages in the current folder that belong to a specified message set.
Public methodSupported by the .NET Compact FrameworkGetMessages(ImapMessageSet, ImapListFields, Action<(Of <<'(ImapMessage>)>>))
Downloads messages in the current folder that belong to a specified message set.
Public methodSupported by the .NET Compact FrameworkGetMimeMessage(Int32)
Downloads the message with the specified sequence number and loads it into an instance of MimeMessage.
Public methodSupported by the .NET Compact FrameworkGetMimeMessage(String)
Downloads the message with the specified unique ID and loads it into an instance of MimeMessage.
Public methodSupported by the .NET Compact FrameworkGetSupportedAuthenticationMethods
Gets the list of supported authentication methods.
Public methodSupported by the .NET Compact FrameworkGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodSupported by the .NET Compact FrameworkCheckConnectionState
Checks whether the IMAP session is still connected. Throws an exception on error.
Public methodSupported by the .NET Compact FrameworkCheckForUpdates()()()()
Processes server notifications.
Public methodSupported by the .NET Compact FrameworkCheckForUpdates(Int32)
Processes server notifications for the specified amount of time.
Public methodSupported by the .NET Compact FrameworkLogin(GssApiProvider)
Authenticates the user to the IMAP server using the specified GSSAPI provider. Only supported on Windows and partially on Mono.
Public methodSupported by the .NET Compact FrameworkLogin(ImapAuthentication)
Authenticates the user to the IMAP server using the specified authentication method that does not require credentials (NTLM, GSSAPI or EXTERNAL). Only supported on Windows.
Public methodSupported by the .NET Compact FrameworkLogin(String, ImapAuthentication)
Authenticates the user to the IMAP server using an OAuth token.
Public methodSupported by the .NET Compact FrameworkLogin(String, String)
Authenticates the user to the IMAP server using the specified authentication method.
Public methodSupported by the .NET Compact FrameworkLogin(String, String, ImapAuthentication)
Authenticates the user to the IMAP server using the specified authentication method.
Protected methodSupported by the .NET Compact FrameworkMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodSupported by the .NET Compact FrameworkOnCommandSent
Raises the CommandSent event.
Protected methodSupported by the .NET Compact FrameworkOnNotification
Raises the Notification event.
Protected methodSupported by the .NET Compact FrameworkOnResponseRead
Raises the ResponseRead event.
Protected methodSupported by the .NET Compact FrameworkOnStateChanged
Raises the StateChanged event.
Protected methodSupported by the .NET Compact FrameworkOnTlsDebug Obsolete.
Protected methodSupported by the .NET Compact FrameworkOnTransferProgress
Raises the TransferProgress event.
Public methodSupported by the .NET Compact FrameworkPurge()()()()
Permanently removes all messages marked as deleted (with a Deleted flag) from the current folder.
Public methodSupported by the .NET Compact FrameworkPurge(ImapMessageSet)
Permanently removes all messages marked as deleted (with a Deleted flag) from the current folder.
Public methodSupported by the .NET Compact FrameworkReadResponse
Returns the response of the IMAP server to the command.
Public methodSupported by the .NET Compact FrameworkRenameFolder
Renames a specified folder to a new name.
Public methodSupported by the .NET Compact FrameworkRequestCheckpoint
Requests a checkpoint of the currently selected mailbox. mailbox.
Public methodSupported by the .NET Compact FrameworkSearch(array<ImapSearchParameter>[]()[][])
Search the current folder for messages that match the specified searching criteria.
Public methodSupported by the .NET Compact FrameworkSearch(ImapListFields, array<ImapSearchParameter>[]()[][])
Search the current folder for messages that match the specified searching criteria.
Public methodSupported by the .NET Compact FrameworkSearch(ImapMessageSet, ImapListFields, array<ImapSearchParameter>[]()[][])
Search the current folder for messages that match the specified searching criteria.
Public methodSupported by the .NET Compact FrameworkSecure()()()()
Secures the connection with TLS/SSL using default parameters.
Public methodSupported by the .NET Compact FrameworkSecure(TlsParameters) Obsolete.
Public methodSupported by the .NET Compact FrameworkSelectFolder(String)
Selects the specified folder so that its messages can be accessed.
Public methodSupported by the .NET Compact FrameworkSelectFolder(String, Boolean)
Selects the specified folder so that its messages can be accessed.
Public methodSupported by the .NET Compact FrameworkSendCommand
Executes a command on the IMAP server.
Public methodSupported by the .NET Compact FrameworkSetMessageFlags(Int32, ImapFlagAction, ImapMessageFlags)
Modifies the flags of a message with the specified sequence number.
Public methodSupported by the .NET Compact FrameworkSetMessageFlags(String, ImapFlagAction, ImapMessageFlags)
Modifies the flags of a message with the specified unique ID.
Public methodSupported by the .NET Compact FrameworkSetMessageFlags(ImapMessageSet, ImapFlagAction, ImapMessageFlags)
Modifies the flags of messages in the current folder that belong to a specified message set.
Public methodSupported by the .NET Compact FrameworkSetMessageFlags(Int32, ImapFlagAction, ImapMessageFlags, array<String>[]()[][])
Modifies the flags of a message with the specified sequence number.
Public methodSupported by the .NET Compact FrameworkSetMessageFlags(String, ImapFlagAction, ImapMessageFlags, array<String>[]()[][])
Modifies the flags of a message with the specified unique ID.
Public methodSupported by the .NET Compact FrameworkSetMessageFlags(ImapMessageSet, ImapFlagAction, ImapMessageFlags, array<String>[]()[][])
Modifies the flags of messages in the current folder that belong to a specified message set.
Public methodSupported by the .NET Compact FrameworkSetSocketFactory
Sets the socket factory to be used to create communication sockets.
Public methodSupported by the .NET Compact FrameworkStoreMessage(String, MailMessage)
Uploads the message to the specified folder.
Public methodSupported by the .NET Compact FrameworkStoreMessage(String, MimeMessage)
Uploads the message to the specified folder.
Public methodSupported by the .NET Compact FrameworkStoreMessage(String, Stream)
Uploads the message read from the stream to the specified folder and sets its flags.
Public methodSupported by the .NET Compact FrameworkStoreMessage(String, String)
Uploads the message read from a local file and sets its flags.
Public methodSupported by the .NET Compact FrameworkStoreMessage(String, MailMessage, ImapMessageFlags)
Uploads the message to the specified folder and sets its flags.
Public methodSupported by the .NET Compact FrameworkStoreMessage(String, MimeMessage, ImapMessageFlags)
Uploads the message to the specified folder and sets its flags.
Public methodSupported by the .NET Compact FrameworkStoreMessage(String, Stream, ImapMessageFlags)
Uploads the message read from the stream to the specified folder and sets its flags.
Public methodSupported by the .NET Compact FrameworkStoreMessage(String, String, ImapMessageFlags)
Uploads the message read from a local file and sets its flags.
Public methodSupported by the .NET Compact FrameworkStoreMessage(String, MailMessage, ImapMessageFlags, array<String>[]()[][])
Uploads the message to the specified folder and sets its flags.
Public methodSupported by the .NET Compact FrameworkStoreMessage(String, MimeMessage, ImapMessageFlags, array<String>[]()[][])
Uploads the message to the specified folder and sets its flags.
Public methodSupported by the .NET Compact FrameworkStoreMessage(String, Stream, ImapMessageFlags, array<String>[]()[][])
Uploads the message read from the stream to the specified folder and sets its flags.
Public methodSupported by the .NET Compact FrameworkStoreMessage(String, String, ImapMessageFlags, array<String>[]()[][])
Uploads the message read from a local file and sets its flags.
Public methodSupported by the .NET Compact FrameworkStoreMessage(String, String, String, String, String)
Uploads the message to the specified folder and sets its flags.
Public methodSupported by the .NET Compact FrameworkStoreMessage(String, String, String, String, String, ImapMessageFlags)
Uploads the message to the specified folder and sets its flags.
Public methodSupported by the .NET Compact FrameworkStoreMessage(String, String, String, String, String, ImapMessageFlags, array<String>[]()[][])
Uploads the message to the specified folder and sets its flags.
Public methodSupported by the .NET Compact FrameworkStoreRawMessage(String, Stream, ImapMessageFlags, MailDateTime)
Uploads the contents of the stream to the specified folder and sets its flags and date.
Public methodSupported by the .NET Compact FrameworkStoreRawMessage(String, Stream, ImapMessageFlags, MailDateTime, array<String>[]()[][])
Uploads the contents of the stream to the specified folder and sets its flags and date.
Public methodSupported by the .NET Compact FrameworkSubscribe
Subscribes to a specified folder, adding it to a list of active folders that appear in the folder listings with ImapFolderListMode set to Subscribed.
Public methodSupported by the .NET Compact FrameworkToString
Returns a string representation of this object.
(Overrides Object..::..ToString()()()().)
Public methodSupported by the .NET Compact FrameworkUndeleteMessage()()()()
Marks all messages as not deleted.
Public methodSupported by the .NET Compact FrameworkUndeleteMessage(Int32)
Marks a message with the specified sequence number as not deleted.
Public methodSupported by the .NET Compact FrameworkUndeleteMessage(String)
Marks a message with the specified unique ID as not deleted.
Public methodSupported by the .NET Compact FrameworkUndeleteMessage(ImapMessageSet)
Marks messages that belong to a specified message set as not deleted.
Public methodSupported by the .NET Compact FrameworkUnselectFolder()()()()
Unselects the currently selected folder. Messages marked as deleted (with a Deleted flag) are not permanently removed. To remove them, use UnselectFolder(Boolean) or Purge()()()() method.
Public methodSupported by the .NET Compact FrameworkUnselectFolder(Boolean)
Unselects the currently selected folder and optionally permanently removes all messages marked as deleted (with a Deleted flag) from the current folder.
Public methodSupported by the .NET Compact FrameworkUnsubscribe
Unsubscribes from a specified folder, removing it to a list of active folders that appear in the folder listings with ImapFolderListMode set to Subscribed.

Fields

  NameDescription
Public fieldStatic memberSupported by the .NET Compact FrameworkDefaultImplicitSslPort
Default IMAP/Implicit SSL port (993).
Public fieldStatic memberSupported by the .NET Compact FrameworkDefaultPort
Default IMAP port (143).

Properties

  NameDescription
Public propertySupported by the .NET Compact FrameworkAbortTimeout
Gets or sets the length of time before the abort operation times out.
Public propertySupported by the .NET Compact FrameworkClearTextLoginDisabled
Returns a value indicating whether the clear text login is disabled. Either use one of the more secure authentication methods, or upgrade to TLS/SSL if you wish to perform clear text login.
Public propertySupported by the .NET Compact FrameworkCurrentFolder
Gets the ImapFolder object that represents the currently selected folder, or null if no folder is selected.
Public propertySupported by the .NET Compact FrameworkEnabledExtensions
Gets or sets the bit field specifying the enabled extensions.
Public propertySupported by the .NET Compact FrameworkEncoding
Gets or sets the Encoding to use to encode and decode command parameters and server responses.
Protected propertySupported by the .NET Compact FrameworkInstanceId
Gets instance ID (intended for logging purposes).
(Inherited from NetworkSession.)
Public propertySupported by the .NET Compact FrameworkIsAuthenticated
Returns a value indicating whether the session is authenticated.
(Overrides NetworkSession..::..IsAuthenticated.)
Public propertySupported by the .NET Compact FrameworkIsBusy
Gets a value indicating whether there is any operation (method) in progress.
Public propertySupported by the .NET Compact FrameworkIsConnected
Gets a value indicating whether the session is connected.
(Overrides NetworkSession..::..IsConnected.)
Public propertySupported by the .NET Compact FrameworkIsSecured
Gets the value indicating whether the control connection is secured.
Public propertySupported by the .NET Compact FrameworkLocalEndPoint
Gets the local client EndPoint.
Public propertySupported by the .NET Compact FrameworkLogWriter
Gets or sets the LogWriter used by this object.
(Inherited from NetworkSession.)
Public propertySupported by the .NET Compact FrameworkOptions Obsolete.
Public propertySupported by the .NET Compact FrameworkProxy
Gets or sets the network proxy to use to access a remote server.
Public propertySupported by the .NET Compact FrameworkRemoteEndPoint
Gets the remote server EndPoint.
Public propertySupported by the .NET Compact FrameworkServerName
Gets the server name, if available.
(Inherited from NetworkSession.)
Public propertySupported by the .NET Compact FrameworkServerPort
Gets the server port, if available.
(Inherited from NetworkSession.)
Public propertySupported by the .NET Compact FrameworkSettings
Gets or sets IMAP object settings.
Public propertySupported by the .NET Compact FrameworkState
Gets the current state of the Imap object.
Public propertySupported by the .NET Compact FrameworkSupportedExtensions
Gets the bit field specifying the extensions supported by the server.
Public propertySupported by the .NET Compact FrameworkTimeout
Gets or sets the length of time in milliseconds before the operation times out (specify -1 or 0 to indicate that the request does not time out).
Public propertySupported by the .NET Compact FrameworkTlsDebugLevel Obsolete.
Public propertySupported by the .NET Compact FrameworkTlsSocket
Returns the TLS/SSL socket of secured control connection.
Public propertySupported by the .NET Compact FrameworkUserName
Gets the authenticated user name, if available.
(Inherited from NetworkSession.)
Public propertyStatic memberSupported by the .NET Compact FrameworkVersion
Returns the version of the SMTP component.

Events

  NameDescription
Public eventSupported by the .NET Compact FrameworkCommandSent
Occurs when a command is send to the server.
Public eventSupported by the .NET Compact FrameworkNotification
Occurs when a notification is received from the server. By sending notifications, the server informs connected clients about specific actions performed by either this client, by another connected session, or the server itself.
Public eventSupported by the .NET Compact FrameworkResponseRead
Occurs when a response is received from the server.
Public eventSupported by the .NET Compact FrameworkStateChanged
Occurs when the state of the Imap object is changed.
Public eventSupported by the .NET Compact FrameworkTlsDebug Obsolete.
Public eventSupported by the .NET Compact FrameworkTransferProgress
Occurs when data is send or received.
Public eventSupported by the .NET Compact FrameworkValidatingCertificate
Occurs when a server certificate needs to be validated.

See Also