Pop3Client

Inheritance: java.lang.Object, com.aspose.email.EmailClient

public final class Pop3Client extends EmailClient

Allows applications to access and manipulate messages by using the Post Office Protocol Version 3 (POP3).

Constructors

Constructor Description
Pop3Client() Initializes a new instance of the Pop3Client class
Pop3Client(String host) Initializes a new instance of the Pop3Client class
Pop3Client(String host, short securityOptions) Initializes a new instance of the Pop3Client class
Pop3Client(String host, int port) Initializes a new instance of the Pop3Client class
Pop3Client(String host, int port, int securityOptions) Initializes a new instance of the Pop3Client class
Pop3Client(String host, String username, String password) Initializes a new instance of the Pop3Client class
Pop3Client(String host, String username, String password, int securityOptions) Initializes a new instance of the Pop3Client class
Pop3Client(String host, int port, String username, String password) Initializes a new instance of the Pop3Client class
Pop3Client(String host, int port, String username, String password, int securityOptions) Initializes a new instance of the Pop3Client class
Pop3Client(String host, int port, String username, String authInfo, boolean useOAuth, int securityOptions) Initializes a new instance of the Pop3Client class
Pop3Client(String host, int port, String username, ITokenProvider tokenProvider, int securityOptions) Initializes a new instance of the Pop3Client class
Pop3Client(String host, int port, String username, String password, System.Net.Security.RemoteCertificateValidationCallback userCertificateValidationCallback) Initializes a new instance of the Pop3Client class
Pop3Client(String host, int port, String username, String password, System.Net.Security.RemoteCertificateValidationCallback userCertificateValidationCallback, int securityOptions) Initializes a new instance of the Pop3Client class

Methods

Method Description
beginCommitDeletes() Begins to commit the deletions.
beginCommitDeletes(IConnection connection) Begins to commit the deletions.
beginCommitDeletes(IConnection connection, System.AsyncCallback callback) Begins to commit the deletions.
beginCommitDeletes(IConnection connection, System.AsyncCallback callback, Object state) Begins to commit the deletions.
beginCommitDeletes(System.AsyncCallback callback) Begins to commit the deletions.
beginCommitDeletes(System.AsyncCallback callback, Object state) Begins to commit the deletions.
beginDeleteMessage(IConnection connection, int sequenceNumber) Begins DeleteMessage operation asynchronously
beginDeleteMessage(IConnection connection, int sequenceNumber, System.AsyncCallback callback) Begins DeleteMessage operation asynchronously
beginDeleteMessage(IConnection connection, int sequenceNumber, System.AsyncCallback callback, Object state) Begins DeleteMessage operation asynchronously
beginDeleteMessage(IConnection connection, String uniqueId) Begins DeleteMessage operation asynchronously
beginDeleteMessage(IConnection connection, String uniqueId, System.AsyncCallback callback) Begins DeleteMessage operation asynchronously
beginDeleteMessage(IConnection connection, String uniqueId, System.AsyncCallback callback, Object state) Begins DeleteMessage operation asynchronously
beginDeleteMessage(int sequenceNumber) Begins DeleteMessage operation asynchronously
beginDeleteMessage(int sequenceNumber, System.AsyncCallback callback) Begins DeleteMessage operation asynchronously
beginDeleteMessage(int sequenceNumber, System.AsyncCallback callback, Object state) Begins DeleteMessage operation asynchronously
beginDeleteMessage(String uniqueId) Begins DeleteMessage operation asynchronously
beginDeleteMessage(String uniqueId, System.AsyncCallback callback) Begins DeleteMessage operation asynchronously
beginDeleteMessage(String uniqueId, System.AsyncCallback callback, Object state) Begins DeleteMessage operation asynchronously
beginDeleteMessages() Begins delete all messages asynchronously
beginDeleteMessages(IConnection connection) Begins delete all messages asynchronously
beginDeleteMessages(IConnection connection, System.AsyncCallback callback) Begins delete all messages asynchronously
beginDeleteMessages(IConnection connection, System.AsyncCallback callback, Object state) Begins delete all messages asynchronously
beginDeleteMessages(System.AsyncCallback callback) Begins delete all messages asynchronously
beginDeleteMessages(System.AsyncCallback callback, Object state) Begins delete all messages asynchronously
beginFetchMessage(IConnection connection, int sequenceNumber) Begins FetchMessage operation asynchronously
beginFetchMessage(IConnection connection, int sequenceNumber, System.AsyncCallback callback) Begins FetchMessage operation asynchronously
beginFetchMessage(IConnection connection, int sequenceNumber, System.AsyncCallback callback, Object state) Begins FetchMessage operation asynchronously
beginFetchMessage(IConnection connection, String uniqueId) Begins FetchMessage operation asynchronously
beginFetchMessage(IConnection connection, String uniqueId, System.AsyncCallback callback) Begins FetchMessage operation asynchronously
beginFetchMessage(IConnection connection, String uniqueId, System.AsyncCallback callback, Object state) Begins FetchMessage operation asynchronously
beginFetchMessage(int sequenceNumber) Begins FetchMessage operation asynchronously
beginFetchMessage(int sequenceNumber, System.AsyncCallback callback) Begins FetchMessage operation asynchronously
beginFetchMessage(int sequenceNumber, System.AsyncCallback callback, Object state) Begins FetchMessage operation asynchronously
beginFetchMessage(String uniqueId) Begins FetchMessage operation asynchronously
beginFetchMessage(String uniqueId, System.AsyncCallback callback) Begins FetchMessage operation asynchronously
beginFetchMessage(String uniqueId, System.AsyncCallback callback, Object state) Begins FetchMessage operation asynchronously
beginFetchMessagesBySequences(IConnection connection, Iterable sequenceNumbers) Begins FetchMessages operation asynchronously
beginFetchMessagesBySequences(IConnection connection, Iterable sequenceNumbers, System.AsyncCallback callback) Begins FetchMessages operation asynchronously
beginFetchMessagesBySequences(IConnection connection, Iterable sequenceNumbers, System.AsyncCallback callback, Object state) Begins FetchMessages operation asynchronously
beginFetchMessagesBySequences(Iterable sequenceNumbers) Begins FetchMessages operation asynchronously
beginFetchMessagesBySequences(Iterable sequenceNumbers, System.AsyncCallback callback) Begins FetchMessages operation asynchronously
beginFetchMessagesBySequences(Iterable sequenceNumbers, System.AsyncCallback callback, Object state) Begins FetchMessages operation asynchronously
beginFetchMessagesByUids(IConnection connection, Iterable uids) Begins FetchMessages operation asynchronously
beginFetchMessagesByUids(IConnection connection, Iterable uids, System.AsyncCallback callback) Begins FetchMessages operation asynchronously
beginFetchMessagesByUids(IConnection connection, Iterable uids, System.AsyncCallback callback, Object state) Begins FetchMessages operation asynchronously
beginFetchMessagesByUids(Iterable uids) Begins FetchMessages operation asynchronously
beginFetchMessagesByUids(Iterable uids, System.AsyncCallback callback) Begins FetchMessages operation asynchronously
beginFetchMessagesByUids(Iterable uids, System.AsyncCallback callback, Object state) Begins FetchMessages operation asynchronously
beginGetMailboxInfo() Begins to get the mailbox status info
beginGetMailboxInfo(IConnection connection) Begins to get the mailbox status info
beginGetMailboxInfo(IConnection connection, boolean closeTransaction, System.AsyncCallback callback, Object state) Begins to get the mailbox status info
beginGetMailboxInfo(IConnection connection, System.AsyncCallback callback) Begins to get the mailbox status info
beginGetMailboxInfo(IConnection connection, System.AsyncCallback callback, Object state) Begins to get the mailbox status info
beginGetMailboxInfo(System.AsyncCallback callback) Begins to get the mailbox status info
beginGetMailboxInfo(System.AsyncCallback callback, Object state) Begins to get the mailbox status info
beginGetMailboxSize() Begins GetMailboxSize operation asynchronously
beginGetMailboxSize(IConnection connection) Begins GetMailboxSize operation asynchronously
beginGetMailboxSize(IConnection connection, System.AsyncCallback callback) Begins GetMailboxSize operation asynchronously
beginGetMailboxSize(IConnection connection, System.AsyncCallback callback, Object state) Begins GetMailboxSize operation asynchronously
beginGetMailboxSize(System.AsyncCallback callback) Begins GetMailboxSize operation asynchronously
beginGetMailboxSize(System.AsyncCallback callback, Object state) Begins GetMailboxSize operation asynchronously
beginGetMessageCount() Begins GetMessageCount operation asynchronously
beginGetMessageCount(boolean closeTransaction) Begins GetMessageCount operation asynchronously
beginGetMessageCount(boolean closeTransaction, System.AsyncCallback callback) Begins GetMessageCount operation asynchronously
beginGetMessageCount(boolean closeTransaction, System.AsyncCallback callback, Object state) Begins GetMessageCount operation asynchronously
beginGetMessageCount(IConnection connection) Begins GetMessageCount operation asynchronously
beginGetMessageCount(IConnection connection, boolean closeTransaction) Begins GetMessageCount operation asynchronously
beginGetMessageCount(IConnection connection, boolean closeTransaction, System.AsyncCallback callback) Begins GetMessageCount operation asynchronously
beginGetMessageCount(IConnection connection, boolean closeTransaction, System.AsyncCallback callback, Object state) Begins GetMessageCount operation asynchronously
beginGetMessageCount(IConnection connection, System.AsyncCallback callback) Begins GetMessageCount operation asynchronously
beginGetMessageCount(IConnection connection, System.AsyncCallback callback, Object state) Begins GetMessageCount operation asynchronously
beginGetMessageCount(System.AsyncCallback callback) Begins GetMessageCount operation asynchronously
beginGetMessageCount(System.AsyncCallback callback, Object state) Begins GetMessageCount operation asynchronously
beginGetMessageHeaders(IConnection connection, int sequenceNumber) Begins getting message headers
beginGetMessageHeaders(IConnection connection, int sequenceNumber, System.AsyncCallback callback) Begins getting message headers
beginGetMessageHeaders(IConnection connection, int sequenceNumber, System.AsyncCallback callback, Object state) Begins getting message headers
beginGetMessageHeaders(IConnection connection, String uniqueId) Begins getting message headers
beginGetMessageHeaders(IConnection connection, String uniqueId, System.AsyncCallback callback) Begins getting message headers
beginGetMessageHeaders(IConnection connection, String uniqueId, System.AsyncCallback callback, Object state) Begins getting message headers
beginGetMessageHeaders(int sequenceNumber) Begins getting message headers
beginGetMessageHeaders(int sequenceNumber, System.AsyncCallback callback) Begins getting message headers
beginGetMessageHeaders(int sequenceNumber, System.AsyncCallback callback, Object state) Begins getting message headers
beginGetMessageHeaders(String uniqueId) Begins getting message headers
beginGetMessageHeaders(String uniqueId, System.AsyncCallback callback) Begins getting message headers
beginGetMessageHeaders(String uniqueId, System.AsyncCallback callback, Object state) Begins getting message headers
beginGetMessageInfo(IConnection connection, int sequenceNumber) Begins to get the information for that message
beginGetMessageInfo(IConnection connection, int sequenceNumber, System.AsyncCallback callback) Begins to get the information for that message
beginGetMessageInfo(IConnection connection, int sequenceNumber, System.AsyncCallback callback, Object state) Begins to get the information for that message
beginGetMessageInfo(IConnection connection, int sequenceNumber, int fields) Begins to get the information for that message
beginGetMessageInfo(IConnection connection, int sequenceNumber, int fields, System.AsyncCallback callback) Begins to get the information for that message
beginGetMessageInfo(IConnection connection, int sequenceNumber, int fields, System.AsyncCallback callback, Object state) Begins to get the information for that message
beginGetMessageInfo(IConnection connection, String uniqueId) Begins to get the information for that message
beginGetMessageInfo(IConnection connection, String uniqueId, System.AsyncCallback callback) Begins to get the information for that message
beginGetMessageInfo(IConnection connection, String uniqueId, System.AsyncCallback callback, Object state) Begins to get the information for that message
beginGetMessageInfo(IConnection connection, String uniqueId, int fields) Begins to get the information for that message
beginGetMessageInfo(IConnection connection, String uniqueId, int fields, System.AsyncCallback callback) Begins to get the information for that message
beginGetMessageInfo(IConnection connection, String uniqueId, int fields, System.AsyncCallback callback, Object state) Begins to get the information for that message
beginGetMessageInfo(int sequenceNumber) Begins to get the information for that message
beginGetMessageInfo(int sequenceNumber, System.AsyncCallback callback) Begins to get the information for that message
beginGetMessageInfo(int sequenceNumber, System.AsyncCallback callback, Object state) Begins to get the information for that message
beginGetMessageInfo(int sequenceNumber, int fields) Begins to get the information for that message
beginGetMessageInfo(int sequenceNumber, int fields, System.AsyncCallback callback) Begins to get the information for that message
beginGetMessageInfo(int sequenceNumber, int fields, System.AsyncCallback callback, Object state) Begins to get the information for that message
beginGetMessageInfo(String uniqueId) Begins to get the information for that message
beginGetMessageInfo(String uniqueId, System.AsyncCallback callback) Begins to get the information for that message
beginGetMessageInfo(String uniqueId, System.AsyncCallback callback, Object state) Begins to get the information for that message
beginGetMessageInfo(String uniqueId, int fields) Begins to get the information for that message
beginGetMessageInfo(String uniqueId, int fields, System.AsyncCallback callback) Begins to get the information for that message
beginGetMessageInfo(String uniqueId, int fields, System.AsyncCallback callback, Object state) Begins to get the information for that message
beginGetMessageSize(IConnection connection, int sequenceNumber) Begins GetMessageSize operation asynchronously
beginGetMessageSize(IConnection connection, int sequenceNumber, System.AsyncCallback callback) Begins GetMessageSize operation asynchronously
beginGetMessageSize(IConnection connection, int sequenceNumber, System.AsyncCallback callback, Object state) Begins GetMessageSize operation asynchronously
beginGetMessageSize(IConnection connection, String uniqueId) Begins GetMessageSize operation asynchronously
beginGetMessageSize(IConnection connection, String uniqueId, System.AsyncCallback callback) Begins GetMessageSize operation asynchronously
beginGetMessageSize(IConnection connection, String uniqueId, System.AsyncCallback callback, Object state) Begins GetMessageSize operation asynchronously
beginGetMessageSize(int sequenceNumber) Begins GetMessageSize operation asynchronously
beginGetMessageSize(int sequenceNumber, System.AsyncCallback callback) Begins GetMessageSize operation asynchronously
beginGetMessageSize(int sequenceNumber, System.AsyncCallback callback, Object state) Begins GetMessageSize operation asynchronously
beginGetMessageSize(String uniqueId) Begins GetMessageSize operation asynchronously
beginGetMessageSize(String uniqueId, System.AsyncCallback callback) Begins GetMessageSize operation asynchronously
beginGetMessageSize(String uniqueId, System.AsyncCallback callback, Object state) Begins GetMessageSize operation asynchronously
beginGetMessageUniqueId(IConnection connection, int sequenceNumber) Begins to get the message unique id
beginGetMessageUniqueId(IConnection connection, int sequenceNumber, System.AsyncCallback callback) Begins to get the message unique id
beginGetMessageUniqueId(IConnection connection, int sequenceNumber, System.AsyncCallback callback, Object state) Begins to get the message unique id
beginGetMessageUniqueId(int sequenceNumber) Begins to get the message unique id
beginGetMessageUniqueId(int sequenceNumber, System.AsyncCallback callback) Begins to get the message unique id
beginGetMessageUniqueId(int sequenceNumber, System.AsyncCallback callback, Object state) Begins to get the message unique id
beginListMessages() Begins ListMessages operation asynchronously
beginListMessages(IConnection connection) Begins ListMessages operation asynchronously
beginListMessages(IConnection connection, MailQuery query) Begins ListMessage operation asynchronously
beginListMessages(IConnection connection, MailQuery query, System.AsyncCallback callback) Begins ListMessage operation asynchronously
beginListMessages(IConnection connection, MailQuery query, System.AsyncCallback callback, Object state) Begins ListMessage operation asynchronously
beginListMessages(IConnection connection, System.AsyncCallback callback) Begins ListMessages operation asynchronously
beginListMessages(IConnection connection, System.AsyncCallback callback, Object state) Begins ListMessages operation asynchronously
beginListMessages(IConnection connection, int fields, boolean closeTransaction, MailQuery query, System.AsyncCallback callback, Object state) Begins ListMessage operation asynchronously
beginListMessages(MailQuery query) Begins ListMessage operation asynchronously
beginListMessages(MailQuery query, System.AsyncCallback callback) Begins ListMessage operation asynchronously
beginListMessages(MailQuery query, System.AsyncCallback callback, Object state) Begins ListMessage operation asynchronously
beginListMessages(System.AsyncCallback callback) Begins ListMessages operation asynchronously
beginListMessages(System.AsyncCallback callback, Object state) Begins ListMessages operation asynchronously
beginLoadMessageInfoList(IConnection connection, Iterable messageInfoList) Begins load list of Pop3MessageInfo asynchronously
beginLoadMessageInfoList(IConnection connection, Iterable messageInfoList, System.AsyncCallback callback) Begins load list of Pop3MessageInfo asynchronously
beginLoadMessageInfoList(IConnection connection, Iterable messageInfoList, System.AsyncCallback callback, Object state) Begins load list of Pop3MessageInfo asynchronously
beginLoadMessageInfoList(Iterable messageInfoList) Begins load list of Pop3MessageInfo asynchronously
beginLoadMessageInfoList(Iterable messageInfoList, System.AsyncCallback callback) Begins load list of Pop3MessageInfo asynchronously
beginLoadMessageInfoList(Iterable messageInfoList, System.AsyncCallback callback, Object state) Begins load list of Pop3MessageInfo asynchronously
beginLoadMessageInfoListBySequence(IConnection connection, Iterable sequenceNumberList) Begins load list of Pop3MessageInfo asynchronously
beginLoadMessageInfoListBySequence(IConnection connection, Iterable sequenceNumberList, System.AsyncCallback callback) Begins load list of Pop3MessageInfo asynchronously
beginLoadMessageInfoListBySequence(IConnection connection, Iterable sequenceNumberList, System.AsyncCallback callback, Object state) Begins load list of Pop3MessageInfo asynchronously
beginLoadMessageInfoListBySequence(Iterable sequenceNumberList) Begins load list of Pop3MessageInfo asynchronously
beginLoadMessageInfoListBySequence(Iterable sequenceNumberList, System.AsyncCallback callback) Begins load list of Pop3MessageInfo asynchronously
beginLoadMessageInfoListBySequence(Iterable sequenceNumberList, System.AsyncCallback callback, Object state) Begins load list of Pop3MessageInfo asynchronously
beginNoop() Begins ‘No operation’ command.
beginNoop(IConnection connection) Begins ‘No operation’ command.
beginNoop(IConnection connection, System.AsyncCallback callback) Begins ‘No operation’ command.
beginNoop(IConnection connection, System.AsyncCallback callback, Object state) Begins ‘No operation’ command.
beginNoop(System.AsyncCallback callback) Begins ‘No operation’ command.
beginNoop(System.AsyncCallback callback, Object state) Begins ‘No operation’ command.
beginSaveMessage(IConnection connection, int sequenceNumber, OutputStream outputStream) Begins SaveMessage operation asynchronously
beginSaveMessage(IConnection connection, int sequenceNumber, OutputStream outputStream, System.AsyncCallback callback) Begins SaveMessage operation asynchronously
beginSaveMessage(IConnection connection, int sequenceNumber, OutputStream outputStream, System.AsyncCallback callback, Object state) Begins SaveMessage operation asynchronously
beginSaveMessage(IConnection connection, String uniqueId, OutputStream outputStream) Begins SaveMessage operation asynchronously
beginSaveMessage(IConnection connection, String uniqueId, OutputStream outputStream, System.AsyncCallback callback) Begins SaveMessage operation asynchronously
beginSaveMessage(IConnection connection, String uniqueId, OutputStream outputStream, System.AsyncCallback callback, Object state) Begins SaveMessage operation asynchronously
beginSaveMessage(int sequenceNumber, OutputStream outputStream) Begins SaveMessage operation asynchronously
beginSaveMessage(int sequenceNumber, OutputStream outputStream, System.AsyncCallback callback) Begins SaveMessage operation asynchronously
beginSaveMessage(int sequenceNumber, OutputStream outputStream, System.AsyncCallback callback, Object state) Begins SaveMessage operation asynchronously
beginSaveMessage(String uniqueId, OutputStream outputStream) Begins SaveMessage operation asynchronously
beginSaveMessage(String uniqueId, OutputStream outputStream, System.AsyncCallback callback) Begins SaveMessage operation asynchronously
beginSaveMessage(String uniqueId, OutputStream outputStream, System.AsyncCallback callback, Object state) Begins SaveMessage operation asynchronously
beginUndeleteMessages() Begins undeletes the messages.
beginUndeleteMessages(IConnection connection) Begins undeletes the messages.
beginUndeleteMessages(IConnection connection, System.AsyncCallback callback) Begins undeletes the messages.
beginUndeleteMessages(IConnection connection, System.AsyncCallback callback, Object state) Begins undeletes the messages.
beginUndeleteMessages(System.AsyncCallback callback) Begins undeletes the messages.
beginUndeleteMessages(System.AsyncCallback callback, Object state) Begins undeletes the messages.
beginValidateCredentials() Begins to execute credentials validation
beginValidateCredentials(IConnection connection) Begins to execute credentials validation
beginValidateCredentials(IConnection connection, System.AsyncCallback callback) Begins to execute credentials validation
beginValidateCredentials(IConnection connection, System.AsyncCallback callback, Object state) Begins to execute credentials validation
beginValidateCredentials(System.AsyncCallback callback) Begins to execute credentials validation
beginValidateCredentials(System.AsyncCallback callback, Object state) Begins to execute credentials validation
bindIPEndPoint(BindIPEndPointHandler handler) Associates a Socket with a local endpoint.
cancelAsyncOperation(System.IAsyncResult asyncResult) Cancels asynchronous operation.
close()
commitDeletes() Commit the deletions
commitDeletes(IConnection connection) Commit the deletions
commitDeletes(int sleep) Commit the deletions
connectIPEndPoint(BindIPEndPointHandler handler) Associates a Socket with a remote endpoint.
createConnection() Creates new independent connection for operations not linked to threads (not default connection).
createConnection(boolean createAsDefaultConnection) Creates new (default or independent) connection for operations.
deleteMessage(IConnection connection, int sequenceNumber) Deletes the message
deleteMessage(IConnection connection, String uniqueId) Deletes the message
deleteMessage(int sequenceNumber) Deletes the message
deleteMessage(String uniqueId) Deletes the message
deleteMessages() Deletes all messages
deleteMessages(IConnection connection) Deletes all messages
dispose() Finalizes all operations with a server.
endCommitDeletes(System.IAsyncResult asyncResult) Waits for the asynchronous operation to complete.
endDeleteMessage(System.IAsyncResult asyncResult) Waits for the asynchronous operation to complete.
endDeleteMessages(System.IAsyncResult asyncResult) Waits for the asynchronous operation to complete.
endFetchMessage(System.IAsyncResult asyncResult) Waits for the asynchronous operation to complete.
endFetchMessages(System.IAsyncResult asyncResult) Waits for the asynchronous operation to complete.
endGetMailboxInfo(System.IAsyncResult asyncResult) Waits for the asynchronous operation to complete.
endGetMailboxSize(System.IAsyncResult asyncResult) Waits for the asynchronous operation to complete.
endGetMessageCount(System.IAsyncResult asyncResult) Waits for the asynchronous operation to complete.
endGetMessageHeaders(System.IAsyncResult asyncResult) Waits for the asynchronous operation to complete.
endGetMessageInfo(System.IAsyncResult asyncResult) Waits for the asynchronous operation to complete.
endGetMessageSize(System.IAsyncResult asyncResult) Waits for the asynchronous operation to complete.
endGetMessageUniqueId(System.IAsyncResult asyncResult) Waits for the asynchronous operation to complete.
endListMessages(System.IAsyncResult asyncResult) Waits for the asynchronous operation to complete.
endLoadMessageInfoList(System.IAsyncResult asyncResult) Waits for the asynchronous operation to complete.
endNoop(System.IAsyncResult asyncResult) Waits for the asynchronous operation to complete.
endSaveMessage(System.IAsyncResult asyncResult) Waits for the asynchronous operation to complete.
endUndeleteMessages(System.IAsyncResult asyncResult) Waits for the asynchronous operation to complete.
endValidateCredentials(System.IAsyncResult asyncResult) Waits for the pending asynchronous operation to complete.
equals(Object arg0)
fetchMessage(IConnection connection, int sequenceNumber) Fetches the message
fetchMessage(IConnection connection, String uniqueId) Fetches the message
fetchMessage(int sequenceNumber) Fetches the message
fetchMessage(String uniqueId) Fetches the message
fetchMessagesBySequences(IConnection connection, Iterable sequenceNumbers) Fetches the messages
fetchMessagesBySequences(Iterable sequenceNumbers) Fetches the messages
fetchMessagesByUids(IConnection connection, Iterable uids) Fetches the messages
fetchMessagesByUids(Iterable uids) Fetches the messages
getAccessToken() Gets or sets the access token.
getAllowedAuthentication() Gets or sets enumeration of allowed by user authentication types
getCapabilities() Get Capabilities.
getClass()
getClientCertificates() Contains collection of clients certificates
getConnectionAsgmtMode() Gets or sets value which defines mode of connection allocation in multiple threads environment There are folowing connection types: - Main connection is connection created and disposed together with mail client.It can’t be created or disposed manually.
getConnectionCheckupPeriod() Period of connection checking up in milliseconds.
getConnectionState() Gets the current state of the connection.
getConnectionsQuantity() Gets or sets quantity of connections in multy-connection mode
getCurrentConnection() Gets current connection according to ConnectionAsgmtMode option
getDefaultPort() Gets default port for client
getEnableLogger() Gets or sets value which allows enable/disable logger
getGreetingTimeout() Gets or sets the greeting timeout that is used when establishing a connection.
getHost() Gets or sets the host name.
getLogFileName() Gets or sets log file name
getMailboxInfo() Gets the mailbox status info
getMailboxInfo(boolean closeTransaction) Gets the mailbox status info
getMailboxInfo(IConnection connection) Gets the mailbox status info
getMailboxInfo(IConnection connection, boolean closeTransaction) Gets the mailbox status info
getMailboxSize() Gets the size of the mailbox
getMailboxSize(IConnection connection) Gets the size of the mailbox
getMessageCount() Gets the message count
getMessageCount(boolean closeTransaction) Gets the message count
getMessageCount(IConnection connection) Gets the message count
getMessageCount(IConnection connection, boolean closeTransaction) Gets the message count
getMessageHeaders(IConnection connection, int sequenceNumber) Gets the message headers
getMessageHeaders(IConnection connection, String uniqueId) Gets the message headers
getMessageHeaders(int sequenceNumber) Gets the message headers
getMessageHeaders(String uniqueId) Gets the message headers
getMessageInfo(IConnection connection, int sequenceNumber) Gets the information for that message
getMessageInfo(IConnection connection, int sequenceNumber, int fields) Gets the information for that message
getMessageInfo(IConnection connection, String uniqueId) Gets the information for that message
getMessageInfo(IConnection connection, String uniqueId, int fields) Gets the information for that message
getMessageInfo(int sequenceNumber) Gets the information for that message
getMessageInfo(int sequenceNumber, int fields) Gets the information for that message
getMessageInfo(String uniqueId) Gets the information for that message
getMessageInfo(String uniqueId, int fields) Gets the information for that message
getMessageSize(IConnection connection, int sequenceNumber) Gets the size of the message
getMessageSize(IConnection connection, String uniqueId) Gets the size of the message
getMessageSize(int sequenceNumber) Gets the size of the message
getMessageSize(String uniqueId) Gets the size of the message
getMessageUniqueId(IConnection connection, int sequenceNumber) Gets the message unique id
getMessageUniqueId(int sequenceNumber) Gets the message unique id
getPassword() Gets or sets the password.
getPort() Gets or sets the port.
getProxy() Gets or sets proxy for the client
getSecurityOptions() Security mode for a mail client
getSupportedAuthentication() Gets enumeration of supported by server authentication types
getSupportedEncryption() Defines the versions of SSL/TLS encryption protocols to be used.
getTimeout() Gets or sets the timeout for mail operations
getTokenProvider() Gets or sets TokenProvider allowing to retrieve access token.
getUseAuthentication() Indicates whether authentication is used.
getUseDateInLogFileName() Gets or sets value which indicates if date has to be used in log file name.
getUseDefaultCredentials() Gets or sets a Boolean value that controls whether the DefaultCredentials are sent with requests.
getUseMultiConnection() Gets or sets value which indicates if client has to use multiple connections for heavy loaded operations.
getUsePipelining() Gets or sets object which indicates whether the pipelining mode is enabled.
getUsername() Gets or sets the username.
hashCode()
listMessages() Lists the messages.
listMessages(boolean closeTransaction) Lists the messages.
listMessages(IConnection connection) Lists the messages.
listMessages(IConnection connection, boolean closeTransaction) Lists the messages.
listMessages(IConnection connection, MailQuery query) Lists the messages.
listMessages(IConnection connection, int fields) Lists the messages.
listMessages(IConnection connection, int fields, boolean closeTransaction, MailQuery query) Lists the messages.
listMessages(MailQuery query) Lists the messages.
listMessages(int fields) Lists the messages.
listMessages(int fields, boolean closeTransaction, MailQuery query) Lists the messages.
listMessagesBySequences(IConnection connection, Iterable sequenceNumberLst) Lists the messages.
listMessagesBySequences(Iterable sequenceNumberLst) Lists the messages.
listMessagesByUids(IConnection connection, Iterable uniqueIdLst) Lists the messages.
listMessagesByUids(Iterable uniqueIdLst) Lists the messages.
loadMessageInfoList(IConnection connection, Iterable messageInfoList) Loads list of Pop3MessageInfo
loadMessageInfoList(Iterable messageInfoList) Loads list of Pop3MessageInfo
loadMessageInfoListBySequence(IConnection connection, Iterable sequenceNumberList) Loads list of Pop3MessageInfo
loadMessageInfoListBySequence(Iterable sequenceNumberList) Loads list of Pop3MessageInfo
noop() ‘No operation’ command
noop(IConnection connection) ‘No operation’ command
notify()
notifyAll()
resetLogSettings() Resets logging settings to default.
saveMessage(IConnection connection, int sequenceNumber, OutputStream outputStream) Fetches and save the message as a stream
saveMessage(IConnection connection, int sequenceNumber, String fileName) Fetches and save the message into a file
saveMessage(IConnection connection, String uniqueId, OutputStream outputStream) Fetches and save the message as a stream
saveMessage(IConnection connection, String uniqueId, String fileName) Fetches and save the message into a file
saveMessage(int sequenceNumber, OutputStream outputStream) Fetches and save the message as a stream
saveMessage(int sequenceNumber, String fileName) Fetches and save the message into a file
saveMessage(String uniqueId, OutputStream outputStream) Fetches and save the message as a stream
saveMessage(String uniqueId, String fileName) Fetches and save the message into a file
setAccessToken(String value) Gets or sets the access token.
setAllowedAuthentication(long value) Gets or sets enumeration of allowed by user authentication types
setConnectionAsgmtMode(int value) Gets or sets value which defines mode of connection allocation in multiple threads environment There are folowing connection types: - Main connection is connection created and disposed together with mail client.It can’t be created or disposed manually.
setConnectionCheckupPeriod(int value) Period of connection checking up in milliseconds.
setConnectionsQuantity(int value) Gets or sets quantity of connections in multy-connection mode
setEnableLogger(boolean value) Gets or sets value which allows enable/disable logger
setGreetingTimeout(int value) Gets or sets the greeting timeout that is used when establishing a connection.
setHost(String value) Gets or sets the host name.
setLogFileName(String value) Gets or sets log file name
setPassword(String value) Gets or sets the password.
setPort(int value) Gets or sets the port.
setProxy(Proxy value) Gets or sets proxy for the client
setSecurityOptions(int value) Security mode for a mail client
setSocketsLayerVersion2(boolean value) Sets value indicating whether Sockets Layer version 2 is used.
setSocketsLayerVersion2DisableSSLCertificateValidation(boolean value) Disable SSL certificate validation for Sockets Layer version 2
setSocketsLayerVersion2SSLSocketFactory(SSLSocketFactory value) Set SSL Socket Factory for Sockets Layer version 2
setSupportedEncryption(int value) Defines the versions of SSL/TLS encryption protocols to be used.
setSupportedEncryptionUnsafe(int value) Defines the versions of SSL/TLS encryption protocols to be used.
setTimeout(int value) Gets or sets the timeout for mail operations
setTokenProvider(ITokenProvider value) Gets or sets TokenProvider allowing to retrieve access token.
setUseAuthentication(boolean value) Indicates whether authentication is used.
setUseDateInLogFileName(boolean value) Gets or sets value which indicates if date has to be used in log file name.
setUseDefaultCredentials(boolean value) Gets or sets a Boolean value that controls whether the DefaultCredentials are sent with requests.
setUseMultiConnection(int value) Gets or sets value which indicates if client has to use multiple connections for heavy loaded operations.
setUsePipelining(PipeliningStatus value) Gets or sets object which indicates whether the pipelining mode is enabled.
setUsername(String value) Gets or sets the username.
toString()
undeleteMessages() Undeletes the messages.
undeleteMessages(IConnection connection) Undeletes the messages.
validateCredentials() Executes credentials validation
validateCredentials(IConnection connection) Executes credentials validation
wait()
wait(long arg0)
wait(long arg0, int arg1)

