The Imap type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() |
Append(String, EmailMessage) |
Appends an email message to the specified mailbox.
|
![]() |
Append(String, IEnumerator) |
Appends an emails messages to the specified mailbox.
|
![]() |
Connect |
Establishes a connection to the IMAP server specified in
the Imap constructor.
|
![]() |
CopyMessage(String, String, Boolean) |
Copies specified message to specified folder.
|
![]() |
CopyMessage(String, String, String, Boolean) |
Copies specified messages to specified folder.
|
![]() |
CreateMailbox |
Creates a new mailbox on IMAP server.
|
![]() |
CreateObjRef |
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from MarshalByRefObject.) |
![]() |
DeleteMailbox |
Deletes a mailbox on the IMAP server.
|
![]() |
DeleteMessage(Int32) |
Marks a message for deletion from the current mailbox.
|
![]() |
DeleteMessage(Int32, Int32) |
Marks a range of messages for deletion from the current mailbox.
|
![]() |
Disconnect |
Disconnects from IMAP server.
|
![]() |
Dispose()()()() |
Releases all resources used by the Component.
(Inherited from Component.) |
![]() |
Dispose(Boolean) |
Clean up any resources being used.
(Overrides Component..::..Dispose(Boolean).) |
![]() |
Equals | (Inherited from Object.) |
![]() |
Expunge |
Deletes messages marked for deletion from current mailbox.
|
![]() |
Finalize |
Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection.
(Inherited from Component.) |
![]() |
FireCommandSentEvent |
Fires CommandSentEvent event.
|
![]() |
FireConnectedEvent |
Fires ConnectedEvent event.
|
![]() |
FireDataReceivedEvent |
Fires DataReceivedEvent event.
|
![]() |
FireDisconnectedEvent |
Fires DisconnectedEvent event.
|
![]() |
FireMessageRetrievedEvent |
Fires MessageRetrievedEvent event.
|
![]() |
GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) |
![]() |
GetLifetimeService |
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject.) |
![]() |
GetMailboxes | Obsolete.
Gets all mailboxes found for account.
|
![]() |
GetMessage |
Retrieves a message from the current mailbox.
|
![]() |
GetMessageCount |
Gets the number of messages in the current mailbox.
|
![]() |
GetMessageHeader |
Gets the named header for a message.
|
![]() |
GetMessageHeaders |
Gets message headers for a message.
|
![]() |
GetMessageID |
Gets messages matching specified SEARCH expression.
|
![]() |
GetMessages()()()() |
Gets all available messages in current mailbox from IMAP server.
|
![]() |
GetMessages(array<Int32>[]()[][]) |
Gets messages for specified message ID's.
|
![]() |
GetMessages(String) |
Gets messages matching specified SEARCH expression.
|
![]() |
GetMessagesWithFlags()()()() |
Gets all available messages with flags in current mailbox from IMAP server.
All messages are stored in memory resulting in potential memory issues if
not enough memory is available. To avoid potential memory issue you may retrieve messages
individually using the
![]() getMessageWithFlags(int index) |
![]() |
GetMessagesWithFlags(array<Int32>[]()[][]) |
Gets messages for specified message ID's with flags.
|
![]() |
GetMessagesWithFlags(String) |
Gets messages with flags matching specified SEARCH expression.
|
![]() |
GetMessageWithFlags |
Gets message from current mailbox along with message flags. Message
number is one based, meaning that message numbers range from 1 to
![]() getMessageCount() |
![]() |
GetNewMessageID |
Gets an int[] representing the IDs of new messages
in current mailbox from IMAP server.
|
![]() |
GetNewMessages |
Gets all new messages in current mailbox from IMAP server.
|
![]() |
GetOutputStream |
Gets the output stream of the socket connection.
|
![]() |
GetService | (Inherited from Component.) |
![]() |
GetType |
Gets the Type of the current instance.
(Inherited from Object.) |
![]() |
InitializeLifetimeService |
Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject.) |
![]() |
Interrupted |
Interrupts the current process.
|
![]() |
IsConnected |
Tests Imap connection.
|
![]() |
IssueCommand |
Issues a command to IMAP server and reads response.
|
![]() |
ListMailboxes()()()() |
Gets all mailboxes for account.
|
![]() |
ListMailboxes(String, String) |
Gets all mailboxes for account.
|
![]() |
MemberwiseClone()()()() |
Creates a shallow copy of the current Object.
(Inherited from Object.) |
![]() |
MemberwiseClone(Boolean) |
Creates a shallow copy of the current MarshalByRefObject object.
(Inherited from MarshalByRefObject.) |
![]() |
MoveMessage(Int32, String) |
Moves specified message to specified folder.
|
![]() |
MoveMessage(Int32, Int32, String) |
Moves specified messages to specified folder.
|
![]() |
RenameMailbox |
Renames a mailbox on the IMAP server.
|
![]() |
SelectMailbox |
Selects the mailbox on IMAP server.
|
![]() |
Store(Int32, Int32, Int32) |
Sets message flags for a single message in an IMAP mailbox.
|
![]() |
Store(Int32, Int32, Int32, Int32) |
Sets message flags for a range of messages in an IMAP mailbox.
|
![]() |
ToString |
Returns a String containing the name of the Component, if any. This method should not be overridden.
(Inherited from Component.) |