Internet Message Access Protocol Class Methods  
 
Class Description
CImapClient Constructor which initializes the current instance of the class.
~CImapClient Destructor which releases resources allocated by the class.
Method Description
AttachHandle Attach the specified client handle to this instance of the class.
AttachThread Attach the specified client handle to another thread.
Cancel Cancel the current blocking operation.
CheckMailbox Check the current mailbox for new messages.
CloseMessage Close the current message.
Command Send a command to the server.
Connect Connect to the specified server.
CopyMessage Copy a message from the current mailbox to another mailbox.
CreateMailbox Create a new mailbox on the server.
CreateMessage Create a new message in the specified mailbox.
CreateSecurityCredentials Allocate a structure to establish client security credentials.
DecodeMailboxName Decode a UTF-7 encoded mailbox name using the specified code page.
DeleteMailbox Delete the specified mailbox from the server.
DeleteMessage Delete the specified message from the mailbox.
DeleteSecurityCredentials Delete the specified client security credentials.
DetachHandle Detach the handle for the current instance of this class.
DisableEvents Disable the event notification mechanism.
DisableTrace Disable logging of network function calls.
Disconnect Disconnect from the current server.
EnableEvents Enable the client event notification mechanism.
EnableTrace Enable logging of network function calls to a file.
EncodeMailboxName Encode a mailbox name using modified UTF-7 encoding.
EnumMessages Enumerate the messages in the current mailbox.
EnumMessageUids Populates an array of message sequence IDs and their corresponding message UIDs.
ExamineMailbox Select the specified mailbox in read-only mode.
ExpungeMailbox Remove messages that have been marked for deletion from the current mailbox.
FreezeEvents Suspend and resume event handling by the client.
GetCapability Return a string which identifies the capabilities of the server.
GetCurrentMailbox Return the name of the currently selected mailbox.
GetDeletedMessages Return the messages that have been marked for deletion.
GetErrorString Return a description for the specified error code.
GetFirstMailbox Return the first mailbox according to specified criteria.
GetHandle Return the client handle used by this instance of the class.
GetHeaderValue Return the value of the specified header field.
GetIdleThreadId Return the ID of the thread created to monitor the client session.
GetLastError Return the last error code.
GetMailboxDelimiter Get the path delimiter for the specified mailbox hierarchy.
GetMailboxSize Return the size of the specified mailbox.
GetMailboxStatus Return the status of the specified mailbox.
GetMailboxUID Return the unique identifier for the specified mailbox.
GetMessage Retrieve the specified message from the server.
GetMessageCount Return the number of messages available in the mailbox.
GetMessageFlags Return the status flags for the specified message.
GetMessageHeaders Retrieve the specified message header from the server.
GetMessageId Return the message ID string for the specified message.
GetMessageParts Return the number of MIME message parts in the specified message.
GetMessageSender Return the address of the message sender.
GetMessageSize Return the size of the specified message.
GetMessageUID Return the unique identifier for the specified message.
GetNewMessages Return a list of the new messages in the current mailbox.
GetNextMailbox Return the next mailbox name on the server.
GetResultCode Return the result code from the previous command.
GetResultString Return the result string from the previous command.
GetSecurityInformation Return security information about the current client connection.
GetStatus Return the current status of the client.
GetTimeout Return the number of seconds until an operation times out.
GetTransferStatus Return data transfer statistics.
GetUnseenMessages Return a list of messages from the current mailbox that have not been read.
Idle Enables mailbox status monitoring for the client session.
ImapEventProc Callback method that processes events generated by the client.
ImapIdleProc Callback function that receives update notifications from the server.
IsBlocking Determine if the client is blocked, waiting for information.
IsConnected Determine if the client is connected to the server.
IsInitialized Determine if the class has been successfully initialized.
IsReadable Determine if data can be read from the server.
IsWritable Determine if data can be written to the server.
Login Authenticates the specified user.
OpenMessage Open the specified message for reading on the server.
Read Read data returned by the server.
RegisterEvent Register an event handler for the specified event.
RenameMailbox Rename the specified mailbox.
ReselectMailbox Reselect the current mailbox and return updated status information.
SearchMailbox Search the mailbox according to specified criteria.
SelectMailbox Select the specified mailbox in read-write mode.
SetLastError Set the last error code for the current thread.
SetMessageFlags Set one or more status flags for the specified message.
SetTimeout Set the number of seconds until an operation times out.
ShowError Display a message box with a description of the specified error.
StoreMessage Store the contents of a message to the specified file.
SubscribeMailbox Subscribe to the specified mailbox.
UndeleteMessage Undelete the specified message from the current mailbox.
UnselectMailbox Unselect the current mailbox and expunge any deleted messages.
UnsubscribeMailbox Unsubscribe from the specified mailbox.
Write Write data to the server.