Pop3Client()

public Pop3Client()

Initializes a new instance of the Pop3Client class

Pop3Client(String host)

public Pop3Client(String host)

Initializes a new instance of the Pop3Client class

Parameters:

Parameter Type Description
host java.lang.String The host name

Pop3Client(String host, short securityOptions)

public Pop3Client(String host, short securityOptions)

Initializes a new instance of the Pop3Client class

Parameters:

Parameter Type Description
host java.lang.String The host name
securityOptions short Security mode for a mail client

Pop3Client(String host, int port)

public Pop3Client(String host, int port)

Initializes a new instance of the Pop3Client class

Parameters:

Parameter Type Description
host java.lang.String The host name
port int The port number

Pop3Client(String host, int port, int securityOptions)

public Pop3Client(String host, int port, int securityOptions)

Initializes a new instance of the Pop3Client class

Parameters:

Parameter Type Description
host java.lang.String The host name
port int The port number
securityOptions int Security mode for a mail client

Pop3Client(String host, String username, String password)

public Pop3Client(String host, String username, String password)

Initializes a new instance of the Pop3Client class

Parameters:

Parameter Type Description
host java.lang.String The host name
username java.lang.String The username
password java.lang.String The password

Pop3Client(String host, String username, String password, int securityOptions)

public Pop3Client(String host, String username, String password, int securityOptions)

Initializes a new instance of the Pop3Client class

Parameters:

Parameter Type Description
host java.lang.String The host name
username java.lang.String The username
password java.lang.String The password
securityOptions int Security mode for a mail client

Pop3Client(String host, int port, String username, String password)

public Pop3Client(String host, int port, String username, String password)

Initializes a new instance of the Pop3Client class

Parameters:

Parameter Type Description
host java.lang.String The host name
port int The port number
username java.lang.String The username
password java.lang.String The password

Pop3Client(String host, int port, String username, String password, int securityOptions)

public Pop3Client(String host, int port, String username, String password, int securityOptions)

Initializes a new instance of the Pop3Client class

Parameters:

Parameter Type Description
host java.lang.String The host name
port int The port number
username java.lang.String The username
password java.lang.String The password
securityOptions int Security mode for a mail client

Pop3Client(String host, int port, String username, String authInfo, boolean useOAuth, int securityOptions)

public Pop3Client(String host, int port, String username, String authInfo, boolean useOAuth, int securityOptions)

Initializes a new instance of the Pop3Client class

Parameters:

Parameter Type Description
host java.lang.String The host name
port int The port number
username java.lang.String The user name
authInfo java.lang.String The user password or XOAUTH2 access token
useOAuth boolean Defines whether SASL XOAUTH2 mechanism is used to login to the server
securityOptions int Security mode for a mail client

Pop3Client(String host, int port, String username, ITokenProvider tokenProvider, int securityOptions)

public Pop3Client(String host, int port, String username, ITokenProvider tokenProvider, int securityOptions)

Initializes a new instance of the Pop3Client class

Parameters:

Parameter Type Description
host java.lang.String The host name
port int The port number
username java.lang.String The user name
tokenProvider ITokenProvider TokenProvider allowing to retrieve access token.
securityOptions int Security mode for a mail client

Pop3Client(String host, int port, String username, String password, System.Net.Security.RemoteCertificateValidationCallback userCertificateValidationCallback)

public Pop3Client(String host, int port, String username, String password, System.Net.Security.RemoteCertificateValidationCallback userCertificateValidationCallback)

Initializes a new instance of the Pop3Client class

Parameters:

Parameter Type Description
host java.lang.String The host name
port int The port number
username java.lang.String The username
password java.lang.String The password
userCertificateValidationCallback com.aspose.ms.System.Net.Security.RemoteCertificateValidationCallback System.Net.Security.RemoteCertificateValidationCallback

Pop3Client(String host, int port, String username, String password, System.Net.Security.RemoteCertificateValidationCallback userCertificateValidationCallback, int securityOptions)

public Pop3Client(String host, int port, String username, String password, System.Net.Security.RemoteCertificateValidationCallback userCertificateValidationCallback, int securityOptions)

Initializes a new instance of the Pop3Client class

Parameters:

Parameter Type Description
host java.lang.String The host name
port int The port number
username java.lang.String The username
password java.lang.String The password
userCertificateValidationCallback com.aspose.ms.System.Net.Security.RemoteCertificateValidationCallback System.Net.Security.RemoteCertificateValidationCallback
securityOptions int Security mode for a mail client

beginCommitDeletes()

public final System.IAsyncResult beginCommitDeletes()

Begins to commit the deletions.

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginCommitDeletes(IConnection connection)

public final System.IAsyncResult beginCommitDeletes(IConnection connection)

Begins to commit the deletions.

Parameters:

Parameter Type Description
connection IConnection Connection to a server

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginCommitDeletes(IConnection connection, System.AsyncCallback callback)

public final System.IAsyncResult beginCommitDeletes(IConnection connection, System.AsyncCallback callback)

Begins to commit the deletions.

Parameters:

Parameter Type Description
connection IConnection Connection to a server
callback com.aspose.ms.System.AsyncCallback References a method to be called when a corresponding asynchronous operation completes.

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginCommitDeletes(IConnection connection, System.AsyncCallback callback, Object state)

public final System.IAsyncResult beginCommitDeletes(IConnection connection, System.AsyncCallback callback, Object state)

Begins to commit the deletions.

Parameters:

Parameter Type Description
connection IConnection Connection to a server
callback com.aspose.ms.System.AsyncCallback References a method to be called when a corresponding asynchronous operation completes.
state java.lang.Object The state.

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginCommitDeletes(System.AsyncCallback callback)

public final System.IAsyncResult beginCommitDeletes(System.AsyncCallback callback)

Begins to commit the deletions.

Parameters:

Parameter Type Description
callback com.aspose.ms.System.AsyncCallback References a method to be called when a corresponding asynchronous operation completes.

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginCommitDeletes(System.AsyncCallback callback, Object state)

public final System.IAsyncResult beginCommitDeletes(System.AsyncCallback callback, Object state)

Begins to commit the deletions.

Parameters:

Parameter Type Description
callback com.aspose.ms.System.AsyncCallback References a method to be called when a corresponding asynchronous operation completes.
state java.lang.Object The state.

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginDeleteMessage(IConnection connection, int sequenceNumber)

public final System.IAsyncResult beginDeleteMessage(IConnection connection, int sequenceNumber)

Begins DeleteMessage operation asynchronously

Parameters:

Parameter Type Description
connection IConnection Connection to a server
sequenceNumber int The sequence number of the message

The POP3 server marks the message as deleted. The POP3 server does not actually delete the message until the POP3 session enters the UPDATE state. |

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginDeleteMessage(IConnection connection, int sequenceNumber, System.AsyncCallback callback)

public final System.IAsyncResult beginDeleteMessage(IConnection connection, int sequenceNumber, System.AsyncCallback callback)

Begins DeleteMessage operation asynchronously

Parameters:

Parameter Type Description
connection IConnection Connection to a server
sequenceNumber int The sequence number of the message
callback com.aspose.ms.System.AsyncCallback References a method to be called when a corresponding asynchronous operation completes.

The POP3 server marks the message as deleted. The POP3 server does not actually delete the message until the POP3 session enters the UPDATE state. |

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginDeleteMessage(IConnection connection, int sequenceNumber, System.AsyncCallback callback, Object state)

public final System.IAsyncResult beginDeleteMessage(IConnection connection, int sequenceNumber, System.AsyncCallback callback, Object state)

Begins DeleteMessage operation asynchronously

Parameters:

Parameter Type Description
connection IConnection Connection to a server
sequenceNumber int The sequence number of the message
callback com.aspose.ms.System.AsyncCallback References a method to be called when a corresponding asynchronous operation completes.
state java.lang.Object The state.

The POP3 server marks the message as deleted. The POP3 server does not actually delete the message until the POP3 session enters the UPDATE state. |

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginDeleteMessage(IConnection connection, String uniqueId)

public final System.IAsyncResult beginDeleteMessage(IConnection connection, String uniqueId)

Begins DeleteMessage operation asynchronously

Parameters:

Parameter Type Description
connection IConnection Connection to a server
uniqueId java.lang.String The unique id of the message

The POP3 server marks the message as deleted. The POP3 server does not actually delete the message until the POP3 session enters the UPDATE state. |

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginDeleteMessage(IConnection connection, String uniqueId, System.AsyncCallback callback)

public final System.IAsyncResult beginDeleteMessage(IConnection connection, String uniqueId, System.AsyncCallback callback)

Begins DeleteMessage operation asynchronously

Parameters:

Parameter Type Description
connection IConnection Connection to a server
uniqueId java.lang.String The unique id of the message
callback com.aspose.ms.System.AsyncCallback References a method to be called when a corresponding asynchronous operation completes.

The POP3 server marks the message as deleted. The POP3 server does not actually delete the message until the POP3 session enters the UPDATE state. |

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginDeleteMessage(IConnection connection, String uniqueId, System.AsyncCallback callback, Object state)

public final System.IAsyncResult beginDeleteMessage(IConnection connection, String uniqueId, System.AsyncCallback callback, Object state)

Begins DeleteMessage operation asynchronously

Parameters:

Parameter Type Description
connection IConnection Connection to a server
uniqueId java.lang.String The unique id of the message
callback com.aspose.ms.System.AsyncCallback References a method to be called when a corresponding asynchronous operation completes.
state java.lang.Object The state.

The POP3 server marks the message as deleted. The POP3 server does not actually delete the message until the POP3 session enters the UPDATE state. |

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginDeleteMessage(int sequenceNumber)

public final System.IAsyncResult beginDeleteMessage(int sequenceNumber)

Begins DeleteMessage operation asynchronously

Parameters:

Parameter Type Description
sequenceNumber int The sequence number of the message

The POP3 server marks the message as deleted. The POP3 server does not actually delete the message until the POP3 session enters the UPDATE state. |

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginDeleteMessage(int sequenceNumber, System.AsyncCallback callback)

public final System.IAsyncResult beginDeleteMessage(int sequenceNumber, System.AsyncCallback callback)

Begins DeleteMessage operation asynchronously

Parameters:

Parameter Type Description
sequenceNumber int The sequence number of the message
callback com.aspose.ms.System.AsyncCallback References a method to be called when a corresponding asynchronous operation completes.

The POP3 server marks the message as deleted. The POP3 server does not actually delete the message until the POP3 session enters the UPDATE state. |

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginDeleteMessage(int sequenceNumber, System.AsyncCallback callback, Object state)

public final System.IAsyncResult beginDeleteMessage(int sequenceNumber, System.AsyncCallback callback, Object state)

Begins DeleteMessage operation asynchronously

Parameters:

Parameter Type Description
sequenceNumber int The sequence number of the message
callback com.aspose.ms.System.AsyncCallback References a method to be called when a corresponding asynchronous operation completes.
state java.lang.Object The state.

The POP3 server marks the message as deleted. The POP3 server does not actually delete the message until the POP3 session enters the UPDATE state. |

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginDeleteMessage(String uniqueId)

public final System.IAsyncResult beginDeleteMessage(String uniqueId)

Begins DeleteMessage operation asynchronously

Parameters:

Parameter Type Description
uniqueId java.lang.String The unique id of the message

The POP3 server marks the message as deleted. The POP3 server does not actually delete the message until the POP3 session enters the UPDATE state. |

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginDeleteMessage(String uniqueId, System.AsyncCallback callback)

public final System.IAsyncResult beginDeleteMessage(String uniqueId, System.AsyncCallback callback)

Begins DeleteMessage operation asynchronously

Parameters:

Parameter Type Description
uniqueId java.lang.String The unique id of the message
callback com.aspose.ms.System.AsyncCallback References a method to be called when a corresponding asynchronous operation completes.

The POP3 server marks the message as deleted. The POP3 server does not actually delete the message until the POP3 session enters the UPDATE state. |

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginDeleteMessage(String uniqueId, System.AsyncCallback callback, Object state)

public final System.IAsyncResult beginDeleteMessage(String uniqueId, System.AsyncCallback callback, Object state)

Begins DeleteMessage operation asynchronously

Parameters:

Parameter Type Description
uniqueId java.lang.String The unique id of the message
callback com.aspose.ms.System.AsyncCallback References a method to be called when a corresponding asynchronous operation completes.
state java.lang.Object The state.

The POP3 server marks the message as deleted. The POP3 server does not actually delete the message until the POP3 session enters the UPDATE state. |

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginDeleteMessages()

public final System.IAsyncResult beginDeleteMessages()

Begins delete all messages asynchronously

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.


The POP3 server marks the message as deleted. The POP3 server does not actually delete the message until the POP3 session enters the UPDATE state.

beginDeleteMessages(IConnection connection)

public final System.IAsyncResult beginDeleteMessages(IConnection connection)

Begins delete all messages asynchronously

Parameters:

Parameter Type Description
connection IConnection Connection to a server

The POP3 server marks the message as deleted. The POP3 server does not actually delete the message until the POP3 session enters the UPDATE state. |

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginDeleteMessages(IConnection connection, System.AsyncCallback callback)

public final System.IAsyncResult beginDeleteMessages(IConnection connection, System.AsyncCallback callback)

Begins delete all messages asynchronously

Parameters:

Parameter Type Description
connection IConnection Connection to a server
callback com.aspose.ms.System.AsyncCallback References a method to be called when a corresponding asynchronous operation completes.

The POP3 server marks the message as deleted. The POP3 server does not actually delete the message until the POP3 session enters the UPDATE state. |

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginDeleteMessages(IConnection connection, System.AsyncCallback callback, Object state)

public final System.IAsyncResult beginDeleteMessages(IConnection connection, System.AsyncCallback callback, Object state)

Begins delete all messages asynchronously

Parameters:

Parameter Type Description
connection IConnection Connection to a server
callback com.aspose.ms.System.AsyncCallback References a method to be called when a corresponding asynchronous operation completes.
state java.lang.Object The state.

The POP3 server marks the message as deleted. The POP3 server does not actually delete the message until the POP3 session enters the UPDATE state. |

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginDeleteMessages(System.AsyncCallback callback)

public final System.IAsyncResult beginDeleteMessages(System.AsyncCallback callback)

Begins delete all messages asynchronously

Parameters:

Parameter Type Description
callback com.aspose.ms.System.AsyncCallback References a method to be called when a corresponding asynchronous operation completes.

The POP3 server marks the message as deleted. The POP3 server does not actually delete the message until the POP3 session enters the UPDATE state. |

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginDeleteMessages(System.AsyncCallback callback, Object state)

public final System.IAsyncResult beginDeleteMessages(System.AsyncCallback callback, Object state)

Begins delete all messages asynchronously

Parameters:

Parameter Type Description
callback com.aspose.ms.System.AsyncCallback References a method to be called when a corresponding asynchronous operation completes.
state java.lang.Object The state.

The POP3 server marks the message as deleted. The POP3 server does not actually delete the message until the POP3 session enters the UPDATE state. |

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginFetchMessage(IConnection connection, int sequenceNumber)

public final System.IAsyncResult beginFetchMessage(IConnection connection, int sequenceNumber)

Begins FetchMessage operation asynchronously

Parameters:

Parameter Type Description
connection IConnection Connection to a server
sequenceNumber int The sequence number of the message

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginFetchMessage(IConnection connection, int sequenceNumber, System.AsyncCallback callback)

public final System.IAsyncResult beginFetchMessage(IConnection connection, int sequenceNumber, System.AsyncCallback callback)

Begins FetchMessage operation asynchronously

Parameters:

Parameter Type Description
connection IConnection Connection to a server
sequenceNumber int The sequence number of the message
callback com.aspose.ms.System.AsyncCallback References a method to be called when a corresponding asynchronous operation completes.

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginFetchMessage(IConnection connection, int sequenceNumber, System.AsyncCallback callback, Object state)

public final System.IAsyncResult beginFetchMessage(IConnection connection, int sequenceNumber, System.AsyncCallback callback, Object state)

Begins FetchMessage operation asynchronously

Parameters:

Parameter Type Description
connection IConnection Connection to a server
sequenceNumber int The sequence number of the message
callback com.aspose.ms.System.AsyncCallback References a method to be called when a corresponding asynchronous operation completes.
state java.lang.Object The state.

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginFetchMessage(IConnection connection, String uniqueId)

public final System.IAsyncResult beginFetchMessage(IConnection connection, String uniqueId)

Begins FetchMessage operation asynchronously

Parameters:

Parameter Type Description
connection IConnection Connection to a server
uniqueId java.lang.String The unique id of the message

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginFetchMessage(IConnection connection, String uniqueId, System.AsyncCallback callback)

public final System.IAsyncResult beginFetchMessage(IConnection connection, String uniqueId, System.AsyncCallback callback)

Begins FetchMessage operation asynchronously

Parameters:

Parameter Type Description
connection IConnection Connection to a server
uniqueId java.lang.String The unique id of the message
callback com.aspose.ms.System.AsyncCallback References a method to be called when a corresponding asynchronous operation completes.

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginFetchMessage(IConnection connection, String uniqueId, System.AsyncCallback callback, Object state)

public final System.IAsyncResult beginFetchMessage(IConnection connection, String uniqueId, System.AsyncCallback callback, Object state)

Begins FetchMessage operation asynchronously

Parameters:

Parameter Type Description
connection IConnection Connection to a server
uniqueId java.lang.String The unique id of the message
callback com.aspose.ms.System.AsyncCallback References a method to be called when a corresponding asynchronous operation completes.
state java.lang.Object The state.

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginFetchMessage(int sequenceNumber)

public final System.IAsyncResult beginFetchMessage(int sequenceNumber)

Begins FetchMessage operation asynchronously

Parameters:

Parameter Type Description
sequenceNumber int The sequence number of the message

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginFetchMessage(int sequenceNumber, System.AsyncCallback callback)

public final System.IAsyncResult beginFetchMessage(int sequenceNumber, System.AsyncCallback callback)

Begins FetchMessage operation asynchronously

Parameters:

Parameter Type Description
sequenceNumber int The sequence number of the message
callback com.aspose.ms.System.AsyncCallback References a method to be called when a corresponding asynchronous operation completes.

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginFetchMessage(int sequenceNumber, System.AsyncCallback callback, Object state)

public final System.IAsyncResult beginFetchMessage(int sequenceNumber, System.AsyncCallback callback, Object state)

Begins FetchMessage operation asynchronously

Parameters:

Parameter Type Description
sequenceNumber int The sequence number of the message
callback com.aspose.ms.System.AsyncCallback References a method to be called when a corresponding asynchronous operation completes.
state java.lang.Object The state.

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginFetchMessage(String uniqueId)

public final System.IAsyncResult beginFetchMessage(String uniqueId)

Begins FetchMessage operation asynchronously

Parameters:

Parameter Type Description
uniqueId java.lang.String The unique id of the message

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginFetchMessage(String uniqueId, System.AsyncCallback callback)

public final System.IAsyncResult beginFetchMessage(String uniqueId, System.AsyncCallback callback)

Begins FetchMessage operation asynchronously

Parameters:

Parameter Type Description
uniqueId java.lang.String The unique id of the message
callback com.aspose.ms.System.AsyncCallback References a method to be called when a corresponding asynchronous operation completes.

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginFetchMessage(String uniqueId, System.AsyncCallback callback, Object state)

public final System.IAsyncResult beginFetchMessage(String uniqueId, System.AsyncCallback callback, Object state)

Begins FetchMessage operation asynchronously

Parameters:

Parameter Type Description
uniqueId java.lang.String The unique id of the message
callback com.aspose.ms.System.AsyncCallback References a method to be called when a corresponding asynchronous operation completes.
state java.lang.Object The state.

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginFetchMessagesBySequences(IConnection connection, Iterable sequenceNumbers)

public final System.IAsyncResult beginFetchMessagesBySequences(IConnection connection, Iterable<Integer> sequenceNumbers)

Begins FetchMessages operation asynchronously

Parameters:

Parameter Type Description
connection IConnection Connection to a server
sequenceNumbers java.lang.Iterable<java.lang.Integer>

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginFetchMessagesBySequences(IConnection connection, Iterable sequenceNumbers, System.AsyncCallback callback)

public final System.IAsyncResult beginFetchMessagesBySequences(IConnection connection, Iterable<Integer> sequenceNumbers, System.AsyncCallback callback)

Begins FetchMessages operation asynchronously

Parameters:

Parameter Type Description
connection IConnection Connection to a server
sequenceNumbers java.lang.Iterable<java.lang.Integer>
callback com.aspose.ms.System.AsyncCallback References a method to be called when a corresponding asynchronous operation completes.

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginFetchMessagesBySequences(IConnection connection, Iterable sequenceNumbers, System.AsyncCallback callback, Object state)

public final System.IAsyncResult beginFetchMessagesBySequences(IConnection connection, Iterable<Integer> sequenceNumbers, System.AsyncCallback callback, Object state)

Begins FetchMessages operation asynchronously

Parameters:

Parameter Type Description
connection IConnection Connection to a server
sequenceNumbers java.lang.Iterable<java.lang.Integer>
callback com.aspose.ms.System.AsyncCallback References a method to be called when a corresponding asynchronous operation completes.
state java.lang.Object The state.

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginFetchMessagesBySequences(Iterable sequenceNumbers)

public final System.IAsyncResult beginFetchMessagesBySequences(Iterable<Integer> sequenceNumbers)

Begins FetchMessages operation asynchronously

Parameters:

Parameter Type Description
sequenceNumbers java.lang.Iterable<java.lang.Integer>

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginFetchMessagesBySequences(Iterable sequenceNumbers, System.AsyncCallback callback)

public final System.IAsyncResult beginFetchMessagesBySequences(Iterable<Integer> sequenceNumbers, System.AsyncCallback callback)

Begins FetchMessages operation asynchronously

Parameters:

Parameter Type Description
sequenceNumbers java.lang.Iterable<java.lang.Integer>
callback com.aspose.ms.System.AsyncCallback References a method to be called when a corresponding asynchronous operation completes.

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginFetchMessagesBySequences(Iterable sequenceNumbers, System.AsyncCallback callback, Object state)

public final System.IAsyncResult beginFetchMessagesBySequences(Iterable<Integer> sequenceNumbers, System.AsyncCallback callback, Object state)

Begins FetchMessages operation asynchronously

Parameters:

Parameter Type Description
sequenceNumbers java.lang.Iterable<java.lang.Integer>
callback com.aspose.ms.System.AsyncCallback References a method to be called when a corresponding asynchronous operation completes.
state java.lang.Object The state.

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginFetchMessagesByUids(IConnection connection, Iterable uids)

public final System.IAsyncResult beginFetchMessagesByUids(IConnection connection, Iterable<String> uids)

Begins FetchMessages operation asynchronously

Parameters:

Parameter Type Description
connection IConnection Connection to a server
uids java.lang.Iterable<java.lang.String> The sequence numbers of the messages

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginFetchMessagesByUids(IConnection connection, Iterable uids, System.AsyncCallback callback)

public final System.IAsyncResult beginFetchMessagesByUids(IConnection connection, Iterable<String> uids, System.AsyncCallback callback)

Begins FetchMessages operation asynchronously

Parameters:

Parameter Type Description
connection IConnection Connection to a server
uids java.lang.Iterable<java.lang.String> The sequence numbers of the messages
callback com.aspose.ms.System.AsyncCallback References a method to be called when a corresponding asynchronous operation completes.

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginFetchMessagesByUids(IConnection connection, Iterable uids, System.AsyncCallback callback, Object state)

public final System.IAsyncResult beginFetchMessagesByUids(IConnection connection, Iterable<String> uids, System.AsyncCallback callback, Object state)

Begins FetchMessages operation asynchronously

Parameters:

Parameter Type Description
connection IConnection Connection to a server
uids java.lang.Iterable<java.lang.String> The sequence numbers of the messages
callback com.aspose.ms.System.AsyncCallback References a method to be called when a corresponding asynchronous operation completes.
state java.lang.Object The state.

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginFetchMessagesByUids(Iterable uids)

public final System.IAsyncResult beginFetchMessagesByUids(Iterable<String> uids)

Begins FetchMessages operation asynchronously

Parameters:

Parameter Type Description
uids java.lang.Iterable<java.lang.String> The sequence numbers of the messages

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginFetchMessagesByUids(Iterable uids, System.AsyncCallback callback)

public final System.IAsyncResult beginFetchMessagesByUids(Iterable<String> uids, System.AsyncCallback callback)

Begins FetchMessages operation asynchronously

Parameters:

Parameter Type Description
uids java.lang.Iterable<java.lang.String> The sequence numbers of the messages
callback com.aspose.ms.System.AsyncCallback References a method to be called when a corresponding asynchronous operation completes.

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginFetchMessagesByUids(Iterable uids, System.AsyncCallback callback, Object state)

public final System.IAsyncResult beginFetchMessagesByUids(Iterable<String> uids, System.AsyncCallback callback, Object state)

Begins FetchMessages operation asynchronously

Parameters:

Parameter Type Description
uids java.lang.Iterable<java.lang.String> The sequence numbers of the messages
callback com.aspose.ms.System.AsyncCallback References a method to be called when a corresponding asynchronous operation completes.
state java.lang.Object The state.

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginGetMailboxInfo()

public final System.IAsyncResult beginGetMailboxInfo()

Begins to get the mailbox status info

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginGetMailboxInfo(IConnection connection)

public final System.IAsyncResult beginGetMailboxInfo(IConnection connection)

Begins to get the mailbox status info

Parameters:

Parameter Type Description
connection IConnection Connection to a server

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginGetMailboxInfo(IConnection connection, boolean closeTransaction, System.AsyncCallback callback, Object state)

public final System.IAsyncResult beginGetMailboxInfo(IConnection connection, boolean closeTransaction, System.AsyncCallback callback, Object state)

Begins to get the mailbox status info

Parameters:

Parameter Type Description
connection IConnection Connection to a server
closeTransaction boolean Indicates if current transaction has to be closed, before the list is retrieved.
callback com.aspose.ms.System.AsyncCallback References a method to be called when a corresponding asynchronous operation completes.
state java.lang.Object The state.

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginGetMailboxInfo(IConnection connection, System.AsyncCallback callback)

public final System.IAsyncResult beginGetMailboxInfo(IConnection connection, System.AsyncCallback callback)

Begins to get the mailbox status info

Parameters:

Parameter Type Description
connection IConnection Connection to a server
callback com.aspose.ms.System.AsyncCallback References a method to be called when a corresponding asynchronous operation completes.

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginGetMailboxInfo(IConnection connection, System.AsyncCallback callback, Object state)

public final System.IAsyncResult beginGetMailboxInfo(IConnection connection, System.AsyncCallback callback, Object state)

Begins to get the mailbox status info

Parameters:

Parameter Type Description
connection IConnection Connection to a server
callback com.aspose.ms.System.AsyncCallback References a method to be called when a corresponding asynchronous operation completes.
state java.lang.Object The state.

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginGetMailboxInfo(System.AsyncCallback callback)

public final System.IAsyncResult beginGetMailboxInfo(System.AsyncCallback callback)

Begins to get the mailbox status info

Parameters:

Parameter Type Description
callback com.aspose.ms.System.AsyncCallback References a method to be called when a corresponding asynchronous operation completes.

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginGetMailboxInfo(System.AsyncCallback callback, Object state)

public final System.IAsyncResult beginGetMailboxInfo(System.AsyncCallback callback, Object state)

Begins to get the mailbox status info

Parameters:

Parameter Type Description
callback com.aspose.ms.System.AsyncCallback References a method to be called when a corresponding asynchronous operation completes.
state java.lang.Object The state.

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginGetMailboxSize()

public final System.IAsyncResult beginGetMailboxSize()

Begins GetMailboxSize operation asynchronously

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginGetMailboxSize(IConnection connection)

public final System.IAsyncResult beginGetMailboxSize(IConnection connection)

Begins GetMailboxSize operation asynchronously

Parameters:

Parameter Type Description
connection IConnection Connection to a server

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginGetMailboxSize(IConnection connection, System.AsyncCallback callback)

public final System.IAsyncResult beginGetMailboxSize(IConnection connection, System.AsyncCallback callback)

Begins GetMailboxSize operation asynchronously

Parameters:

Parameter Type Description
connection IConnection Connection to a server
callback com.aspose.ms.System.AsyncCallback References a method to be called when a corresponding asynchronous operation completes.

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginGetMailboxSize(IConnection connection, System.AsyncCallback callback, Object state)

public final System.IAsyncResult beginGetMailboxSize(IConnection connection, System.AsyncCallback callback, Object state)

Begins GetMailboxSize operation asynchronously

Parameters:

Parameter Type Description
connection IConnection Connection to a server
callback com.aspose.ms.System.AsyncCallback References a method to be called when a corresponding asynchronous operation completes.
state java.lang.Object The state.

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginGetMailboxSize(System.AsyncCallback callback)

public final System.IAsyncResult beginGetMailboxSize(System.AsyncCallback callback)

Begins GetMailboxSize operation asynchronously

Parameters:

Parameter Type Description
callback com.aspose.ms.System.AsyncCallback References a method to be called when a corresponding asynchronous operation completes.

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginGetMailboxSize(System.AsyncCallback callback, Object state)

public final System.IAsyncResult beginGetMailboxSize(System.AsyncCallback callback, Object state)

Begins GetMailboxSize operation asynchronously

Parameters:

Parameter Type Description
callback com.aspose.ms.System.AsyncCallback References a method to be called when a corresponding asynchronous operation completes.
state java.lang.Object The state.

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginGetMessageCount()

public final System.IAsyncResult beginGetMessageCount()

Begins GetMessageCount operation asynchronously

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginGetMessageCount(boolean closeTransaction)

public final System.IAsyncResult beginGetMessageCount(boolean closeTransaction)

Begins GetMessageCount operation asynchronously

Parameters:

Parameter Type Description
closeTransaction boolean Indicates if current transaction has to be closed, before the list is retrieved.

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginGetMessageCount(boolean closeTransaction, System.AsyncCallback callback)

public final System.IAsyncResult beginGetMessageCount(boolean closeTransaction, System.AsyncCallback callback)

Begins GetMessageCount operation asynchronously

Parameters:

Parameter Type Description
closeTransaction boolean Indicates if current transaction has to be closed, before the list is retrieved.
callback com.aspose.ms.System.AsyncCallback References a method to be called when a corresponding asynchronous operation completes.

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginGetMessageCount(boolean closeTransaction, System.AsyncCallback callback, Object state)

public final System.IAsyncResult beginGetMessageCount(boolean closeTransaction, System.AsyncCallback callback, Object state)

Begins GetMessageCount operation asynchronously

Parameters:

Parameter Type Description
closeTransaction boolean Indicates if current transaction has to be closed, before the list is retrieved.
callback com.aspose.ms.System.AsyncCallback References a method to be called when a corresponding asynchronous operation completes.
state java.lang.Object The state.

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginGetMessageCount(IConnection connection)

public final System.IAsyncResult beginGetMessageCount(IConnection connection)

Begins GetMessageCount operation asynchronously

Parameters:

Parameter Type Description
connection IConnection Connection to a server

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginGetMessageCount(IConnection connection, boolean closeTransaction)

public final System.IAsyncResult beginGetMessageCount(IConnection connection, boolean closeTransaction)

Begins GetMessageCount operation asynchronously

Parameters:

Parameter Type Description
connection IConnection Connection to a server
closeTransaction boolean Indicates if current transaction has to be closed, before the list is retrieved.

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginGetMessageCount(IConnection connection, boolean closeTransaction, System.AsyncCallback callback)

public final System.IAsyncResult beginGetMessageCount(IConnection connection, boolean closeTransaction, System.AsyncCallback callback)

Begins GetMessageCount operation asynchronously

Parameters:

Parameter Type Description
connection IConnection Connection to a server
closeTransaction boolean Indicates if current transaction has to be closed, before the list is retrieved.
callback com.aspose.ms.System.AsyncCallback References a method to be called when a corresponding asynchronous operation completes.

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginGetMessageCount(IConnection connection, boolean closeTransaction, System.AsyncCallback callback, Object state)

public final System.IAsyncResult beginGetMessageCount(IConnection connection, boolean closeTransaction, System.AsyncCallback callback, Object state)

Begins GetMessageCount operation asynchronously

Parameters:

Parameter Type Description
connection IConnection Connection to a server
closeTransaction boolean Indicates if current transaction has to be closed, before the list is retrieved.
callback com.aspose.ms.System.AsyncCallback References a method to be called when a corresponding asynchronous operation completes.
state java.lang.Object The state.

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginGetMessageCount(IConnection connection, System.AsyncCallback callback)

public final System.IAsyncResult beginGetMessageCount(IConnection connection, System.AsyncCallback callback)

Begins GetMessageCount operation asynchronously

Parameters:

Parameter Type Description
connection IConnection Connection to a server
callback com.aspose.ms.System.AsyncCallback References a method to be called when a corresponding asynchronous operation completes.

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginGetMessageCount(IConnection connection, System.AsyncCallback callback, Object state)

public final System.IAsyncResult beginGetMessageCount(IConnection connection, System.AsyncCallback callback, Object state)

Begins GetMessageCount operation asynchronously

Parameters:

Parameter Type Description
connection IConnection Connection to a server
callback com.aspose.ms.System.AsyncCallback References a method to be called when a corresponding asynchronous operation completes.
state java.lang.Object The state.

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginGetMessageCount(System.AsyncCallback callback)

public final System.IAsyncResult beginGetMessageCount(System.AsyncCallback callback)

Begins GetMessageCount operation asynchronously

Parameters:

Parameter Type Description
callback com.aspose.ms.System.AsyncCallback References a method to be called when a corresponding asynchronous operation completes.

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginGetMessageCount(System.AsyncCallback callback, Object state)

public final System.IAsyncResult beginGetMessageCount(System.AsyncCallback callback, Object state)

Begins GetMessageCount operation asynchronously

Parameters:

Parameter Type Description
callback com.aspose.ms.System.AsyncCallback References a method to be called when a corresponding asynchronous operation completes.
state java.lang.Object The state.

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginGetMessageHeaders(IConnection connection, int sequenceNumber)

public final System.IAsyncResult beginGetMessageHeaders(IConnection connection, int sequenceNumber)

Begins getting message headers

Parameters:

Parameter Type Description
connection IConnection Connection to a server
sequenceNumber int The sequence number of the message

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginGetMessageHeaders(IConnection connection, int sequenceNumber, System.AsyncCallback callback)

public final System.IAsyncResult beginGetMessageHeaders(IConnection connection, int sequenceNumber, System.AsyncCallback callback)

Begins getting message headers

Parameters:

Parameter Type Description
connection IConnection Connection to a server
sequenceNumber int The sequence number of the message
callback com.aspose.ms.System.AsyncCallback References a method to be called when a corresponding asynchronous operation completes.

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginGetMessageHeaders(IConnection connection, int sequenceNumber, System.AsyncCallback callback, Object state)

public final System.IAsyncResult beginGetMessageHeaders(IConnection connection, int sequenceNumber, System.AsyncCallback callback, Object state)

Begins getting message headers

Parameters:

Parameter Type Description
connection IConnection Connection to a server
sequenceNumber int The sequence number of the message
callback com.aspose.ms.System.AsyncCallback References a method to be called when a corresponding asynchronous operation completes.
state java.lang.Object The state.

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginGetMessageHeaders(IConnection connection, String uniqueId)

public final System.IAsyncResult beginGetMessageHeaders(IConnection connection, String uniqueId)

Begins getting message headers

Parameters:

Parameter Type Description
connection IConnection Connection to a server
uniqueId java.lang.String The unique id of the message

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginGetMessageHeaders(IConnection connection, String uniqueId, System.AsyncCallback callback)

public final System.IAsyncResult beginGetMessageHeaders(IConnection connection, String uniqueId, System.AsyncCallback callback)

Begins getting message headers

Parameters:

Parameter Type Description
connection IConnection Connection to a server
uniqueId java.lang.String The unique id of the message
callback com.aspose.ms.System.AsyncCallback References a method to be called when a corresponding asynchronous operation completes.

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginGetMessageHeaders(IConnection connection, String uniqueId, System.AsyncCallback callback, Object state)

public final System.IAsyncResult beginGetMessageHeaders(IConnection connection, String uniqueId, System.AsyncCallback callback, Object state)

Begins getting message headers

Parameters:

Parameter Type Description
connection IConnection Connection to a server
uniqueId java.lang.String The unique id of the message
callback com.aspose.ms.System.AsyncCallback References a method to be called when a corresponding asynchronous operation completes.
state java.lang.Object The state.

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginGetMessageHeaders(int sequenceNumber)

public final System.IAsyncResult beginGetMessageHeaders(int sequenceNumber)

Begins getting message headers

Parameters:

Parameter Type Description
sequenceNumber int The sequence number of the message

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginGetMessageHeaders(int sequenceNumber, System.AsyncCallback callback)

public final System.IAsyncResult beginGetMessageHeaders(int sequenceNumber, System.AsyncCallback callback)

Begins getting message headers

Parameters:

Parameter Type Description
sequenceNumber int The sequence number of the message
callback com.aspose.ms.System.AsyncCallback References a method to be called when a corresponding asynchronous operation completes.

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginGetMessageHeaders(int sequenceNumber, System.AsyncCallback callback, Object state)

public final System.IAsyncResult beginGetMessageHeaders(int sequenceNumber, System.AsyncCallback callback, Object state)

Begins getting message headers

Parameters:

Parameter Type Description
sequenceNumber int The sequence number of the message
callback com.aspose.ms.System.AsyncCallback References a method to be called when a corresponding asynchronous operation completes.
state java.lang.Object The state.

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginGetMessageHeaders(String uniqueId)

public final System.IAsyncResult beginGetMessageHeaders(String uniqueId)

Begins getting message headers

Parameters:

Parameter Type Description
uniqueId java.lang.String The unique id of the message

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginGetMessageHeaders(String uniqueId, System.AsyncCallback callback)

public final System.IAsyncResult beginGetMessageHeaders(String uniqueId, System.AsyncCallback callback)

Begins getting message headers

Parameters:

Parameter Type Description
uniqueId java.lang.String The unique id of the message
callback com.aspose.ms.System.AsyncCallback References a method to be called when a corresponding asynchronous operation completes.

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginGetMessageHeaders(String uniqueId, System.AsyncCallback callback, Object state)

public final System.IAsyncResult beginGetMessageHeaders(String uniqueId, System.AsyncCallback callback, Object state)

Begins getting message headers

Parameters:

Parameter Type Description
uniqueId java.lang.String The unique id of the message
callback com.aspose.ms.System.AsyncCallback References a method to be called when a corresponding asynchronous operation completes.
state java.lang.Object The state.

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginGetMessageInfo(IConnection connection, int sequenceNumber)

public final System.IAsyncResult beginGetMessageInfo(IConnection connection, int sequenceNumber)

Begins to get the information for that message

Parameters:

Parameter Type Description
connection IConnection Connection to a server
sequenceNumber int The sequence number of the message

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginGetMessageInfo(IConnection connection, int sequenceNumber, System.AsyncCallback callback)

public final System.IAsyncResult beginGetMessageInfo(IConnection connection, int sequenceNumber, System.AsyncCallback callback)

Begins to get the information for that message

Parameters:

Parameter Type Description
connection IConnection Connection to a server
sequenceNumber int The sequence number of the message
callback com.aspose.ms.System.AsyncCallback References a method to be called when a corresponding asynchronous operation completes.

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginGetMessageInfo(IConnection connection, int sequenceNumber, System.AsyncCallback callback, Object state)

public final System.IAsyncResult beginGetMessageInfo(IConnection connection, int sequenceNumber, System.AsyncCallback callback, Object state)

Begins to get the information for that message

Parameters:

Parameter Type Description
connection IConnection Connection to a server
sequenceNumber int The sequence number of the message
callback com.aspose.ms.System.AsyncCallback References a method to be called when a corresponding asynchronous operation completes.
state java.lang.Object The state.

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginGetMessageInfo(IConnection connection, int sequenceNumber, int fields)

public final System.IAsyncResult beginGetMessageInfo(IConnection connection, int sequenceNumber, int fields)

Begins to get the information for that message

Parameters:

Parameter Type Description
connection IConnection Connection to a server
sequenceNumber int The sequence number of the message
fields int The fields that we want get

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginGetMessageInfo(IConnection connection, int sequenceNumber, int fields, System.AsyncCallback callback)

public final System.IAsyncResult beginGetMessageInfo(IConnection connection, int sequenceNumber, int fields, System.AsyncCallback callback)

Begins to get the information for that message

Parameters:

Parameter Type Description
connection IConnection Connection to a server
sequenceNumber int The sequence number of the message
fields int The fields that we want get
callback com.aspose.ms.System.AsyncCallback References a method to be called when a corresponding asynchronous operation completes.

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginGetMessageInfo(IConnection connection, int sequenceNumber, int fields, System.AsyncCallback callback, Object state)

public final System.IAsyncResult beginGetMessageInfo(IConnection connection, int sequenceNumber, int fields, System.AsyncCallback callback, Object state)

Begins to get the information for that message

Parameters:

Parameter Type Description
connection IConnection Connection to a server
sequenceNumber int The sequence number of the message
fields int The fields that we want get
callback com.aspose.ms.System.AsyncCallback References a method to be called when a corresponding asynchronous operation completes.
state java.lang.Object The state.

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginGetMessageInfo(IConnection connection, String uniqueId)

public final System.IAsyncResult beginGetMessageInfo(IConnection connection, String uniqueId)

Begins to get the information for that message

Parameters:

Parameter Type Description
connection IConnection Connection to a server
uniqueId java.lang.String The unique id of the message

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginGetMessageInfo(IConnection connection, String uniqueId, System.AsyncCallback callback)

public final System.IAsyncResult beginGetMessageInfo(IConnection connection, String uniqueId, System.AsyncCallback callback)

Begins to get the information for that message

Parameters:

Parameter Type Description
connection IConnection Connection to a server
uniqueId java.lang.String The unique id of the message
callback com.aspose.ms.System.AsyncCallback References a method to be called when a corresponding asynchronous operation completes.

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginGetMessageInfo(IConnection connection, String uniqueId, System.AsyncCallback callback, Object state)

public final System.IAsyncResult beginGetMessageInfo(IConnection connection, String uniqueId, System.AsyncCallback callback, Object state)

Begins to get the information for that message

Parameters:

Parameter Type Description
connection IConnection Connection to a server
uniqueId java.lang.String The unique id of the message
callback com.aspose.ms.System.AsyncCallback References a method to be called when a corresponding asynchronous operation completes.
state java.lang.Object The state.

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginGetMessageInfo(IConnection connection, String uniqueId, int fields)

public final System.IAsyncResult beginGetMessageInfo(IConnection connection, String uniqueId, int fields)

Begins to get the information for that message

Parameters:

Parameter Type Description
connection IConnection Connection to a server
uniqueId java.lang.String The unique id of the message
fields int The fields that we want get

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginGetMessageInfo(IConnection connection, String uniqueId, int fields, System.AsyncCallback callback)

public final System.IAsyncResult beginGetMessageInfo(IConnection connection, String uniqueId, int fields, System.AsyncCallback callback)

Begins to get the information for that message

Parameters:

Parameter Type Description
connection IConnection Connection to a server
uniqueId java.lang.String The unique id of the message
fields int The fields that we want get
callback com.aspose.ms.System.AsyncCallback References a method to be called when a corresponding asynchronous operation completes.

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginGetMessageInfo(IConnection connection, String uniqueId, int fields, System.AsyncCallback callback, Object state)

public final System.IAsyncResult beginGetMessageInfo(IConnection connection, String uniqueId, int fields, System.AsyncCallback callback, Object state)

Begins to get the information for that message

Parameters:

Parameter Type Description
connection IConnection Connection to a server
uniqueId java.lang.String The unique id of the message
fields int The fields that we want get
callback com.aspose.ms.System.AsyncCallback References a method to be called when a corresponding asynchronous operation completes.
state java.lang.Object The state.

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginGetMessageInfo(int sequenceNumber)

public final System.IAsyncResult beginGetMessageInfo(int sequenceNumber)

Begins to get the information for that message

Parameters:

Parameter Type Description
sequenceNumber int The sequence number of the message

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginGetMessageInfo(int sequenceNumber, System.AsyncCallback callback)

public final System.IAsyncResult beginGetMessageInfo(int sequenceNumber, System.AsyncCallback callback)

Begins to get the information for that message

Parameters:

Parameter Type Description
sequenceNumber int The sequence number of the message
callback com.aspose.ms.System.AsyncCallback References a method to be called when a corresponding asynchronous operation completes.

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginGetMessageInfo(int sequenceNumber, System.AsyncCallback callback, Object state)

public final System.IAsyncResult beginGetMessageInfo(int sequenceNumber, System.AsyncCallback callback, Object state)

Begins to get the information for that message

Parameters:

Parameter Type Description
sequenceNumber int The sequence number of the message
callback com.aspose.ms.System.AsyncCallback References a method to be called when a corresponding asynchronous operation completes.
state java.lang.Object The state.

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginGetMessageInfo(int sequenceNumber, int fields)

public final System.IAsyncResult beginGetMessageInfo(int sequenceNumber, int fields)

Begins to get the information for that message

Parameters:

Parameter Type Description
sequenceNumber int The sequence number of the message
fields int The fields that we want get

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginGetMessageInfo(int sequenceNumber, int fields, System.AsyncCallback callback)

public final System.IAsyncResult beginGetMessageInfo(int sequenceNumber, int fields, System.AsyncCallback callback)

Begins to get the information for that message

Parameters:

Parameter Type Description
sequenceNumber int The sequence number of the message
fields int The fields that we want get
callback com.aspose.ms.System.AsyncCallback References a method to be called when a corresponding asynchronous operation completes.

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginGetMessageInfo(int sequenceNumber, int fields, System.AsyncCallback callback, Object state)

public final System.IAsyncResult beginGetMessageInfo(int sequenceNumber, int fields, System.AsyncCallback callback, Object state)

Begins to get the information for that message

Parameters:

Parameter Type Description
sequenceNumber int The sequence number of the message
fields int The fields that we want get
callback com.aspose.ms.System.AsyncCallback References a method to be called when a corresponding asynchronous operation completes.
state java.lang.Object The state.

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginGetMessageInfo(String uniqueId)

public final System.IAsyncResult beginGetMessageInfo(String uniqueId)

Begins to get the information for that message

Parameters:

Parameter Type Description
uniqueId java.lang.String The unique id of the message

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginGetMessageInfo(String uniqueId, System.AsyncCallback callback)

public final System.IAsyncResult beginGetMessageInfo(String uniqueId, System.AsyncCallback callback)

Begins to get the information for that message

Parameters:

Parameter Type Description
uniqueId java.lang.String The unique id of the message
callback com.aspose.ms.System.AsyncCallback References a method to be called when a corresponding asynchronous operation completes.

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginGetMessageInfo(String uniqueId, System.AsyncCallback callback, Object state)

public final System.IAsyncResult beginGetMessageInfo(String uniqueId, System.AsyncCallback callback, Object state)

Begins to get the information for that message

Parameters:

Parameter Type Description
uniqueId java.lang.String The unique id of the message
callback com.aspose.ms.System.AsyncCallback References a method to be called when a corresponding asynchronous operation completes.
state java.lang.Object The state.

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginGetMessageInfo(String uniqueId, int fields)

public final System.IAsyncResult beginGetMessageInfo(String uniqueId, int fields)

Begins to get the information for that message

Parameters:

Parameter Type Description
uniqueId java.lang.String The unique id of the message
fields int The fields that we want get

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginGetMessageInfo(String uniqueId, int fields, System.AsyncCallback callback)

public final System.IAsyncResult beginGetMessageInfo(String uniqueId, int fields, System.AsyncCallback callback)

Begins to get the information for that message

Parameters:

Parameter Type Description
uniqueId java.lang.String The unique id of the message
fields int The fields that we want get
callback com.aspose.ms.System.AsyncCallback References a method to be called when a corresponding asynchronous operation completes.

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginGetMessageInfo(String uniqueId, int fields, System.AsyncCallback callback, Object state)

public final System.IAsyncResult beginGetMessageInfo(String uniqueId, int fields, System.AsyncCallback callback, Object state)

Begins to get the information for that message

Parameters:

Parameter Type Description
uniqueId java.lang.String The unique id of the message
fields int The fields that we want get
callback com.aspose.ms.System.AsyncCallback References a method to be called when a corresponding asynchronous operation completes.
state java.lang.Object The state.

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginGetMessageSize(IConnection connection, int sequenceNumber)

public final System.IAsyncResult beginGetMessageSize(IConnection connection, int sequenceNumber)

Begins GetMessageSize operation asynchronously

Parameters:

Parameter Type Description
connection IConnection Connection to a server
sequenceNumber int The sequence number of the message

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginGetMessageSize(IConnection connection, int sequenceNumber, System.AsyncCallback callback)

public final System.IAsyncResult beginGetMessageSize(IConnection connection, int sequenceNumber, System.AsyncCallback callback)

Begins GetMessageSize operation asynchronously

Parameters:

Parameter Type Description
connection IConnection Connection to a server
sequenceNumber int The sequence number of the message
callback com.aspose.ms.System.AsyncCallback References a method to be called when a corresponding asynchronous operation completes.

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginGetMessageSize(IConnection connection, int sequenceNumber, System.AsyncCallback callback, Object state)

public final System.IAsyncResult beginGetMessageSize(IConnection connection, int sequenceNumber, System.AsyncCallback callback, Object state)

Begins GetMessageSize operation asynchronously

Parameters:

Parameter Type Description
connection IConnection Connection to a server
sequenceNumber int The sequence number of the message
callback com.aspose.ms.System.AsyncCallback References a method to be called when a corresponding asynchronous operation completes.
state java.lang.Object The state.

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginGetMessageSize(IConnection connection, String uniqueId)

public final System.IAsyncResult beginGetMessageSize(IConnection connection, String uniqueId)

Begins GetMessageSize operation asynchronously

Parameters:

Parameter Type Description
connection IConnection Connection to a server
uniqueId java.lang.String The unique id of the message

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginGetMessageSize(IConnection connection, String uniqueId, System.AsyncCallback callback)

public final System.IAsyncResult beginGetMessageSize(IConnection connection, String uniqueId, System.AsyncCallback callback)

Begins GetMessageSize operation asynchronously

Parameters:

Parameter Type Description
connection IConnection Connection to a server
uniqueId java.lang.String The unique id of the message
callback com.aspose.ms.System.AsyncCallback References a method to be called when a corresponding asynchronous operation completes.

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginGetMessageSize(IConnection connection, String uniqueId, System.AsyncCallback callback, Object state)

public final System.IAsyncResult beginGetMessageSize(IConnection connection, String uniqueId, System.AsyncCallback callback, Object state)

Begins GetMessageSize operation asynchronously

Parameters:

Parameter Type Description
connection IConnection Connection to a server
uniqueId java.lang.String The unique id of the message
callback com.aspose.ms.System.AsyncCallback References a method to be called when a corresponding asynchronous operation completes.
state java.lang.Object The state.

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginGetMessageSize(int sequenceNumber)

public final System.IAsyncResult beginGetMessageSize(int sequenceNumber)

Begins GetMessageSize operation asynchronously

Parameters:

Parameter Type Description
sequenceNumber int The sequence number of the message

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginGetMessageSize(int sequenceNumber, System.AsyncCallback callback)

public final System.IAsyncResult beginGetMessageSize(int sequenceNumber, System.AsyncCallback callback)

Begins GetMessageSize operation asynchronously

Parameters:

Parameter Type Description
sequenceNumber int The sequence number of the message
callback com.aspose.ms.System.AsyncCallback References a method to be called when a corresponding asynchronous operation completes.

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginGetMessageSize(int sequenceNumber, System.AsyncCallback callback, Object state)

public final System.IAsyncResult beginGetMessageSize(int sequenceNumber, System.AsyncCallback callback, Object state)

Begins GetMessageSize operation asynchronously

Parameters:

Parameter Type Description
sequenceNumber int The sequence number of the message
callback com.aspose.ms.System.AsyncCallback References a method to be called when a corresponding asynchronous operation completes.
state java.lang.Object The state.

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginGetMessageSize(String uniqueId)

public final System.IAsyncResult beginGetMessageSize(String uniqueId)

Begins GetMessageSize operation asynchronously

Parameters:

Parameter Type Description
uniqueId java.lang.String The unique id of the message

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginGetMessageSize(String uniqueId, System.AsyncCallback callback)

public final System.IAsyncResult beginGetMessageSize(String uniqueId, System.AsyncCallback callback)

Begins GetMessageSize operation asynchronously

Parameters:

Parameter Type Description
uniqueId java.lang.String The unique id of the message
callback com.aspose.ms.System.AsyncCallback References a method to be called when a corresponding asynchronous operation completes.

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginGetMessageSize(String uniqueId, System.AsyncCallback callback, Object state)

public final System.IAsyncResult beginGetMessageSize(String uniqueId, System.AsyncCallback callback, Object state)

Begins GetMessageSize operation asynchronously

Parameters:

Parameter Type Description
uniqueId java.lang.String The unique id of the message
callback com.aspose.ms.System.AsyncCallback References a method to be called when a corresponding asynchronous operation completes.
state java.lang.Object The state.

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginGetMessageUniqueId(IConnection connection, int sequenceNumber)

public final System.IAsyncResult beginGetMessageUniqueId(IConnection connection, int sequenceNumber)

Begins to get the message unique id

Parameters:

Parameter Type Description
connection IConnection Connection to a server
sequenceNumber int The sequence number of the message

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginGetMessageUniqueId(IConnection connection, int sequenceNumber, System.AsyncCallback callback)

public final System.IAsyncResult beginGetMessageUniqueId(IConnection connection, int sequenceNumber, System.AsyncCallback callback)

Begins to get the message unique id

Parameters:

Parameter Type Description
connection IConnection Connection to a server
sequenceNumber int The sequence number of the message
callback com.aspose.ms.System.AsyncCallback References a method to be called when a corresponding asynchronous operation completes.

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginGetMessageUniqueId(IConnection connection, int sequenceNumber, System.AsyncCallback callback, Object state)

public final System.IAsyncResult beginGetMessageUniqueId(IConnection connection, int sequenceNumber, System.AsyncCallback callback, Object state)

Begins to get the message unique id

Parameters:

Parameter Type Description
connection IConnection Connection to a server
sequenceNumber int The sequence number of the message
callback com.aspose.ms.System.AsyncCallback References a method to be called when a corresponding asynchronous operation completes.
state java.lang.Object The state.

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginGetMessageUniqueId(int sequenceNumber)

public final System.IAsyncResult beginGetMessageUniqueId(int sequenceNumber)

Begins to get the message unique id

Parameters:

Parameter Type Description
sequenceNumber int The sequence number of the message

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginGetMessageUniqueId(int sequenceNumber, System.AsyncCallback callback)

public final System.IAsyncResult beginGetMessageUniqueId(int sequenceNumber, System.AsyncCallback callback)

Begins to get the message unique id

Parameters:

Parameter Type Description
sequenceNumber int The sequence number of the message
callback com.aspose.ms.System.AsyncCallback References a method to be called when a corresponding asynchronous operation completes.

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginGetMessageUniqueId(int sequenceNumber, System.AsyncCallback callback, Object state)

public final System.IAsyncResult beginGetMessageUniqueId(int sequenceNumber, System.AsyncCallback callback, Object state)

Begins to get the message unique id

Parameters:

Parameter Type Description
sequenceNumber int The sequence number of the message
callback com.aspose.ms.System.AsyncCallback References a method to be called when a corresponding asynchronous operation completes.
state java.lang.Object The state.

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginListMessages()

public final System.IAsyncResult beginListMessages()

Begins ListMessages operation asynchronously

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginListMessages(IConnection connection)

public final System.IAsyncResult beginListMessages(IConnection connection)

Begins ListMessages operation asynchronously

Parameters:

Parameter Type Description
connection IConnection Connection to a server

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginListMessages(IConnection connection, MailQuery query)

public final System.IAsyncResult beginListMessages(IConnection connection, MailQuery query)

Begins ListMessage operation asynchronously

Parameters:

Parameter Type Description
connection IConnection Connection to a server
query MailQuery MailQuery that represents search query.

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginListMessages(IConnection connection, MailQuery query, System.AsyncCallback callback)

public final System.IAsyncResult beginListMessages(IConnection connection, MailQuery query, System.AsyncCallback callback)

Begins ListMessage operation asynchronously

Parameters:

Parameter Type Description
connection IConnection Connection to a server
query MailQuery The MailQuery object.
callback com.aspose.ms.System.AsyncCallback References a method to be called when a corresponding asynchronous operation completes.

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginListMessages(IConnection connection, MailQuery query, System.AsyncCallback callback, Object state)

public final System.IAsyncResult beginListMessages(IConnection connection, MailQuery query, System.AsyncCallback callback, Object state)

Begins ListMessage operation asynchronously

Parameters:

Parameter Type Description
connection IConnection Connection to a server
query MailQuery The MailQuery object.
callback com.aspose.ms.System.AsyncCallback References a method to be called when a corresponding asynchronous operation completes.
state java.lang.Object The state.

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginListMessages(IConnection connection, System.AsyncCallback callback)

public final System.IAsyncResult beginListMessages(IConnection connection, System.AsyncCallback callback)

Begins ListMessages operation asynchronously

Parameters:

Parameter Type Description
connection IConnection Connection to a server
callback com.aspose.ms.System.AsyncCallback References a method to be called when a corresponding asynchronous operation completes.

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginListMessages(IConnection connection, System.AsyncCallback callback, Object state)

public final System.IAsyncResult beginListMessages(IConnection connection, System.AsyncCallback callback, Object state)

Begins ListMessages operation asynchronously

Parameters:

Parameter Type Description
connection IConnection Connection to a server
callback com.aspose.ms.System.AsyncCallback References a method to be called when a corresponding asynchronous operation completes.
state java.lang.Object The state.

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginListMessages(IConnection connection, int fields, boolean closeTransaction, MailQuery query, System.AsyncCallback callback, Object state)

public final System.IAsyncResult beginListMessages(IConnection connection, int fields, boolean closeTransaction, MailQuery query, System.AsyncCallback callback, Object state)

Begins ListMessage operation asynchronously

Parameters:

Parameter Type Description
connection IConnection Connection to a server
fields int The fields that we want get
closeTransaction boolean Indicates if current transaction has to be closed, before the list is retrieved.
query MailQuery The MailQuery object.
callback com.aspose.ms.System.AsyncCallback References a method to be called when a corresponding asynchronous operation completes.
state java.lang.Object The state.

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginListMessages(MailQuery query)

public final System.IAsyncResult beginListMessages(MailQuery query)

Begins ListMessage operation asynchronously

Parameters:

Parameter Type Description
query MailQuery MailQuery that represents search query.

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginListMessages(MailQuery query, System.AsyncCallback callback)

public final System.IAsyncResult beginListMessages(MailQuery query, System.AsyncCallback callback)

Begins ListMessage operation asynchronously

Parameters:

Parameter Type Description
query MailQuery The MailQuery object.
callback com.aspose.ms.System.AsyncCallback References a method to be called when a corresponding asynchronous operation completes.

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginListMessages(MailQuery query, System.AsyncCallback callback, Object state)

public final System.IAsyncResult beginListMessages(MailQuery query, System.AsyncCallback callback, Object state)

Begins ListMessage operation asynchronously

Parameters:

Parameter Type Description
query MailQuery The MailQuery object.
callback com.aspose.ms.System.AsyncCallback References a method to be called when a corresponding asynchronous operation completes.
state java.lang.Object The state.

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginListMessages(System.AsyncCallback callback)

public final System.IAsyncResult beginListMessages(System.AsyncCallback callback)

Begins ListMessages operation asynchronously

Parameters:

Parameter Type Description
callback com.aspose.ms.System.AsyncCallback References a method to be called when a corresponding asynchronous operation completes.

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginListMessages(System.AsyncCallback callback, Object state)

public final System.IAsyncResult beginListMessages(System.AsyncCallback callback, Object state)

Begins ListMessages operation asynchronously

Parameters:

Parameter Type Description
callback com.aspose.ms.System.AsyncCallback References a method to be called when a corresponding asynchronous operation completes.
state java.lang.Object The state.

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginLoadMessageInfoList(IConnection connection, Iterable messageInfoList)

public final System.IAsyncResult beginLoadMessageInfoList(IConnection connection, Iterable<Pop3MessageInfo> messageInfoList)

Begins load list of Pop3MessageInfo asynchronously

Parameters:

Parameter Type Description
connection IConnection Connection to a server
messageInfoList java.lang.Iterable<com.aspose.email.Pop3MessageInfo> Message info list to load

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginLoadMessageInfoList(IConnection connection, Iterable messageInfoList, System.AsyncCallback callback)

public final System.IAsyncResult beginLoadMessageInfoList(IConnection connection, Iterable<Pop3MessageInfo> messageInfoList, System.AsyncCallback callback)

Begins load list of Pop3MessageInfo asynchronously

Parameters:

Parameter Type Description
connection IConnection Connection to a server
messageInfoList java.lang.Iterable<com.aspose.email.Pop3MessageInfo> Message info list to load
callback com.aspose.ms.System.AsyncCallback References a method to be called when a corresponding asynchronous operation completes.

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginLoadMessageInfoList(IConnection connection, Iterable messageInfoList, System.AsyncCallback callback, Object state)

public final System.IAsyncResult beginLoadMessageInfoList(IConnection connection, Iterable<Pop3MessageInfo> messageInfoList, System.AsyncCallback callback, Object state)

Begins load list of Pop3MessageInfo asynchronously

Parameters:

Parameter Type Description
connection IConnection Connection to a server
messageInfoList java.lang.Iterable<com.aspose.email.Pop3MessageInfo> Message info list to load
callback com.aspose.ms.System.AsyncCallback References a method to be called when a corresponding asynchronous operation completes.
state java.lang.Object The state.

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginLoadMessageInfoList(Iterable messageInfoList)

public final System.IAsyncResult beginLoadMessageInfoList(Iterable<Pop3MessageInfo> messageInfoList)

Begins load list of Pop3MessageInfo asynchronously

Parameters:

Parameter Type Description
messageInfoList java.lang.Iterable<com.aspose.email.Pop3MessageInfo> Message info list to load

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginLoadMessageInfoList(Iterable messageInfoList, System.AsyncCallback callback)

public final System.IAsyncResult beginLoadMessageInfoList(Iterable<Pop3MessageInfo> messageInfoList, System.AsyncCallback callback)

Begins load list of Pop3MessageInfo asynchronously

Parameters:

Parameter Type Description
messageInfoList java.lang.Iterable<com.aspose.email.Pop3MessageInfo> Message info list to load
callback com.aspose.ms.System.AsyncCallback References a method to be called when a corresponding asynchronous operation completes.

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginLoadMessageInfoList(Iterable messageInfoList, System.AsyncCallback callback, Object state)

public final System.IAsyncResult beginLoadMessageInfoList(Iterable<Pop3MessageInfo> messageInfoList, System.AsyncCallback callback, Object state)

Begins load list of Pop3MessageInfo asynchronously

Parameters:

Parameter Type Description
messageInfoList java.lang.Iterable<com.aspose.email.Pop3MessageInfo> Message info list to load
callback com.aspose.ms.System.AsyncCallback References a method to be called when a corresponding asynchronous operation completes.
state java.lang.Object The state.

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginLoadMessageInfoListBySequence(IConnection connection, Iterable sequenceNumberList)

public final System.IAsyncResult beginLoadMessageInfoListBySequence(IConnection connection, Iterable<Integer> sequenceNumberList)

Begins load list of Pop3MessageInfo asynchronously

Parameters:

Parameter Type Description
connection IConnection Connection to a server
sequenceNumberList java.lang.Iterable<java.lang.Integer> The sequence numbers list of messages

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginLoadMessageInfoListBySequence(IConnection connection, Iterable sequenceNumberList, System.AsyncCallback callback)

public final System.IAsyncResult beginLoadMessageInfoListBySequence(IConnection connection, Iterable<Integer> sequenceNumberList, System.AsyncCallback callback)

Begins load list of Pop3MessageInfo asynchronously

Parameters:

Parameter Type Description
connection IConnection Connection to a server
sequenceNumberList java.lang.Iterable<java.lang.Integer> The sequence numbers list of messages
callback com.aspose.ms.System.AsyncCallback References a method to be called when a corresponding asynchronous operation completes.

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginLoadMessageInfoListBySequence(IConnection connection, Iterable sequenceNumberList, System.AsyncCallback callback, Object state)

public final System.IAsyncResult beginLoadMessageInfoListBySequence(IConnection connection, Iterable<Integer> sequenceNumberList, System.AsyncCallback callback, Object state)

Begins load list of Pop3MessageInfo asynchronously

Parameters:

Parameter Type Description
connection IConnection Connection to a server
sequenceNumberList java.lang.Iterable<java.lang.Integer> The sequence numbers list of messages
callback com.aspose.ms.System.AsyncCallback References a method to be called when a corresponding asynchronous operation completes.
state java.lang.Object The state.

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginLoadMessageInfoListBySequence(Iterable sequenceNumberList)

public final System.IAsyncResult beginLoadMessageInfoListBySequence(Iterable<Integer> sequenceNumberList)

Begins load list of Pop3MessageInfo asynchronously

Parameters:

Parameter Type Description
sequenceNumberList java.lang.Iterable<java.lang.Integer> The sequence numbers list of messages

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginLoadMessageInfoListBySequence(Iterable sequenceNumberList, System.AsyncCallback callback)

public final System.IAsyncResult beginLoadMessageInfoListBySequence(Iterable<Integer> sequenceNumberList, System.AsyncCallback callback)

Begins load list of Pop3MessageInfo asynchronously

Parameters:

Parameter Type Description
sequenceNumberList java.lang.Iterable<java.lang.Integer> The sequence numbers list of messages
callback com.aspose.ms.System.AsyncCallback References a method to be called when a corresponding asynchronous operation completes.

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginLoadMessageInfoListBySequence(Iterable sequenceNumberList, System.AsyncCallback callback, Object state)

public final System.IAsyncResult beginLoadMessageInfoListBySequence(Iterable<Integer> sequenceNumberList, System.AsyncCallback callback, Object state)

Begins load list of Pop3MessageInfo asynchronously

Parameters:

Parameter Type Description
sequenceNumberList java.lang.Iterable<java.lang.Integer> The sequence numbers list of messages
callback com.aspose.ms.System.AsyncCallback References a method to be called when a corresponding asynchronous operation completes.
state java.lang.Object The state.

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginNoop()

public final System.IAsyncResult beginNoop()

Begins ‘No operation’ command.

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginNoop(IConnection connection)

public final System.IAsyncResult beginNoop(IConnection connection)

Begins ‘No operation’ command.

Parameters:

Parameter Type Description
connection IConnection Connection to a server

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginNoop(IConnection connection, System.AsyncCallback callback)

public final System.IAsyncResult beginNoop(IConnection connection, System.AsyncCallback callback)

Begins ‘No operation’ command.

Parameters:

Parameter Type Description
connection IConnection Connection to a server
callback com.aspose.ms.System.AsyncCallback References a method to be called when a corresponding asynchronous operation completes.

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginNoop(IConnection connection, System.AsyncCallback callback, Object state)

public final System.IAsyncResult beginNoop(IConnection connection, System.AsyncCallback callback, Object state)

Begins ‘No operation’ command.

Parameters:

Parameter Type Description
connection IConnection Connection to a server
callback com.aspose.ms.System.AsyncCallback References a method to be called when a corresponding asynchronous operation completes.
state java.lang.Object The state.

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginNoop(System.AsyncCallback callback)

public final System.IAsyncResult beginNoop(System.AsyncCallback callback)

Begins ‘No operation’ command.

Parameters:

Parameter Type Description
callback com.aspose.ms.System.AsyncCallback References a method to be called when a corresponding asynchronous operation completes.

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginNoop(System.AsyncCallback callback, Object state)

public final System.IAsyncResult beginNoop(System.AsyncCallback callback, Object state)

Begins ‘No operation’ command.

Parameters:

Parameter Type Description
callback com.aspose.ms.System.AsyncCallback References a method to be called when a corresponding asynchronous operation completes.
state java.lang.Object The state.

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginSaveMessage(IConnection connection, int sequenceNumber, OutputStream outputStream)

public final System.IAsyncResult beginSaveMessage(IConnection connection, int sequenceNumber, OutputStream outputStream)

Begins SaveMessage operation asynchronously

Parameters:

Parameter Type Description
connection IConnection Connection to a server
sequenceNumber int The sequence number of the message
outputStream java.io.OutputStream Stream where message will be saved

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginSaveMessage(IConnection connection, int sequenceNumber, OutputStream outputStream, System.AsyncCallback callback)

public final System.IAsyncResult beginSaveMessage(IConnection connection, int sequenceNumber, OutputStream outputStream, System.AsyncCallback callback)

Begins SaveMessage operation asynchronously

Parameters:

Parameter Type Description
connection IConnection Connection to a server
sequenceNumber int The sequence number of the message
outputStream java.io.OutputStream Stream where message will be saved
callback com.aspose.ms.System.AsyncCallback References a method to be called when a corresponding asynchronous operation completes.

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginSaveMessage(IConnection connection, int sequenceNumber, OutputStream outputStream, System.AsyncCallback callback, Object state)

public final System.IAsyncResult beginSaveMessage(IConnection connection, int sequenceNumber, OutputStream outputStream, System.AsyncCallback callback, Object state)

Begins SaveMessage operation asynchronously

Parameters:

Parameter Type Description
connection IConnection Connection to a server
sequenceNumber int The sequence number of the message
outputStream java.io.OutputStream Stream where message will be saved
callback com.aspose.ms.System.AsyncCallback References a method to be called when a corresponding asynchronous operation completes.
state java.lang.Object The state.

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginSaveMessage(IConnection connection, String uniqueId, OutputStream outputStream)

public final System.IAsyncResult beginSaveMessage(IConnection connection, String uniqueId, OutputStream outputStream)

Begins SaveMessage operation asynchronously

Parameters:

Parameter Type Description
connection IConnection Connection to a server
uniqueId java.lang.String The unique Id of the message
outputStream java.io.OutputStream Stream where message will be saved

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginSaveMessage(IConnection connection, String uniqueId, OutputStream outputStream, System.AsyncCallback callback)

public final System.IAsyncResult beginSaveMessage(IConnection connection, String uniqueId, OutputStream outputStream, System.AsyncCallback callback)

Begins SaveMessage operation asynchronously

Parameters:

Parameter Type Description
connection IConnection Connection to a server
uniqueId java.lang.String The unique Id of the message
outputStream java.io.OutputStream Stream where message will be saved
callback com.aspose.ms.System.AsyncCallback References a method to be called when a corresponding asynchronous operation completes.

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginSaveMessage(IConnection connection, String uniqueId, OutputStream outputStream, System.AsyncCallback callback, Object state)

public final System.IAsyncResult beginSaveMessage(IConnection connection, String uniqueId, OutputStream outputStream, System.AsyncCallback callback, Object state)

Begins SaveMessage operation asynchronously

Parameters:

Parameter Type Description
connection IConnection Connection to a server
uniqueId java.lang.String The unique Id of the message
outputStream java.io.OutputStream Stream where message will be saved
callback com.aspose.ms.System.AsyncCallback References a method to be called when a corresponding asynchronous operation completes.
state java.lang.Object The state.

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginSaveMessage(int sequenceNumber, OutputStream outputStream)

public final System.IAsyncResult beginSaveMessage(int sequenceNumber, OutputStream outputStream)

Begins SaveMessage operation asynchronously

Parameters:

Parameter Type Description
sequenceNumber int The sequence number of the message
outputStream java.io.OutputStream Stream where message will be saved

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginSaveMessage(int sequenceNumber, OutputStream outputStream, System.AsyncCallback callback)

public final System.IAsyncResult beginSaveMessage(int sequenceNumber, OutputStream outputStream, System.AsyncCallback callback)

Begins SaveMessage operation asynchronously

Parameters:

Parameter Type Description
sequenceNumber int The sequence number of the message
outputStream java.io.OutputStream Stream where message will be saved
callback com.aspose.ms.System.AsyncCallback References a method to be called when a corresponding asynchronous operation completes.

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginSaveMessage(int sequenceNumber, OutputStream outputStream, System.AsyncCallback callback, Object state)

public final System.IAsyncResult beginSaveMessage(int sequenceNumber, OutputStream outputStream, System.AsyncCallback callback, Object state)

Begins SaveMessage operation asynchronously

Parameters:

Parameter Type Description
sequenceNumber int The sequence number of the message
outputStream java.io.OutputStream Stream where message will be saved
callback com.aspose.ms.System.AsyncCallback References a method to be called when a corresponding asynchronous operation completes.
state java.lang.Object The state.

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginSaveMessage(String uniqueId, OutputStream outputStream)

public final System.IAsyncResult beginSaveMessage(String uniqueId, OutputStream outputStream)

Begins SaveMessage operation asynchronously

Parameters:

Parameter Type Description
uniqueId java.lang.String The unique Id of the message
outputStream java.io.OutputStream Stream where message will be saved

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginSaveMessage(String uniqueId, OutputStream outputStream, System.AsyncCallback callback)

public final System.IAsyncResult beginSaveMessage(String uniqueId, OutputStream outputStream, System.AsyncCallback callback)

Begins SaveMessage operation asynchronously

Parameters:

Parameter Type Description
uniqueId java.lang.String The unique Id of the message
outputStream java.io.OutputStream Stream where message will be saved
callback com.aspose.ms.System.AsyncCallback References a method to be called when a corresponding asynchronous operation completes.

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginSaveMessage(String uniqueId, OutputStream outputStream, System.AsyncCallback callback, Object state)

public final System.IAsyncResult beginSaveMessage(String uniqueId, OutputStream outputStream, System.AsyncCallback callback, Object state)

Begins SaveMessage operation asynchronously

Parameters:

Parameter Type Description
uniqueId java.lang.String The unique Id of the message
outputStream java.io.OutputStream Stream where message will be saved
callback com.aspose.ms.System.AsyncCallback References a method to be called when a corresponding asynchronous operation completes.
state java.lang.Object The state.

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginUndeleteMessages()

public final System.IAsyncResult beginUndeleteMessages()

Begins undeletes the messages. If any messages have been marked as deleted by the POP3 server, they are unmarked.

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginUndeleteMessages(IConnection connection)

public final System.IAsyncResult beginUndeleteMessages(IConnection connection)

Begins undeletes the messages. If any messages have been marked as deleted by the POP3 server, they are unmarked.

Parameters:

Parameter Type Description
connection IConnection Connection to a server

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginUndeleteMessages(IConnection connection, System.AsyncCallback callback)

public final System.IAsyncResult beginUndeleteMessages(IConnection connection, System.AsyncCallback callback)

Begins undeletes the messages. If any messages have been marked as deleted by the POP3 server, they are unmarked.

Parameters:

Parameter Type Description
connection IConnection Connection to a server
callback com.aspose.ms.System.AsyncCallback References a method to be called when a corresponding asynchronous operation completes.

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginUndeleteMessages(IConnection connection, System.AsyncCallback callback, Object state)

public final System.IAsyncResult beginUndeleteMessages(IConnection connection, System.AsyncCallback callback, Object state)

Begins undeletes the messages. If any messages have been marked as deleted by the POP3 server, they are unmarked.

Parameters:

Parameter Type Description
connection IConnection Connection to a server
callback com.aspose.ms.System.AsyncCallback References a method to be called when a corresponding asynchronous operation completes.
state java.lang.Object The state.

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginUndeleteMessages(System.AsyncCallback callback)

public final System.IAsyncResult beginUndeleteMessages(System.AsyncCallback callback)

Begins undeletes the messages. If any messages have been marked as deleted by the POP3 server, they are unmarked.

Parameters:

Parameter Type Description
callback com.aspose.ms.System.AsyncCallback References a method to be called when a corresponding asynchronous operation completes.

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginUndeleteMessages(System.AsyncCallback callback, Object state)

public final System.IAsyncResult beginUndeleteMessages(System.AsyncCallback callback, Object state)

Begins undeletes the messages. If any messages have been marked as deleted by the POP3 server, they are unmarked.

Parameters:

Parameter Type Description
callback com.aspose.ms.System.AsyncCallback References a method to be called when a corresponding asynchronous operation completes.
state java.lang.Object The state.

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginValidateCredentials()

public final System.IAsyncResult beginValidateCredentials()

Begins to execute credentials validation

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginValidateCredentials(IConnection connection)

public final System.IAsyncResult beginValidateCredentials(IConnection connection)

Begins to execute credentials validation

Parameters:

Parameter Type Description
connection IConnection Connection to a server

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginValidateCredentials(IConnection connection, System.AsyncCallback callback)

public final System.IAsyncResult beginValidateCredentials(IConnection connection, System.AsyncCallback callback)

Begins to execute credentials validation

Parameters:

Parameter Type Description
connection IConnection Connection to a server
callback com.aspose.ms.System.AsyncCallback References a method to be called when a corresponding asynchronous operation completes.

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginValidateCredentials(IConnection connection, System.AsyncCallback callback, Object state)

public final System.IAsyncResult beginValidateCredentials(IConnection connection, System.AsyncCallback callback, Object state)

Begins to execute credentials validation

Parameters:

Parameter Type Description
connection IConnection Connection to a server
callback com.aspose.ms.System.AsyncCallback References a method to be called when a corresponding asynchronous operation completes.
state java.lang.Object The state.

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginValidateCredentials(System.AsyncCallback callback)

public final System.IAsyncResult beginValidateCredentials(System.AsyncCallback callback)

Begins to execute credentials validation

Parameters:

Parameter Type Description
callback com.aspose.ms.System.AsyncCallback References a method to be called when a corresponding asynchronous operation completes.

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

beginValidateCredentials(System.AsyncCallback callback, Object state)

public final System.IAsyncResult beginValidateCredentials(System.AsyncCallback callback, Object state)

Begins to execute credentials validation

Parameters:

Parameter Type Description
callback com.aspose.ms.System.AsyncCallback References a method to be called when a corresponding asynchronous operation completes.
state java.lang.Object The state.

Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.

bindIPEndPoint(BindIPEndPointHandler handler)

public void bindIPEndPoint(BindIPEndPointHandler handler)

Associates a Socket with a local endpoint.

Parameters:

Parameter Type Description
handler BindIPEndPointHandler

cancelAsyncOperation(System.IAsyncResult asyncResult)

public final void cancelAsyncOperation(System.IAsyncResult asyncResult)

Cancels asynchronous operation.

Parameters:

Parameter Type Description
asyncResult com.aspose.ms.System.IAsyncResult Defines asynchronous operation to cancel.

close()

public void close()

commitDeletes()

public final void commitDeletes()

Commit the deletions

commitDeletes(IConnection connection)

public final void commitDeletes(IConnection connection)

Commit the deletions

Parameters:

Parameter Type Description
connection IConnection Connection to a server

commitDeletes(int sleep)

public final void commitDeletes(int sleep)

Commit the deletions

Parameters:

Parameter Type Description
sleep int Timeout in milliseconds

connectIPEndPoint(BindIPEndPointHandler handler)

public void connectIPEndPoint(BindIPEndPointHandler handler)

Associates a Socket with a remote endpoint.

Parameters:

Parameter Type Description
handler BindIPEndPointHandler

createConnection()

public IConnection createConnection()

Creates new independent connection for operations not linked to threads (not default connection). Invocation of this method is similar to invocation of CreateConnection(createAsDefaultConnection = false) Please see more in documentation for EmailClient.ConnectionAsgmtMode property.

Returns: IConnection - Returns connection object

createConnection(boolean createAsDefaultConnection)

public IConnection createConnection(boolean createAsDefaultConnection)

Creates new (default or independent) connection for operations. Please see more in documentation for EmailClient.ConnectionAsgmtMode property.

Parameters:

Parameter Type Description
createAsDefaultConnection boolean Indicates if connection has to be created as default for current thread

Returns: IConnection - Returns connection object

deleteMessage(IConnection connection, int sequenceNumber)

public final void deleteMessage(IConnection connection, int sequenceNumber)

Deletes the message

Parameters:

Parameter Type Description
connection IConnection Connection to a server
sequenceNumber int The sequence number of the message

The POP3 server marks the message as deleted. The POP3 server does not actually delete the message until the POP3 session enters the UPDATE state. |

deleteMessage(IConnection connection, String uniqueId)

public final void deleteMessage(IConnection connection, String uniqueId)

Deletes the message

Parameters:

Parameter Type Description
connection IConnection Connection to a server
uniqueId java.lang.String The unique id of the message

The POP3 server marks the message as deleted. The POP3 server does not actually delete the message until the POP3 session enters the UPDATE state. |

deleteMessage(int sequenceNumber)

public final void deleteMessage(int sequenceNumber)

Deletes the message

Parameters:

Parameter Type Description
sequenceNumber int The sequence number of the message

The POP3 server marks the message as deleted. The POP3 server does not actually delete the message until the POP3 session enters the UPDATE state. |

deleteMessage(String uniqueId)

public final void deleteMessage(String uniqueId)

Deletes the message

Parameters:

Parameter Type Description
uniqueId java.lang.String The unique id of the message

The POP3 server marks the message as deleted. The POP3 server does not actually delete the message until the POP3 session enters the UPDATE state. |

deleteMessages()

public final void deleteMessages()

Deletes all messages


The POP3 server marks the message as deleted. The POP3 server does not actually delete the message until the POP3 session enters the UPDATE state.

deleteMessages(IConnection connection)

public final void deleteMessages(IConnection connection)

Deletes all messages

Parameters:

Parameter Type Description
connection IConnection Connection to a server

The POP3 server marks the message as deleted. The POP3 server does not actually delete the message until the POP3 session enters the UPDATE state. |

dispose()

public void dispose()

Finalizes all operations with a server.

endCommitDeletes(System.IAsyncResult asyncResult)

public final void endCommitDeletes(System.IAsyncResult asyncResult)

Waits for the asynchronous operation to complete.

Parameters:

Parameter Type Description
asyncResult com.aspose.ms.System.IAsyncResult The reference to the pending asynchronous request to wait for.

endDeleteMessage(System.IAsyncResult asyncResult)

public final void endDeleteMessage(System.IAsyncResult asyncResult)

Waits for the asynchronous operation to complete.

Parameters:

Parameter Type Description
asyncResult com.aspose.ms.System.IAsyncResult The reference to the pending asynchronous request to wait for.

endDeleteMessages(System.IAsyncResult asyncResult)

public final void endDeleteMessages(System.IAsyncResult asyncResult)

Waits for the asynchronous operation to complete.

Parameters:

Parameter Type Description
asyncResult com.aspose.ms.System.IAsyncResult The reference to the pending asynchronous request to wait for.

endFetchMessage(System.IAsyncResult asyncResult)

public final MailMessage endFetchMessage(System.IAsyncResult asyncResult)

Waits for the asynchronous operation to complete.

Parameters:

Parameter Type Description
asyncResult com.aspose.ms.System.IAsyncResult The reference to the pending asynchronous request to wait for.

Returns: MailMessage - MailMessage that represents e-mail message

endFetchMessages(System.IAsyncResult asyncResult)

public final Iterable<MailMessage> endFetchMessages(System.IAsyncResult asyncResult)

Waits for the asynchronous operation to complete.

Parameters:

Parameter Type Description
asyncResult com.aspose.ms.System.IAsyncResult The reference to the pending asynchronous request to wait for.

Returns: java.lang.Iterable<com.aspose.email.MailMessage> - List of MailMessage objects

endGetMailboxInfo(System.IAsyncResult asyncResult)

public final Pop3MailboxInfo endGetMailboxInfo(System.IAsyncResult asyncResult)

Waits for the asynchronous operation to complete.

Parameters:

Parameter Type Description
asyncResult com.aspose.ms.System.IAsyncResult The reference to the pending asynchronous request to wait for.

Returns: Pop3MailboxInfo - Mailbox information

endGetMailboxSize(System.IAsyncResult asyncResult)

public final long endGetMailboxSize(System.IAsyncResult asyncResult)

Waits for the asynchronous operation to complete.

Parameters:

Parameter Type Description
asyncResult com.aspose.ms.System.IAsyncResult The reference to the pending asynchronous request to wait for.

Returns: long - size of the mailbox in bytes

endGetMessageCount(System.IAsyncResult asyncResult)

public final int endGetMessageCount(System.IAsyncResult asyncResult)

Waits for the asynchronous operation to complete.

Parameters:

Parameter Type Description
asyncResult com.aspose.ms.System.IAsyncResult The reference to the pending asynchronous request to wait for.

Returns: int - message count

endGetMessageHeaders(System.IAsyncResult asyncResult)

public final HeaderCollection endGetMessageHeaders(System.IAsyncResult asyncResult)

Waits for the asynchronous operation to complete.

Parameters:

Parameter Type Description
asyncResult com.aspose.ms.System.IAsyncResult The reference to the pending asynchronous request to wait for.

Returns: HeaderCollection

endGetMessageInfo(System.IAsyncResult asyncResult)

public final Pop3MessageInfo endGetMessageInfo(System.IAsyncResult asyncResult)

Waits for the asynchronous operation to complete.

Parameters:

Parameter Type Description
asyncResult com.aspose.ms.System.IAsyncResult The reference to the pending asynchronous request to wait for.

Returns: Pop3MessageInfo

endGetMessageSize(System.IAsyncResult asyncResult)

public final long endGetMessageSize(System.IAsyncResult asyncResult)

Waits for the asynchronous operation to complete.

Parameters:

Parameter Type Description
asyncResult com.aspose.ms.System.IAsyncResult The reference to the pending asynchronous request to wait for.

Returns: long - size of the message in bytes

endGetMessageUniqueId(System.IAsyncResult asyncResult)

public final String endGetMessageUniqueId(System.IAsyncResult asyncResult)

Waits for the asynchronous operation to complete.

Parameters:

Parameter Type Description
asyncResult com.aspose.ms.System.IAsyncResult

Returns: java.lang.String - String that represents uid of the message

endListMessages(System.IAsyncResult asyncResult)

public final Pop3MessageInfoCollection endListMessages(System.IAsyncResult asyncResult)

Waits for the asynchronous operation to complete.

Parameters:

Parameter Type Description
asyncResult com.aspose.ms.System.IAsyncResult The reference to the pending asynchronous request to wait for.

Returns: Pop3MessageInfoCollection - Returns collection of Pop3MessageInfo

endLoadMessageInfoList(System.IAsyncResult asyncResult)

public final Pop3MessageInfoCollection endLoadMessageInfoList(System.IAsyncResult asyncResult)

Waits for the asynchronous operation to complete.

Parameters:

Parameter Type Description
asyncResult com.aspose.ms.System.IAsyncResult The reference to the pending asynchronous request to wait for.

Returns: Pop3MessageInfoCollection - Pop3MessageInfoCollection

endNoop(System.IAsyncResult asyncResult)

public final void endNoop(System.IAsyncResult asyncResult)

Waits for the asynchronous operation to complete.

Parameters:

Parameter Type Description
asyncResult com.aspose.ms.System.IAsyncResult The reference to the pending asynchronous request to wait for.

endSaveMessage(System.IAsyncResult asyncResult)

public final void endSaveMessage(System.IAsyncResult asyncResult)

Waits for the asynchronous operation to complete.

Parameters:

Parameter Type Description
asyncResult com.aspose.ms.System.IAsyncResult The reference to the pending asynchronous request to wait for.

endUndeleteMessages(System.IAsyncResult asyncResult)

public final void endUndeleteMessages(System.IAsyncResult asyncResult)

Waits for the asynchronous operation to complete.

Parameters:

Parameter Type Description
asyncResult com.aspose.ms.System.IAsyncResult The reference to the pending asynchronous request to wait for.

endValidateCredentials(System.IAsyncResult asyncResult)

public final boolean endValidateCredentials(System.IAsyncResult asyncResult)

Waits for the pending asynchronous operation to complete.

Parameters:

Parameter Type Description
asyncResult com.aspose.ms.System.IAsyncResult The reference to the pending asynchronous request to wait for.

Returns: boolean - True if authentication was successful, otherwise false.

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

Parameter Type Description
arg0 java.lang.Object

Returns: boolean

fetchMessage(IConnection connection, int sequenceNumber)

public final MailMessage fetchMessage(IConnection connection, int sequenceNumber)

Fetches the message

Parameters:

Parameter Type Description
connection IConnection Connection to a server
sequenceNumber int The sequence number of the message

Returns: MailMessage - MailMessage that represents e-mail message

fetchMessage(IConnection connection, String uniqueId)

public final MailMessage fetchMessage(IConnection connection, String uniqueId)

Fetches the message

Parameters:

Parameter Type Description
connection IConnection Connection to a server
uniqueId java.lang.String The unique id of the message

Returns: MailMessage - MailMessage that represents e-mail message

fetchMessage(int sequenceNumber)

public final MailMessage fetchMessage(int sequenceNumber)

Fetches the message

Parameters:

Parameter Type Description
sequenceNumber int The sequence number of the message

Returns: MailMessage - MailMessage that represents e-mail message

fetchMessage(String uniqueId)

public final MailMessage fetchMessage(String uniqueId)

Fetches the message

Parameters:

Parameter Type Description
uniqueId java.lang.String The unique id of the message

Returns: MailMessage - MailMessage that represents e-mail message

fetchMessagesBySequences(IConnection connection, Iterable sequenceNumbers)

public final Iterable<MailMessage> fetchMessagesBySequences(IConnection connection, Iterable<Integer> sequenceNumbers)

Fetches the messages

Parameters:

Parameter Type Description
connection IConnection Connection to a server
sequenceNumbers java.lang.Iterable<java.lang.Integer> The sequence numbers of the messages

Returns: java.lang.Iterable<com.aspose.email.MailMessage> - List of MailMessage objects

fetchMessagesBySequences(Iterable sequenceNumbers)

public final Iterable<MailMessage> fetchMessagesBySequences(Iterable<Integer> sequenceNumbers)

Fetches the messages

Parameters:

Parameter Type Description
sequenceNumbers java.lang.Iterable<java.lang.Integer> The sequence numbers of the messages

Returns: java.lang.Iterable<com.aspose.email.MailMessage> - List of MailMessage objects

fetchMessagesByUids(IConnection connection, Iterable uids)

public final Iterable<MailMessage> fetchMessagesByUids(IConnection connection, Iterable<String> uids)

Fetches the messages

Parameters:

Parameter Type Description
connection IConnection Connection to a server
uids java.lang.Iterable<java.lang.String> The sequence numbers of the messages

Returns: java.lang.Iterable<com.aspose.email.MailMessage> - List of MailMessage objects

fetchMessagesByUids(Iterable uids)

public final Iterable<MailMessage> fetchMessagesByUids(Iterable<String> uids)

Fetches the messages

Parameters:

Parameter Type Description
uids java.lang.Iterable<java.lang.String> The sequence numbers of the messages

Returns: java.lang.Iterable<com.aspose.email.MailMessage> - List of MailMessage objects

getAccessToken()

public String getAccessToken()

Gets or sets the access token.

Value: The string that represents access token.

Returns: java.lang.String

getAllowedAuthentication()

public final long getAllowedAuthentication()

Gets or sets enumeration of allowed by user authentication types

Returns: long

getCapabilities()

public String[] getCapabilities()

Get Capabilities.

Returns: java.lang.String[]

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getClientCertificates()

public System.Security.Cryptography.X509Certificates.X509CertificateCollection getClientCertificates()

Contains collection of clients certificates

Returns: com.aspose.ms.System.Security.Cryptography.X509Certificates.X509CertificateCollection

getConnectionAsgmtMode()

public int getConnectionAsgmtMode()

Gets or sets value which defines mode of connection allocation in multiple threads environment There are folowing connection types: - Main connection is connection created and disposed together with mail client.It can’t be created or disposed manually. - Default connection is connection default for some thread. If default connection exists and ConnectionAsgmtMode allow, all methods of email client executed in this thread will be implicitly use this connection. Only one default connection can be exist per thread. It can be created manually or automatically. It depends on EmailClient.ConnectionAsgmtMode property. These connections can be created manually with EmailClient.CreateConnection(createAsDefaultConnection = true) method. If default connection does not used(depends on connection allocation mode), main connection used implicitly instead of it. - Independent connections are connections that are not linked to threads.They can be created manually and has to be used explicitly as method parameter. These connections can be created manually with EmailClient.CreateConnection() method or EmailClient.CreateConnection(createAsDefaultConnection = false) method. There are folowing connection allocation types: - ConnectionAsgmtType.UseMainOrDefault This mode uses by default in email clients. Email client uses main connection for all operations from multiple threads if default connection hasn’t been created, or connection hasnt been passed as method parameter explicitly. Main connection is connection which is created in the same time like email client. User can create default connections for threads with CreateConnection method. If default connection for thread is created, it’s used implicitly for all methods of email client which are invoked in this thread. If default connection for thread is not created, main connection is used for all methods of email client which are invoked in this thread. User also can create connections not linked with threads (not default connections) with CreateConnection method. If user wants to use other connections (not main and not default) he has to pass this connection explicitly as parameter of a method which he wants to use. User can additionally create any number of connections. Default connection can be only one per thread. Please note default connections works correctly if user uses Thread objects for multitasking programming. If user uses ConnectionPool or uses Task objects for multitasking programming this mode may lead to wrong behaviour of a programm. To avoid this problem user has to manually dispose default conection (if he uses it) in the end of the code which executes in the thread. - ConnectionAsgmtType.UseMain Email client uses main connection for all operations from multiple threads. Main connection is connection which is created in the same time like email client. User cann’t create default connections. User can create connections not linked with threads (not default connections) with CreateConnection method. If user wants to use other connections (not main and not default) he has to pass this connection explicitly as parameter of a method which he wants to use. User can additionally create any number of connections. - ConnectionAsgmtType.UseDefault Email client uses implicitly only default connections for all operations from multiple threads. Main connection is not used in this mode. If default connection hasn’t been created for some thread (first invocation of email client method), email client creates default connection implicitly for thread before first operation is executed. User can’t create default connections for threads with CreateConnection method because they are created automatically. When default connection for thread is created, it’s used implicitly for all methods of email client which are invoked in this thread.read. User also can create connections not linked with threads (not default connections) with CreateConnection method. If user wants to use other connections (not main and not default) he has to pass this connection explicitly as parameter of a method which he wants to use. User can additionally create any number of connections. Default connection can be only one per thread. Please note default connections works correctly if user uses Thread objects for multitasking programming. If user uses ConnectionPool or uses Task objects for multitasking programming this mode may lead to wrong behaviour of a programm. To avoid this problem user has to manually dispose default conection in the end of the code which executes in the thread.

Returns: int

getConnectionCheckupPeriod()

public int getConnectionCheckupPeriod()

Period of connection checking up in milliseconds. Default value is 5 min.

Returns: int

getConnectionState()

public final int getConnectionState()

Gets the current state of the connection.

Returns: int

getConnectionsQuantity()

public int getConnectionsQuantity()

Gets or sets quantity of connections in multy-connection mode

Returns: int

getCurrentConnection()

public IConnection getCurrentConnection()

Gets current connection according to ConnectionAsgmtMode option

Returns: IConnection

getDefaultPort()

public int getDefaultPort()

Gets default port for client

Returns: int

getEnableLogger()

public final boolean getEnableLogger()

Gets or sets value which allows enable/disable logger

Returns: boolean

getGreetingTimeout()

public final int getGreetingTimeout()

Gets or sets the greeting timeout that is used when establishing a connection. Please note, greeting timeout can’t be infinite. Email clients may execute enough long operations. To limit the time of operations users have to use EmailClient.Timeout (#getTimeout.getTimeout/#setTimeout(int).setTimeout(int)) property. Values for this property have to have long intervals to not prevent long-time operations. But in some cases, if EmailClient will use only Timeout property connection establishing may take a long time. For instance, the mail client may use the automatic mode to connection establishing. In this mode, the email client goes through all possible connection parameters until the connection is established. SMTP, IMAP, and POP3 servers in case of correct connection establishing send greeting string to the client. Servers may use implicit or explicit (START TLS) SSL/TLS connection initiation. If connection mode is mismatched (for instance, the server waits for an implicit SSL connection but the client tries to establish a non-secured or explicit SSL connection), the server won’t send a greeting string. In this case, the user will wait a long time until the timeout reaches a greeting string, and the client goes to the next connection option. To avoid this problem, the GreetingTimeout property has been introduced. This property allows you to set the timeout for greeting string, and reduce the time of automatic connection establishment.

Value: The greeting timeout in milliseconds

Returns: int

getHost()

public String getHost()

Gets or sets the host name.

Value: The host name.

Returns: java.lang.String

getLogFileName()

public final String getLogFileName()

Gets or sets log file name

Returns: java.lang.String

getMailboxInfo()

public final Pop3MailboxInfo getMailboxInfo()

Gets the mailbox status info

Returns: Pop3MailboxInfo - Mailbox information

getMailboxInfo(boolean closeTransaction)

public final Pop3MailboxInfo getMailboxInfo(boolean closeTransaction)

Gets the mailbox status info

Parameters:

Parameter Type Description
closeTransaction boolean Indicates if current transaction has to be closed, before the list is retrieved.

Returns: Pop3MailboxInfo - Mailbox information

getMailboxInfo(IConnection connection)

public final Pop3MailboxInfo getMailboxInfo(IConnection connection)

Gets the mailbox status info

Parameters:

Parameter Type Description
connection IConnection Connection to a server

Returns: Pop3MailboxInfo - Mailbox information

getMailboxInfo(IConnection connection, boolean closeTransaction)

public final Pop3MailboxInfo getMailboxInfo(IConnection connection, boolean closeTransaction)

Gets the mailbox status info

Parameters:

Parameter Type Description
connection IConnection Connection to a server
closeTransaction boolean Indicates if current transaction has to be closed, before the list is retrieved.

Returns: Pop3MailboxInfo - Mailbox information

getMailboxSize()

public final long getMailboxSize()

Gets the size of the mailbox

Returns: long - size of the mailbox in bytes

getMailboxSize(IConnection connection)

public final long getMailboxSize(IConnection connection)

Gets the size of the mailbox

Parameters:

Parameter Type Description
connection IConnection Connection to a server

Returns: long - size of the mailbox in bytes

getMessageCount()

public final int getMessageCount()

Gets the message count

Returns: int - message count

getMessageCount(boolean closeTransaction)

public final int getMessageCount(boolean closeTransaction)

Gets the message count

Parameters:

Parameter Type Description
closeTransaction boolean Indicates if current transaction has to be closed, before the list is retrieved.

Returns: int - message count

getMessageCount(IConnection connection)

public final int getMessageCount(IConnection connection)

Gets the message count

Parameters:

Parameter Type Description
connection IConnection Connection to a server

Returns: int - message count

getMessageCount(IConnection connection, boolean closeTransaction)

public final int getMessageCount(IConnection connection, boolean closeTransaction)

Gets the message count

Parameters:

Parameter Type Description
connection IConnection Connection to a server
closeTransaction boolean Indicates if current transaction has to be closed, before the list is retrieved.

Returns: int - message count

getMessageHeaders(IConnection connection, int sequenceNumber)

public final HeaderCollection getMessageHeaders(IConnection connection, int sequenceNumber)

Gets the message headers

Parameters:

Parameter Type Description
connection IConnection Connection to a server
sequenceNumber int The sequence number of the message

Returns: HeaderCollection - HeaderCollection that represents collection of the headers

getMessageHeaders(IConnection connection, String uniqueId)

public final HeaderCollection getMessageHeaders(IConnection connection, String uniqueId)

Gets the message headers

Parameters:

Parameter Type Description
connection IConnection Connection to a server
uniqueId java.lang.String The unique id of the message

Returns: HeaderCollection - HeaderCollection that represents collection of the headers

getMessageHeaders(int sequenceNumber)

public final HeaderCollection getMessageHeaders(int sequenceNumber)

Gets the message headers

Parameters:

Parameter Type Description
sequenceNumber int The sequence number of the message

Returns: HeaderCollection - HeaderCollection that represents collection of the headers

getMessageHeaders(String uniqueId)

public final HeaderCollection getMessageHeaders(String uniqueId)

Gets the message headers

Parameters:

Parameter Type Description
uniqueId java.lang.String The unique id of the message

Returns: HeaderCollection - HeaderCollection that represents collection of the headers

getMessageInfo(IConnection connection, int sequenceNumber)

public final Pop3MessageInfo getMessageInfo(IConnection connection, int sequenceNumber)

Gets the information for that message

Parameters:

Parameter Type Description
connection IConnection Connection to a server
sequenceNumber int The sequence number of the message

Returns: Pop3MessageInfo - Pop3MessageInfo

getMessageInfo(IConnection connection, int sequenceNumber, int fields)

public final Pop3MessageInfo getMessageInfo(IConnection connection, int sequenceNumber, int fields)

Gets the information for that message

Parameters:

Parameter Type Description
connection IConnection Connection to a server
sequenceNumber int The sequence number of the message
fields int The fields that we want get

Returns: Pop3MessageInfo - Pop3MessageInfo

getMessageInfo(IConnection connection, String uniqueId)

public final Pop3MessageInfo getMessageInfo(IConnection connection, String uniqueId)

Gets the information for that message

Parameters:

Parameter Type Description
connection IConnection Connection to a server
uniqueId java.lang.String The unique id of the message

Returns: Pop3MessageInfo - Pop3MessageInfo

getMessageInfo(IConnection connection, String uniqueId, int fields)

public final Pop3MessageInfo getMessageInfo(IConnection connection, String uniqueId, int fields)

Gets the information for that message

Parameters:

Parameter Type Description
connection IConnection Connection to a server
uniqueId java.lang.String The unique id of the message
fields int The fields that we want get

Returns: Pop3MessageInfo - Pop3MessageInfo

getMessageInfo(int sequenceNumber)

public final Pop3MessageInfo getMessageInfo(int sequenceNumber)

Gets the information for that message

Parameters:

Parameter Type Description
sequenceNumber int The sequence number of the message

Returns: Pop3MessageInfo - Pop3MessageInfo

getMessageInfo(int sequenceNumber, int fields)

public final Pop3MessageInfo getMessageInfo(int sequenceNumber, int fields)

Gets the information for that message

Parameters:

Parameter Type Description
sequenceNumber int The sequence number of the message
fields int The fields that we want get

Returns: Pop3MessageInfo - Pop3MessageInfo

getMessageInfo(String uniqueId)

public final Pop3MessageInfo getMessageInfo(String uniqueId)

Gets the information for that message

Parameters:

Parameter Type Description
uniqueId java.lang.String The unique id of the message

Returns: Pop3MessageInfo - Pop3MessageInfo

getMessageInfo(String uniqueId, int fields)

public final Pop3MessageInfo getMessageInfo(String uniqueId, int fields)

Gets the information for that message

Parameters:

Parameter Type Description
uniqueId java.lang.String The unique id of the message
fields int The fields that we want get

Returns: Pop3MessageInfo - Pop3MessageInfo

getMessageSize(IConnection connection, int sequenceNumber)

public final long getMessageSize(IConnection connection, int sequenceNumber)

Gets the size of the message

Parameters:

Parameter Type Description
connection IConnection Connection to a server
sequenceNumber int The sequence number of the message

Returns: long - size of the message in bytes

getMessageSize(IConnection connection, String uniqueId)

public final long getMessageSize(IConnection connection, String uniqueId)

Gets the size of the message

Parameters:

Parameter Type Description
connection IConnection Connection to a server
uniqueId java.lang.String The unique id of the message

Returns: long - size of the message in bytes

getMessageSize(int sequenceNumber)

public final long getMessageSize(int sequenceNumber)

Gets the size of the message

Parameters:

Parameter Type Description
sequenceNumber int The sequence number of the message

Returns: long - size of the message in bytes

getMessageSize(String uniqueId)

public final long getMessageSize(String uniqueId)

Gets the size of the message

Parameters:

Parameter Type Description
uniqueId java.lang.String The unique id of the message

Returns: long - size of the message in bytes

getMessageUniqueId(IConnection connection, int sequenceNumber)

public final String getMessageUniqueId(IConnection connection, int sequenceNumber)

Gets the message unique id

Parameters:

Parameter Type Description
connection IConnection Connection to a server
sequenceNumber int The sequence number of the message

Returns: java.lang.String - String that represents uid of the message

getMessageUniqueId(int sequenceNumber)

public final String getMessageUniqueId(int sequenceNumber)

Gets the message unique id

Parameters:

Parameter Type Description
sequenceNumber int The sequence number of the message

Returns: java.lang.String - String that represents uid of the message

getPassword()

public String getPassword()

Gets or sets the password. Password limitations are defined by server implementation, which client connects.

Value: The string that represents the password.

Returns: java.lang.String

getPort()

public int getPort()

Gets or sets the port.

Value: The port number.

Returns: int

getProxy()

public Proxy getProxy()

Gets or sets proxy for the client

Returns: Proxy

getSecurityOptions()

public int getSecurityOptions()

Security mode for a mail client

Returns: int

getSupportedAuthentication()

public final long getSupportedAuthentication()

Gets enumeration of supported by server authentication types

Returns: long

getSupportedEncryption()

public int getSupportedEncryption()

Defines the versions of SSL/TLS encryption protocols to be used. PLEASE PAY YOUR ATTENTION, you may set only those versions of protocol, which are supported by .net framework. IF SOME VERSIONS OF PROTOCOL ARE NOT SUPPORTED BY YOUR CURRENT VERSION OF FRAMEWORK, THEY WILL BE IGNORED AND SKIPPED. IT MAY LEAD TO DOWNGRADE TLS SECURITY LEVEL. IN THIS CASE EXCEPTION WON’T BE GENERATED!!! Please, see EncryptionProtocols documentation for more details. Please use #setSupportedEncryptionUnsafe(int).setSupportedEncryptionUnsafe(int) method if you want to set the encryption protocols without any compatibility checks. Default value is: Tls | Tls11 | Tls12 | Tls13 (in case if your current version of .net framework supports these versions of TLS)

Returns: int

getTimeout()

public final int getTimeout()

Gets or sets the timeout for mail operations

Value: The timeout in milliseconds

Returns: int

getTokenProvider()

public final ITokenProvider getTokenProvider()

Gets or sets TokenProvider allowing to retrieve access token.

Returns: ITokenProvider

getUseAuthentication()

public boolean getUseAuthentication()

Indicates whether authentication is used.

Returns: boolean

getUseDateInLogFileName()

public final boolean getUseDateInLogFileName()

Gets or sets value which indicates if date has to be used in log file name.

Returns: boolean

getUseDefaultCredentials()

public boolean getUseDefaultCredentials()

Gets or sets a Boolean value that controls whether the DefaultCredentials are sent with requests. This option is used with NTLM authentication ONLY!

Returns: boolean

getUseMultiConnection()

public int getUseMultiConnection()

Gets or sets value which indicates if client has to use multiple connections for heavy loaded operations. Please note, using of this mode not necessary has to lead to performance increasing.

Returns: int

getUsePipelining()

public PipeliningStatus getUsePipelining()

Gets or sets object which indicates whether the pipelining mode is enabled.

Returns: PipeliningStatus

getUsername()

public String getUsername()

Gets or sets the username.

Value: The username string.

Returns: java.lang.String

hashCode()

public native int hashCode()

Returns: int

listMessages()

public final Pop3MessageInfoCollection listMessages()

Lists the messages. Gets an information for earch message

Returns: Pop3MessageInfoCollection - Pop3MessageInfoCollection


Note that messages marked as deleted are not listed

listMessages(boolean closeTransaction)

public final Pop3MessageInfoCollection listMessages(boolean closeTransaction)

Lists the messages. Gets an information for earch message

Parameters:

Parameter Type Description
closeTransaction boolean Indicates if current transaction has to be closed, before the list is retrieved.

Note that messages marked as deleted are not listed |

Returns: Pop3MessageInfoCollection - Pop3MessageInfoCollection

listMessages(IConnection connection)

public final Pop3MessageInfoCollection listMessages(IConnection connection)

Lists the messages. Gets an information for earch message

Parameters:

Parameter Type Description
connection IConnection Connection to a server

Note that messages marked as deleted are not listed |

Returns: Pop3MessageInfoCollection - Pop3MessageInfoCollection

listMessages(IConnection connection, boolean closeTransaction)

public final Pop3MessageInfoCollection listMessages(IConnection connection, boolean closeTransaction)

Lists the messages. Gets an information for earch message

Parameters:

Parameter Type Description
connection IConnection Connection to a server
closeTransaction boolean Indicates if current transaction has to be closed, before the list is retrieved.

Note that messages marked as deleted are not listed |

Returns: Pop3MessageInfoCollection - Pop3MessageInfoCollection

listMessages(IConnection connection, MailQuery query)

public final Pop3MessageInfoCollection listMessages(IConnection connection, MailQuery query)

Lists the messages.

Parameters:

Parameter Type Description
connection IConnection Connection to a server
query MailQuery The MailQuery object.

Returns: Pop3MessageInfoCollection - Collection of Pop3MessageInfo objects.

listMessages(IConnection connection, int fields)

public final Pop3MessageInfoCollection listMessages(IConnection connection, int fields)

Lists the messages.

Parameters:

Parameter Type Description
connection IConnection Connection to a server
fields int The fields that we want get

Note that messages marked as deleted are not listed |

Returns: Pop3MessageInfoCollection - Pop3MessageInfoCollection

listMessages(IConnection connection, int fields, boolean closeTransaction, MailQuery query)

public final Pop3MessageInfoCollection listMessages(IConnection connection, int fields, boolean closeTransaction, MailQuery query)

Lists the messages.

Parameters:

Parameter Type Description
connection IConnection Connection to a server
fields int The fields that we want get
closeTransaction boolean Indicates if current transaction has to be closed, before the list is retrieved.
query MailQuery The MailQuery object.

Returns: Pop3MessageInfoCollection - Pop3MessageInfoCollection

listMessages(MailQuery query)

public final Pop3MessageInfoCollection listMessages(MailQuery query)

Lists the messages.

Parameters:

Parameter Type Description
query MailQuery The MailQuery object.

Returns: Pop3MessageInfoCollection - Collection of Pop3MessageInfo objects.

listMessages(int fields)

public final Pop3MessageInfoCollection listMessages(int fields)

Lists the messages.

Parameters:

Parameter Type Description
fields int The fields that we want get

Note that messages marked as deleted are not listed |

Returns: Pop3MessageInfoCollection - Pop3MessageInfoCollection

listMessages(int fields, boolean closeTransaction, MailQuery query)

public final Pop3MessageInfoCollection listMessages(int fields, boolean closeTransaction, MailQuery query)

Lists the messages.

Parameters:

Parameter Type Description
fields int The fields that we want get
closeTransaction boolean Indicates if current transaction has to be closed, before the list is retrieved.
query MailQuery The MailQuery object.

Returns: Pop3MessageInfoCollection - Pop3MessageInfoCollection

listMessagesBySequences(IConnection connection, Iterable sequenceNumberLst)

public final Pop3MessageInfoCollection listMessagesBySequences(IConnection connection, Iterable<Integer> sequenceNumberLst)

Lists the messages. Gets an information for earch message

Parameters:

Parameter Type Description
connection IConnection Connection to a server
sequenceNumberLst java.lang.Iterable<java.lang.Integer> sequenceNumber list for Pop3MessageInfo to retrieve from a server.

Note that messages marked as deleted are not listed |

Returns: Pop3MessageInfoCollection - Pop3MessageInfoCollection

listMessagesBySequences(Iterable sequenceNumberLst)

public final Pop3MessageInfoCollection listMessagesBySequences(Iterable<Integer> sequenceNumberLst)

Lists the messages. Gets an information for earch message

Parameters:

Parameter Type Description
sequenceNumberLst java.lang.Iterable<java.lang.Integer> sequenceNumber list for Pop3MessageInfo to retrieve from a server.

Note that messages marked as deleted are not listed |

Returns: Pop3MessageInfoCollection - Pop3MessageInfoCollection

listMessagesByUids(IConnection connection, Iterable uniqueIdLst)

public final Pop3MessageInfoCollection listMessagesByUids(IConnection connection, Iterable<String> uniqueIdLst)

Lists the messages. Gets an information for earch message

Parameters:

Parameter Type Description
connection IConnection Connection to a server
uniqueIdLst java.lang.Iterable<java.lang.String> UniqueId list for Pop3MessageInfo to retrieve from a server.

Note that messages marked as deleted are not listed |

Returns: Pop3MessageInfoCollection - Pop3MessageInfoCollection

listMessagesByUids(Iterable uniqueIdLst)

public final Pop3MessageInfoCollection listMessagesByUids(Iterable<String> uniqueIdLst)

Lists the messages. Gets an information for earch message

Parameters:

Parameter Type Description
uniqueIdLst java.lang.Iterable<java.lang.String> UniqueId list for Pop3MessageInfo to retrieve from a server.

Note that messages marked as deleted are not listed |

Returns: Pop3MessageInfoCollection - Pop3MessageInfoCollection

loadMessageInfoList(IConnection connection, Iterable messageInfoList)

public final Pop3MessageInfoCollection loadMessageInfoList(IConnection connection, Iterable<Pop3MessageInfo> messageInfoList)

Loads list of Pop3MessageInfo

Parameters:

Parameter Type Description
connection IConnection Connection to a server
messageInfoList java.lang.Iterable<com.aspose.email.Pop3MessageInfo> Message info list

Returns: Pop3MessageInfoCollection - Pop3MessageInfoCollection

loadMessageInfoList(Iterable messageInfoList)

public final Pop3MessageInfoCollection loadMessageInfoList(Iterable<Pop3MessageInfo> messageInfoList)

Loads list of Pop3MessageInfo

Parameters:

Parameter Type Description
messageInfoList java.lang.Iterable<com.aspose.email.Pop3MessageInfo> Message info list

Returns: Pop3MessageInfoCollection - Pop3MessageInfoCollection

loadMessageInfoListBySequence(IConnection connection, Iterable sequenceNumberList)

public final Pop3MessageInfoCollection loadMessageInfoListBySequence(IConnection connection, Iterable<Integer> sequenceNumberList)

Loads list of Pop3MessageInfo

Parameters:

Parameter Type Description
connection IConnection Connection to a server
sequenceNumberList java.lang.Iterable<java.lang.Integer> The sequence numbers list of messages

Returns: Pop3MessageInfoCollection - Pop3MessageInfoCollection

loadMessageInfoListBySequence(Iterable sequenceNumberList)

public final Pop3MessageInfoCollection loadMessageInfoListBySequence(Iterable<Integer> sequenceNumberList)

Loads list of Pop3MessageInfo

Parameters:

Parameter Type Description
sequenceNumberList java.lang.Iterable<java.lang.Integer> The sequence numbers list of messages

Returns: Pop3MessageInfoCollection - Pop3MessageInfoCollection

noop()

public void noop()

‘No operation’ command

noop(IConnection connection)

public void noop(IConnection connection)

‘No operation’ command

Parameters:

Parameter Type Description
connection IConnection Connection to a server

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

resetLogSettings()

public final void resetLogSettings()

Resets logging settings to default.

saveMessage(IConnection connection, int sequenceNumber, OutputStream outputStream)

public final void saveMessage(IConnection connection, int sequenceNumber, OutputStream outputStream)

Fetches and save the message as a stream

Parameters:

Parameter Type Description
connection IConnection Connection to a server
sequenceNumber int The sequence number of the message
outputStream java.io.OutputStream Stream where message will be saved

saveMessage(IConnection connection, int sequenceNumber, String fileName)

public final void saveMessage(IConnection connection, int sequenceNumber, String fileName)

Fetches and save the message into a file

Parameters:

Parameter Type Description
connection IConnection Connection to a server
sequenceNumber int The sequence number of the message
fileName java.lang.String File name for message

saveMessage(IConnection connection, String uniqueId, OutputStream outputStream)

public final void saveMessage(IConnection connection, String uniqueId, OutputStream outputStream)

Fetches and save the message as a stream

Parameters:

Parameter Type Description
connection IConnection Connection to a server
uniqueId java.lang.String The unique Id of the message
outputStream java.io.OutputStream Stream where message will be saved

saveMessage(IConnection connection, String uniqueId, String fileName)

public final void saveMessage(IConnection connection, String uniqueId, String fileName)

Fetches and save the message into a file

Parameters:

Parameter Type Description
connection IConnection Connection to a server
uniqueId java.lang.String The unique Id of the message
fileName java.lang.String File name for message

saveMessage(int sequenceNumber, OutputStream outputStream)

public final void saveMessage(int sequenceNumber, OutputStream outputStream)

Fetches and save the message as a stream

Parameters:

Parameter Type Description
sequenceNumber int The sequence number of the message
outputStream java.io.OutputStream Stream where message will be saved

saveMessage(int sequenceNumber, String fileName)

public final void saveMessage(int sequenceNumber, String fileName)

Fetches and save the message into a file

Parameters:

Parameter Type Description
sequenceNumber int The sequence number of the message
fileName java.lang.String File name for message

saveMessage(String uniqueId, OutputStream outputStream)

public final void saveMessage(String uniqueId, OutputStream outputStream)

Fetches and save the message as a stream

Parameters:

Parameter Type Description
uniqueId java.lang.String The unique Id of the message
outputStream java.io.OutputStream Stream where message will be saved

saveMessage(String uniqueId, String fileName)

public final void saveMessage(String uniqueId, String fileName)

Fetches and save the message into a file

Parameters:

Parameter Type Description
uniqueId java.lang.String The unique Id of the message
fileName java.lang.String File name for message

setAccessToken(String value)

public void setAccessToken(String value)

Gets or sets the access token.

Value: The string that represents access token.

Parameters:

Parameter Type Description
value java.lang.String

setAllowedAuthentication(long value)

public final void setAllowedAuthentication(long value)

Gets or sets enumeration of allowed by user authentication types

Parameters:

Parameter Type Description
value long

setConnectionAsgmtMode(int value)

public void setConnectionAsgmtMode(int value)

Gets or sets value which defines mode of connection allocation in multiple threads environment There are folowing connection types: - Main connection is connection created and disposed together with mail client.It can’t be created or disposed manually. - Default connection is connection default for some thread. If default connection exists and ConnectionAsgmtMode allow, all methods of email client executed in this thread will be implicitly use this connection. Only one default connection can be exist per thread. It can be created manually or automatically. It depends on EmailClient.ConnectionAsgmtMode property. These connections can be created manually with EmailClient.CreateConnection(createAsDefaultConnection = true) method. If default connection does not used(depends on connection allocation mode), main connection used implicitly instead of it. - Independent connections are connections that are not linked to threads.They can be created manually and has to be used explicitly as method parameter. These connections can be created manually with EmailClient.CreateConnection() method or EmailClient.CreateConnection(createAsDefaultConnection = false) method. There are folowing connection allocation types: - ConnectionAsgmtType.UseMainOrDefault This mode uses by default in email clients. Email client uses main connection for all operations from multiple threads if default connection hasn’t been created, or connection hasnt been passed as method parameter explicitly. Main connection is connection which is created in the same time like email client. User can create default connections for threads with CreateConnection method. If default connection for thread is created, it’s used implicitly for all methods of email client which are invoked in this thread. If default connection for thread is not created, main connection is used for all methods of email client which are invoked in this thread. User also can create connections not linked with threads (not default connections) with CreateConnection method. If user wants to use other connections (not main and not default) he has to pass this connection explicitly as parameter of a method which he wants to use. User can additionally create any number of connections. Default connection can be only one per thread. Please note default connections works correctly if user uses Thread objects for multitasking programming. If user uses ConnectionPool or uses Task objects for multitasking programming this mode may lead to wrong behaviour of a programm. To avoid this problem user has to manually dispose default conection (if he uses it) in the end of the code which executes in the thread. - ConnectionAsgmtType.UseMain Email client uses main connection for all operations from multiple threads. Main connection is connection which is created in the same time like email client. User cann’t create default connections. User can create connections not linked with threads (not default connections) with CreateConnection method. If user wants to use other connections (not main and not default) he has to pass this connection explicitly as parameter of a method which he wants to use. User can additionally create any number of connections. - ConnectionAsgmtType.UseDefault Email client uses implicitly only default connections for all operations from multiple threads. Main connection is not used in this mode. If default connection hasn’t been created for some thread (first invocation of email client method), email client creates default connection implicitly for thread before first operation is executed. User can’t create default connections for threads with CreateConnection method because they are created automatically. When default connection for thread is created, it’s used implicitly for all methods of email client which are invoked in this thread.read. User also can create connections not linked with threads (not default connections) with CreateConnection method. If user wants to use other connections (not main and not default) he has to pass this connection explicitly as parameter of a method which he wants to use. User can additionally create any number of connections. Default connection can be only one per thread. Please note default connections works correctly if user uses Thread objects for multitasking programming. If user uses ConnectionPool or uses Task objects for multitasking programming this mode may lead to wrong behaviour of a programm. To avoid this problem user has to manually dispose default conection in the end of the code which executes in the thread.

Parameters:

Parameter Type Description
value int

setConnectionCheckupPeriod(int value)

public void setConnectionCheckupPeriod(int value)

Period of connection checking up in milliseconds. Default value is 5 min.

Parameters:

Parameter Type Description
value int

setConnectionsQuantity(int value)

public void setConnectionsQuantity(int value)

Gets or sets quantity of connections in multy-connection mode

Parameters:

Parameter Type Description
value int

setEnableLogger(boolean value)

public final void setEnableLogger(boolean value)

Gets or sets value which allows enable/disable logger

Parameters:

Parameter Type Description
value boolean

setGreetingTimeout(int value)

public final void setGreetingTimeout(int value)

Gets or sets the greeting timeout that is used when establishing a connection. Please note, greeting timeout can’t be infinite. Email clients may execute enough long operations. To limit the time of operations users have to use EmailClient.Timeout (#getTimeout.getTimeout/#setTimeout(int).setTimeout(int)) property. Values for this property have to have long intervals to not prevent long-time operations. But in some cases, if EmailClient will use only Timeout property connection establishing may take a long time. For instance, the mail client may use the automatic mode to connection establishing. In this mode, the email client goes through all possible connection parameters until the connection is established. SMTP, IMAP, and POP3 servers in case of correct connection establishing send greeting string to the client. Servers may use implicit or explicit (START TLS) SSL/TLS connection initiation. If connection mode is mismatched (for instance, the server waits for an implicit SSL connection but the client tries to establish a non-secured or explicit SSL connection), the server won’t send a greeting string. In this case, the user will wait a long time until the timeout reaches a greeting string, and the client goes to the next connection option. To avoid this problem, the GreetingTimeout property has been introduced. This property allows you to set the timeout for greeting string, and reduce the time of automatic connection establishment.

Value: The greeting timeout in milliseconds

Parameters:

Parameter Type Description
value int

setHost(String value)

public void setHost(String value)

Gets or sets the host name.

Value: The host name.

Parameters:

Parameter Type Description
value java.lang.String

setLogFileName(String value)

public final void setLogFileName(String value)

Gets or sets log file name

Parameters:

Parameter Type Description
value java.lang.String

setPassword(String value)

public void setPassword(String value)

Gets or sets the password. Password limitations are defined by server implementation, which client connects.

Value: The string that represents the password.

Parameters:

Parameter Type Description
value java.lang.String

setPort(int value)

public void setPort(int value)

Gets or sets the port.

Value: The port number.

Parameters:

Parameter Type Description
value int

setProxy(Proxy value)

public void setProxy(Proxy value)

Gets or sets proxy for the client

Parameters:

Parameter Type Description
value Proxy

setSecurityOptions(int value)

public void setSecurityOptions(int value)

Security mode for a mail client

Parameters:

Parameter Type Description
value int

setSocketsLayerVersion2(boolean value)

public static void setSocketsLayerVersion2(boolean value)

Sets value indicating whether Sockets Layer version 2 is used. By default, Sockets Layer version 2 is used.

Parameters:

Parameter Type Description
value boolean False if Sockets Layer version 1 should be used.

setSocketsLayerVersion2DisableSSLCertificateValidation(boolean value)

public static void setSocketsLayerVersion2DisableSSLCertificateValidation(boolean value)

Disable SSL certificate validation for Sockets Layer version 2

Parameters:

Parameter Type Description
value boolean

setSocketsLayerVersion2SSLSocketFactory(SSLSocketFactory value)

public static void setSocketsLayerVersion2SSLSocketFactory(SSLSocketFactory value)

Set SSL Socket Factory for Sockets Layer version 2

Parameters:

Parameter Type Description
value javax.net.ssl.SSLSocketFactory

setSupportedEncryption(int value)

public void setSupportedEncryption(int value)

Defines the versions of SSL/TLS encryption protocols to be used. PLEASE PAY YOUR ATTENTION, you may set only those versions of protocol, which are supported by .net framework. IF SOME VERSIONS OF PROTOCOL ARE NOT SUPPORTED BY YOUR CURRENT VERSION OF FRAMEWORK, THEY WILL BE IGNORED AND SKIPPED. IT MAY LEAD TO DOWNGRADE TLS SECURITY LEVEL. IN THIS CASE EXCEPTION WON’T BE GENERATED!!! Please, see EncryptionProtocols documentation for more details. Please use #setSupportedEncryptionUnsafe(int).setSupportedEncryptionUnsafe(int) method if you want to set the encryption protocols without any compatibility checks. Default value is: Tls | Tls11 | Tls12 | Tls13 (in case if your current version of .net framework supports these versions of TLS)

Parameters:

Parameter Type Description
value int

setSupportedEncryptionUnsafe(int value)

public final void setSupportedEncryptionUnsafe(int value)

Defines the versions of SSL/TLS encryption protocols to be used. This method is not safe and sets the encryption protocols without any compatibility checks. Use SupportedEncryption (#getSupportedEncryption.getSupportedEncryption/#setSupportedEncryption(int).setSupportedEncryption(int)) property to safely set only protocols that definitely supported by framework. Please note, if your current framework does not support this level of security, an exception will be thrown when trying to establish a connection to the server.

Parameters:

Parameter Type Description
value int

setTimeout(int value)

public final void setTimeout(int value)

Gets or sets the timeout for mail operations

Value: The timeout in milliseconds

Parameters:

Parameter Type Description
value int

setTokenProvider(ITokenProvider value)

public final void setTokenProvider(ITokenProvider value)

Gets or sets TokenProvider allowing to retrieve access token.

Parameters:

Parameter Type Description
value ITokenProvider

setUseAuthentication(boolean value)

public void setUseAuthentication(boolean value)

Indicates whether authentication is used.

Parameters:

Parameter Type Description
value boolean

setUseDateInLogFileName(boolean value)

public final void setUseDateInLogFileName(boolean value)

Gets or sets value which indicates if date has to be used in log file name.

Parameters:

Parameter Type Description
value boolean

setUseDefaultCredentials(boolean value)

public void setUseDefaultCredentials(boolean value)

Gets or sets a Boolean value that controls whether the DefaultCredentials are sent with requests. This option is used with NTLM authentication ONLY!

Parameters:

Parameter Type Description
value boolean

setUseMultiConnection(int value)

public void setUseMultiConnection(int value)

Gets or sets value which indicates if client has to use multiple connections for heavy loaded operations. Please note, using of this mode not necessary has to lead to performance increasing.

Parameters:

Parameter Type Description
value int

setUsePipelining(PipeliningStatus value)

public void setUsePipelining(PipeliningStatus value)

Gets or sets object which indicates whether the pipelining mode is enabled.

Parameters:

Parameter Type Description
value PipeliningStatus

setUsername(String value)

public void setUsername(String value)

Gets or sets the username.

Value: The username string.

Parameters:

Parameter Type Description
value java.lang.String

toString()

public String toString()

Returns: java.lang.String

undeleteMessages()

public final void undeleteMessages()

Undeletes the messages. If any messages have been marked as deleted by the POP3 server, they are unmarked.

undeleteMessages(IConnection connection)

public final void undeleteMessages(IConnection connection)

Undeletes the messages. If any messages have been marked as deleted by the POP3 server, they are unmarked.

Parameters:

Parameter Type Description
connection IConnection Connection to a server

validateCredentials()

public boolean validateCredentials()

Executes credentials validation

Returns: boolean - True if authentication was successful, otherwise false.

validateCredentials(IConnection connection)

public final boolean validateCredentials(IConnection connection)

Executes credentials validation

Parameters:

Parameter Type Description
connection IConnection Connection to a server

Returns: boolean - True if authentication was successful, otherwise false.

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

Parameter Type Description
arg0 long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

Parameter Type Description
arg0 long
arg1 int