public final class Pop3Client extends CredentialsByHostClient
Allows applications to access and manipulate messages by using the Post Office Protocol Version 3 (POP3).
Constructor and Description |
---|
Pop3Client()
Initializes a new instance of the
Pop3Client class |
Pop3Client(String host)
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,
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)
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,
String password,
int securityOptions)
Initializes a new instance of the
Pop3Client class |
Pop3Client(String host,
int port,
String username,
String password,
com.aspose.ms.System.Net.Security.RemoteCertificateValidationCallback userCertificateValidationCallback)
Initializes a new instance of the
Pop3Client class |
Pop3Client(String host,
int port,
String username,
String password,
com.aspose.ms.System.Net.Security.RemoteCertificateValidationCallback userCertificateValidationCallback,
int securityOptions)
Initializes a new instance of the
Pop3Client class |
Pop3Client(String host,
short 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 |
Modifier and Type | Method and Description |
---|---|
com.aspose.ms.System.IAsyncResult |
beginCommitDeletes()
Begins to commit the deletions.
|
com.aspose.ms.System.IAsyncResult |
beginCommitDeletes(com.aspose.ms.System.AsyncCallback callback)
Begins to commit the deletions.
|
com.aspose.ms.System.IAsyncResult |
beginCommitDeletes(com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins to commit the deletions.
|
com.aspose.ms.System.IAsyncResult |
beginCommitDeletes(IConnection connection)
Begins to commit the deletions.
|
com.aspose.ms.System.IAsyncResult |
beginCommitDeletes(IConnection connection,
com.aspose.ms.System.AsyncCallback callback)
Begins to commit the deletions.
|
com.aspose.ms.System.IAsyncResult |
beginCommitDeletes(IConnection connection,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins to commit the deletions.
|
com.aspose.ms.System.IAsyncResult |
beginDeleteMessage(IConnection connection,
int sequenceNumber)
Begins DeleteMessage operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginDeleteMessage(IConnection connection,
int sequenceNumber,
com.aspose.ms.System.AsyncCallback callback)
Begins DeleteMessage operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginDeleteMessage(IConnection connection,
int sequenceNumber,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins DeleteMessage operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginDeleteMessage(IConnection connection,
String uniqueId)
Begins DeleteMessage operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginDeleteMessage(IConnection connection,
String uniqueId,
com.aspose.ms.System.AsyncCallback callback)
Begins DeleteMessage operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginDeleteMessage(IConnection connection,
String uniqueId,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins DeleteMessage operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginDeleteMessage(int sequenceNumber)
Begins DeleteMessage operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginDeleteMessage(int sequenceNumber,
com.aspose.ms.System.AsyncCallback callback)
Begins DeleteMessage operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginDeleteMessage(int sequenceNumber,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins DeleteMessage operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginDeleteMessage(String uniqueId)
Begins DeleteMessage operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginDeleteMessage(String uniqueId,
com.aspose.ms.System.AsyncCallback callback)
Begins DeleteMessage operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginDeleteMessage(String uniqueId,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins DeleteMessage operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginDeleteMessages()
Begins delete all messages asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginDeleteMessages(com.aspose.ms.System.AsyncCallback callback)
Begins delete all messages asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginDeleteMessages(com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins delete all messages asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginDeleteMessages(IConnection connection)
Begins delete all messages asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginDeleteMessages(IConnection connection,
com.aspose.ms.System.AsyncCallback callback)
Begins delete all messages asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginDeleteMessages(IConnection connection,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins delete all messages asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginFetchMessage(IConnection connection,
int sequenceNumber)
Begins FetchMessage operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginFetchMessage(IConnection connection,
int sequenceNumber,
com.aspose.ms.System.AsyncCallback callback)
Begins FetchMessage operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginFetchMessage(IConnection connection,
int sequenceNumber,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins FetchMessage operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginFetchMessage(IConnection connection,
String uniqueId)
Begins FetchMessage operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginFetchMessage(IConnection connection,
String uniqueId,
com.aspose.ms.System.AsyncCallback callback)
Begins FetchMessage operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginFetchMessage(IConnection connection,
String uniqueId,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins FetchMessage operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginFetchMessage(int sequenceNumber)
Begins FetchMessage operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginFetchMessage(int sequenceNumber,
com.aspose.ms.System.AsyncCallback callback)
Begins FetchMessage operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginFetchMessage(int sequenceNumber,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins FetchMessage operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginFetchMessage(String uniqueId)
Begins FetchMessage operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginFetchMessage(String uniqueId,
com.aspose.ms.System.AsyncCallback callback)
Begins FetchMessage operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginFetchMessage(String uniqueId,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins FetchMessage operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginFetchMessagesBySequences(IConnection connection,
Iterable<Integer> sequenceNumbers)
Begins FetchMessages operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginFetchMessagesBySequences(IConnection connection,
Iterable<Integer> sequenceNumbers,
com.aspose.ms.System.AsyncCallback callback)
Begins FetchMessages operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginFetchMessagesBySequences(IConnection connection,
Iterable<Integer> sequenceNumbers,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins FetchMessages operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginFetchMessagesBySequences(Iterable<Integer> sequenceNumbers)
Begins FetchMessages operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginFetchMessagesBySequences(Iterable<Integer> sequenceNumbers,
com.aspose.ms.System.AsyncCallback callback)
Begins FetchMessages operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginFetchMessagesBySequences(Iterable<Integer> sequenceNumbers,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins FetchMessages operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginFetchMessagesByUids(IConnection connection,
Iterable<String> uids)
Begins FetchMessages operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginFetchMessagesByUids(IConnection connection,
Iterable<String> uids,
com.aspose.ms.System.AsyncCallback callback)
Begins FetchMessages operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginFetchMessagesByUids(IConnection connection,
Iterable<String> uids,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins FetchMessages operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginFetchMessagesByUids(Iterable<String> uids)
Begins FetchMessages operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginFetchMessagesByUids(Iterable<String> uids,
com.aspose.ms.System.AsyncCallback callback)
Begins FetchMessages operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginFetchMessagesByUids(Iterable<String> uids,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins FetchMessages operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginGetMailboxInfo()
Begins to get the mailbox status info
|
com.aspose.ms.System.IAsyncResult |
beginGetMailboxInfo(com.aspose.ms.System.AsyncCallback callback)
Begins to get the mailbox status info
|
com.aspose.ms.System.IAsyncResult |
beginGetMailboxInfo(com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins to get the mailbox status info
|
com.aspose.ms.System.IAsyncResult |
beginGetMailboxInfo(IConnection connection)
Begins to get the mailbox status info
|
com.aspose.ms.System.IAsyncResult |
beginGetMailboxInfo(IConnection connection,
com.aspose.ms.System.AsyncCallback callback)
Begins to get the mailbox status info
|
com.aspose.ms.System.IAsyncResult |
beginGetMailboxInfo(IConnection connection,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins to get the mailbox status info
|
com.aspose.ms.System.IAsyncResult |
beginGetMailboxInfo(IConnection connection,
boolean closeTransaction,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins to get the mailbox status info
|
com.aspose.ms.System.IAsyncResult |
beginGetMailboxSize()
Begins GetMailboxSize operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginGetMailboxSize(com.aspose.ms.System.AsyncCallback callback)
Begins GetMailboxSize operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginGetMailboxSize(com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins GetMailboxSize operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginGetMailboxSize(IConnection connection)
Begins GetMailboxSize operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginGetMailboxSize(IConnection connection,
com.aspose.ms.System.AsyncCallback callback)
Begins GetMailboxSize operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginGetMailboxSize(IConnection connection,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins GetMailboxSize operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginGetMessageCount()
Begins GetMessageCount operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginGetMessageCount(com.aspose.ms.System.AsyncCallback callback)
Begins GetMessageCount operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginGetMessageCount(com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins GetMessageCount operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginGetMessageCount(boolean closeTransaction)
Begins GetMessageCount operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginGetMessageCount(boolean closeTransaction,
com.aspose.ms.System.AsyncCallback callback)
Begins GetMessageCount operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginGetMessageCount(boolean closeTransaction,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins GetMessageCount operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginGetMessageCount(IConnection connection)
Begins GetMessageCount operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginGetMessageCount(IConnection connection,
com.aspose.ms.System.AsyncCallback callback)
Begins GetMessageCount operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginGetMessageCount(IConnection connection,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins GetMessageCount operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginGetMessageCount(IConnection connection,
boolean closeTransaction)
Begins GetMessageCount operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginGetMessageCount(IConnection connection,
boolean closeTransaction,
com.aspose.ms.System.AsyncCallback callback)
Begins GetMessageCount operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginGetMessageCount(IConnection connection,
boolean closeTransaction,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins GetMessageCount operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginGetMessageHeaders(IConnection connection,
int sequenceNumber)
Begins getting message headers
|
com.aspose.ms.System.IAsyncResult |
beginGetMessageHeaders(IConnection connection,
int sequenceNumber,
com.aspose.ms.System.AsyncCallback callback)
Begins getting message headers
|
com.aspose.ms.System.IAsyncResult |
beginGetMessageHeaders(IConnection connection,
int sequenceNumber,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins getting message headers
|
com.aspose.ms.System.IAsyncResult |
beginGetMessageHeaders(IConnection connection,
String uniqueId)
Begins getting message headers
|
com.aspose.ms.System.IAsyncResult |
beginGetMessageHeaders(IConnection connection,
String uniqueId,
com.aspose.ms.System.AsyncCallback callback)
Begins getting message headers
|
com.aspose.ms.System.IAsyncResult |
beginGetMessageHeaders(IConnection connection,
String uniqueId,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins getting message headers
|
com.aspose.ms.System.IAsyncResult |
beginGetMessageHeaders(int sequenceNumber)
Begins getting message headers
|
com.aspose.ms.System.IAsyncResult |
beginGetMessageHeaders(int sequenceNumber,
com.aspose.ms.System.AsyncCallback callback)
Begins getting message headers
|
com.aspose.ms.System.IAsyncResult |
beginGetMessageHeaders(int sequenceNumber,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins getting message headers
|
com.aspose.ms.System.IAsyncResult |
beginGetMessageHeaders(String uniqueId)
Begins getting message headers
|
com.aspose.ms.System.IAsyncResult |
beginGetMessageHeaders(String uniqueId,
com.aspose.ms.System.AsyncCallback callback)
Begins getting message headers
|
com.aspose.ms.System.IAsyncResult |
beginGetMessageHeaders(String uniqueId,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins getting message headers
|
com.aspose.ms.System.IAsyncResult |
beginGetMessageInfo(IConnection connection,
int sequenceNumber)
Begins to get the information for that message
|
com.aspose.ms.System.IAsyncResult |
beginGetMessageInfo(IConnection connection,
int sequenceNumber,
com.aspose.ms.System.AsyncCallback callback)
Begins to get the information for that message
|
com.aspose.ms.System.IAsyncResult |
beginGetMessageInfo(IConnection connection,
int sequenceNumber,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins to get the information for that message
|
com.aspose.ms.System.IAsyncResult |
beginGetMessageInfo(IConnection connection,
int sequenceNumber,
int fields)
Begins to get the information for that message
|
com.aspose.ms.System.IAsyncResult |
beginGetMessageInfo(IConnection connection,
int sequenceNumber,
int fields,
com.aspose.ms.System.AsyncCallback callback)
Begins to get the information for that message
|
com.aspose.ms.System.IAsyncResult |
beginGetMessageInfo(IConnection connection,
int sequenceNumber,
int fields,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins to get the information for that message
|
com.aspose.ms.System.IAsyncResult |
beginGetMessageInfo(IConnection connection,
String uniqueId)
Begins to get the information for that message
|
com.aspose.ms.System.IAsyncResult |
beginGetMessageInfo(IConnection connection,
String uniqueId,
com.aspose.ms.System.AsyncCallback callback)
Begins to get the information for that message
|
com.aspose.ms.System.IAsyncResult |
beginGetMessageInfo(IConnection connection,
String uniqueId,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins to get the information for that message
|
com.aspose.ms.System.IAsyncResult |
beginGetMessageInfo(IConnection connection,
String uniqueId,
int fields)
Begins to get the information for that message
|
com.aspose.ms.System.IAsyncResult |
beginGetMessageInfo(IConnection connection,
String uniqueId,
int fields,
com.aspose.ms.System.AsyncCallback callback)
Begins to get the information for that message
|
com.aspose.ms.System.IAsyncResult |
beginGetMessageInfo(IConnection connection,
String uniqueId,
int fields,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins to get the information for that message
|
com.aspose.ms.System.IAsyncResult |
beginGetMessageInfo(int sequenceNumber)
Begins to get the information for that message
|
com.aspose.ms.System.IAsyncResult |
beginGetMessageInfo(int sequenceNumber,
com.aspose.ms.System.AsyncCallback callback)
Begins to get the information for that message
|
com.aspose.ms.System.IAsyncResult |
beginGetMessageInfo(int sequenceNumber,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins to get the information for that message
|
com.aspose.ms.System.IAsyncResult |
beginGetMessageInfo(int sequenceNumber,
int fields)
Begins to get the information for that message
|
com.aspose.ms.System.IAsyncResult |
beginGetMessageInfo(int sequenceNumber,
int fields,
com.aspose.ms.System.AsyncCallback callback)
Begins to get the information for that message
|
com.aspose.ms.System.IAsyncResult |
beginGetMessageInfo(int sequenceNumber,
int fields,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins to get the information for that message
|
com.aspose.ms.System.IAsyncResult |
beginGetMessageInfo(String uniqueId)
Begins to get the information for that message
|
com.aspose.ms.System.IAsyncResult |
beginGetMessageInfo(String uniqueId,
com.aspose.ms.System.AsyncCallback callback)
Begins to get the information for that message
|
com.aspose.ms.System.IAsyncResult |
beginGetMessageInfo(String uniqueId,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins to get the information for that message
|
com.aspose.ms.System.IAsyncResult |
beginGetMessageInfo(String uniqueId,
int fields)
Begins to get the information for that message
|
com.aspose.ms.System.IAsyncResult |
beginGetMessageInfo(String uniqueId,
int fields,
com.aspose.ms.System.AsyncCallback callback)
Begins to get the information for that message
|
com.aspose.ms.System.IAsyncResult |
beginGetMessageInfo(String uniqueId,
int fields,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins to get the information for that message
|
com.aspose.ms.System.IAsyncResult |
beginGetMessageSize(IConnection connection,
int sequenceNumber)
Begins GetMessageSize operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginGetMessageSize(IConnection connection,
int sequenceNumber,
com.aspose.ms.System.AsyncCallback callback)
Begins GetMessageSize operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginGetMessageSize(IConnection connection,
int sequenceNumber,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins GetMessageSize operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginGetMessageSize(IConnection connection,
String uniqueId)
Begins GetMessageSize operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginGetMessageSize(IConnection connection,
String uniqueId,
com.aspose.ms.System.AsyncCallback callback)
Begins GetMessageSize operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginGetMessageSize(IConnection connection,
String uniqueId,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins GetMessageSize operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginGetMessageSize(int sequenceNumber)
Begins GetMessageSize operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginGetMessageSize(int sequenceNumber,
com.aspose.ms.System.AsyncCallback callback)
Begins GetMessageSize operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginGetMessageSize(int sequenceNumber,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins GetMessageSize operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginGetMessageSize(String uniqueId)
Begins GetMessageSize operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginGetMessageSize(String uniqueId,
com.aspose.ms.System.AsyncCallback callback)
Begins GetMessageSize operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginGetMessageSize(String uniqueId,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins GetMessageSize operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginGetMessageUniqueId(IConnection connection,
int sequenceNumber)
Begins to get the message unique id
|
com.aspose.ms.System.IAsyncResult |
beginGetMessageUniqueId(IConnection connection,
int sequenceNumber,
com.aspose.ms.System.AsyncCallback callback)
Begins to get the message unique id
|
com.aspose.ms.System.IAsyncResult |
beginGetMessageUniqueId(IConnection connection,
int sequenceNumber,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins to get the message unique id
|
com.aspose.ms.System.IAsyncResult |
beginGetMessageUniqueId(int sequenceNumber)
Begins to get the message unique id
|
com.aspose.ms.System.IAsyncResult |
beginGetMessageUniqueId(int sequenceNumber,
com.aspose.ms.System.AsyncCallback callback)
Begins to get the message unique id
|
com.aspose.ms.System.IAsyncResult |
beginGetMessageUniqueId(int sequenceNumber,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins to get the message unique id
|
com.aspose.ms.System.IAsyncResult |
beginListMessages()
Begins ListMessages operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginListMessages(com.aspose.ms.System.AsyncCallback callback)
Begins ListMessages operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginListMessages(com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins ListMessages operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginListMessages(IConnection connection)
Begins ListMessages operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginListMessages(IConnection connection,
com.aspose.ms.System.AsyncCallback callback)
Begins ListMessages operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginListMessages(IConnection connection,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins ListMessages operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginListMessages(IConnection connection,
int fields,
boolean closeTransaction,
MailQuery query,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins ListMessage operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginListMessages(IConnection connection,
MailQuery query)
Begins ListMessage operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginListMessages(IConnection connection,
MailQuery query,
com.aspose.ms.System.AsyncCallback callback)
Begins ListMessage operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginListMessages(IConnection connection,
MailQuery query,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins ListMessage operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginListMessages(MailQuery query)
Begins ListMessage operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginListMessages(MailQuery query,
com.aspose.ms.System.AsyncCallback callback)
Begins ListMessage operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginListMessages(MailQuery query,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins ListMessage operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginLoadMessageInfoList(IConnection connection,
Iterable<Pop3MessageInfo> messageInfoList)
Begins load list of Pop3MessageInfo asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginLoadMessageInfoList(IConnection connection,
Iterable<Pop3MessageInfo> messageInfoList,
com.aspose.ms.System.AsyncCallback callback)
Begins load list of Pop3MessageInfo asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginLoadMessageInfoList(IConnection connection,
Iterable<Pop3MessageInfo> messageInfoList,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins load list of Pop3MessageInfo asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginLoadMessageInfoList(Iterable<Pop3MessageInfo> messageInfoList)
Begins load list of Pop3MessageInfo asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginLoadMessageInfoList(Iterable<Pop3MessageInfo> messageInfoList,
com.aspose.ms.System.AsyncCallback callback)
Begins load list of Pop3MessageInfo asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginLoadMessageInfoList(Iterable<Pop3MessageInfo> messageInfoList,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins load list of Pop3MessageInfo asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginLoadMessageInfoListBySequence(IConnection connection,
Iterable<Integer> sequenceNumberList)
Begins load list of Pop3MessageInfo asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginLoadMessageInfoListBySequence(IConnection connection,
Iterable<Integer> sequenceNumberList,
com.aspose.ms.System.AsyncCallback callback)
Begins load list of Pop3MessageInfo asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginLoadMessageInfoListBySequence(IConnection connection,
Iterable<Integer> sequenceNumberList,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins load list of Pop3MessageInfo asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginLoadMessageInfoListBySequence(Iterable<Integer> sequenceNumberList)
Begins load list of Pop3MessageInfo asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginLoadMessageInfoListBySequence(Iterable<Integer> sequenceNumberList,
com.aspose.ms.System.AsyncCallback callback)
Begins load list of Pop3MessageInfo asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginLoadMessageInfoListBySequence(Iterable<Integer> sequenceNumberList,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins load list of Pop3MessageInfo asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginNoop()
Begins 'No operation' command.
|
com.aspose.ms.System.IAsyncResult |
beginNoop(com.aspose.ms.System.AsyncCallback callback)
Begins 'No operation' command.
|
com.aspose.ms.System.IAsyncResult |
beginNoop(com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins 'No operation' command.
|
com.aspose.ms.System.IAsyncResult |
beginNoop(IConnection connection)
Begins 'No operation' command.
|
com.aspose.ms.System.IAsyncResult |
beginNoop(IConnection connection,
com.aspose.ms.System.AsyncCallback callback)
Begins 'No operation' command.
|
com.aspose.ms.System.IAsyncResult |
beginNoop(IConnection connection,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins 'No operation' command.
|
com.aspose.ms.System.IAsyncResult |
beginSaveMessage(IConnection connection,
int sequenceNumber,
OutputStream outputStream)
Begins SaveMessage operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginSaveMessage(IConnection connection,
int sequenceNumber,
OutputStream outputStream,
com.aspose.ms.System.AsyncCallback callback)
Begins SaveMessage operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginSaveMessage(IConnection connection,
int sequenceNumber,
OutputStream outputStream,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins SaveMessage operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginSaveMessage(IConnection connection,
String uniqueId,
OutputStream outputStream)
Begins SaveMessage operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginSaveMessage(IConnection connection,
String uniqueId,
OutputStream outputStream,
com.aspose.ms.System.AsyncCallback callback)
Begins SaveMessage operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginSaveMessage(IConnection connection,
String uniqueId,
OutputStream outputStream,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins SaveMessage operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginSaveMessage(int sequenceNumber,
OutputStream outputStream)
Begins SaveMessage operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginSaveMessage(int sequenceNumber,
OutputStream outputStream,
com.aspose.ms.System.AsyncCallback callback)
Begins SaveMessage operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginSaveMessage(int sequenceNumber,
OutputStream outputStream,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins SaveMessage operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginSaveMessage(String uniqueId,
OutputStream outputStream)
Begins SaveMessage operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginSaveMessage(String uniqueId,
OutputStream outputStream,
com.aspose.ms.System.AsyncCallback callback)
Begins SaveMessage operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginSaveMessage(String uniqueId,
OutputStream outputStream,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins SaveMessage operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginUndeleteMessages()
Begins undeletes the messages.
|
com.aspose.ms.System.IAsyncResult |
beginUndeleteMessages(com.aspose.ms.System.AsyncCallback callback)
Begins undeletes the messages.
|
com.aspose.ms.System.IAsyncResult |
beginUndeleteMessages(com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins undeletes the messages.
|
com.aspose.ms.System.IAsyncResult |
beginUndeleteMessages(IConnection connection)
Begins undeletes the messages.
|
com.aspose.ms.System.IAsyncResult |
beginUndeleteMessages(IConnection connection,
com.aspose.ms.System.AsyncCallback callback)
Begins undeletes the messages.
|
com.aspose.ms.System.IAsyncResult |
beginUndeleteMessages(IConnection connection,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins undeletes the messages.
|
void |
commitDeletes()
Commit the deletions
|
void |
commitDeletes(IConnection connection)
Commit the deletions
|
void |
commitDeletes(int sleep)
Commit the deletions
|
void |
deleteMessage(IConnection connection,
int sequenceNumber)
Deletes the message
|
void |
deleteMessage(IConnection connection,
String uniqueId)
Deletes the message
|
void |
deleteMessage(int sequenceNumber)
Deletes the message
|
void |
deleteMessage(String uniqueId)
Deletes the message
|
void |
deleteMessages()
Deletes all messages
|
void |
deleteMessages(IConnection connection)
Deletes all messages
|
void |
endCommitDeletes(com.aspose.ms.System.IAsyncResult asyncResult)
Waits for the asynchronous operation to complete.
|
void |
endDeleteMessage(com.aspose.ms.System.IAsyncResult asyncResult)
Waits for the asynchronous operation to complete.
|
void |
endDeleteMessages(com.aspose.ms.System.IAsyncResult asyncResult)
Waits for the asynchronous operation to complete.
|
MailMessage |
endFetchMessage(com.aspose.ms.System.IAsyncResult asyncResult)
Waits for the asynchronous operation to complete.
|
Iterable<MailMessage> |
endFetchMessages(com.aspose.ms.System.IAsyncResult asyncResult)
Waits for the asynchronous operation to complete.
|
Pop3MailboxInfo |
endGetMailboxInfo(com.aspose.ms.System.IAsyncResult asyncResult)
Waits for the asynchronous operation to complete.
|
long |
endGetMailboxSize(com.aspose.ms.System.IAsyncResult asyncResult)
Waits for the asynchronous operation to complete.
|
int |
endGetMessageCount(com.aspose.ms.System.IAsyncResult asyncResult)
Waits for the asynchronous operation to complete.
|
HeaderCollection |
endGetMessageHeaders(com.aspose.ms.System.IAsyncResult asyncResult)
Waits for the asynchronous operation to complete.
|
Pop3MessageInfo |
endGetMessageInfo(com.aspose.ms.System.IAsyncResult asyncResult)
Waits for the asynchronous operation to complete.
|
long |
endGetMessageSize(com.aspose.ms.System.IAsyncResult asyncResult)
Waits for the asynchronous operation to complete.
|
String |
endGetMessageUniqueId(com.aspose.ms.System.IAsyncResult asyncResult)
Waits for the asynchronous operation to complete.
|
Pop3MessageInfoCollection |
endListMessages(com.aspose.ms.System.IAsyncResult asyncResult)
Waits for the asynchronous operation to complete.
|
Pop3MessageInfoCollection |
endLoadMessageInfoList(com.aspose.ms.System.IAsyncResult asyncResult)
Waits for the asynchronous operation to complete.
|
void |
endNoop(com.aspose.ms.System.IAsyncResult asyncResult)
Waits for the asynchronous operation to complete.
|
void |
endSaveMessage(com.aspose.ms.System.IAsyncResult asyncResult)
Waits for the asynchronous operation to complete.
|
void |
endUndeleteMessages(com.aspose.ms.System.IAsyncResult asyncResult)
Waits for the asynchronous operation to complete.
|
MailMessage |
fetchMessage(IConnection connection,
int sequenceNumber)
Fetches the message
|
MailMessage |
fetchMessage(IConnection connection,
String uniqueId)
Fetches the message
|
MailMessage |
fetchMessage(int sequenceNumber)
Fetches the message
|
MailMessage |
fetchMessage(String uniqueId)
Fetches the message
|
Iterable<MailMessage> |
fetchMessagesBySequences(IConnection connection,
Iterable<Integer> sequenceNumbers)
Fetches the messages
|
Iterable<MailMessage> |
fetchMessagesBySequences(Iterable<Integer> sequenceNumbers)
Fetches the messages
|
Iterable<MailMessage> |
fetchMessagesByUids(IConnection connection,
Iterable<String> uids)
Fetches the messages
|
Iterable<MailMessage> |
fetchMessagesByUids(Iterable<String> uids)
Fetches the messages
|
int |
getDefaultPort()
Gets default port for client
|
Pop3MailboxInfo |
getMailboxInfo()
Gets the mailbox status info
|
Pop3MailboxInfo |
getMailboxInfo(boolean closeTransaction)
Gets the mailbox status info
|
Pop3MailboxInfo |
getMailboxInfo(IConnection connection)
Gets the mailbox status info
|
Pop3MailboxInfo |
getMailboxInfo(IConnection connection,
boolean closeTransaction)
Gets the mailbox status info
|
long |
getMailboxSize()
Gets the size of the mailbox
|
long |
getMailboxSize(IConnection connection)
Gets the size of the mailbox
|
int |
getMessageCount()
Gets the message count
|
int |
getMessageCount(boolean closeTransaction)
Gets the message count
|
int |
getMessageCount(IConnection connection)
Gets the message count
|
int |
getMessageCount(IConnection connection,
boolean closeTransaction)
Gets the message count
|
HeaderCollection |
getMessageHeaders(IConnection connection,
int sequenceNumber)
Gets the message headers
|
HeaderCollection |
getMessageHeaders(IConnection connection,
String uniqueId)
Gets the message headers
|
HeaderCollection |
getMessageHeaders(int sequenceNumber)
Gets the message headers
|
HeaderCollection |
getMessageHeaders(String uniqueId)
Gets the message headers
|
Pop3MessageInfo |
getMessageInfo(IConnection connection,
int sequenceNumber)
Gets the information for that message
|
Pop3MessageInfo |
getMessageInfo(IConnection connection,
int sequenceNumber,
int fields)
Gets the information for that message
|
Pop3MessageInfo |
getMessageInfo(IConnection connection,
String uniqueId)
Gets the information for that message
|
Pop3MessageInfo |
getMessageInfo(IConnection connection,
String uniqueId,
int fields)
Gets the information for that message
|
Pop3MessageInfo |
getMessageInfo(int sequenceNumber)
Gets the information for that message
|
Pop3MessageInfo |
getMessageInfo(int sequenceNumber,
int fields)
Gets the information for that message
|
Pop3MessageInfo |
getMessageInfo(String uniqueId)
Gets the information for that message
|
Pop3MessageInfo |
getMessageInfo(String uniqueId,
int fields)
Gets the information for that message
|
long |
getMessageSize(IConnection connection,
int sequenceNumber)
Gets the size of the message
|
long |
getMessageSize(IConnection connection,
String uniqueId)
Gets the size of the message
|
long |
getMessageSize(int sequenceNumber)
Gets the size of the message
|
long |
getMessageSize(String uniqueId)
Gets the size of the message
|
String |
getMessageUniqueId(IConnection connection,
int sequenceNumber)
Gets the message unique id
|
String |
getMessageUniqueId(int sequenceNumber)
Gets the message unique id
|
Pop3MessageInfoCollection |
listMessages()
Lists the messages.
|
Pop3MessageInfoCollection |
listMessages(boolean closeTransaction)
Lists the messages.
|
Pop3MessageInfoCollection |
listMessages(IConnection connection)
Lists the messages.
|
Pop3MessageInfoCollection |
listMessages(IConnection connection,
boolean closeTransaction)
Lists the messages.
|
Pop3MessageInfoCollection |
listMessages(IConnection connection,
int fields)
Lists the messages.
|
Pop3MessageInfoCollection |
listMessages(IConnection connection,
int fields,
boolean closeTransaction,
MailQuery query)
Lists the messages.
|
Pop3MessageInfoCollection |
listMessages(IConnection connection,
MailQuery query)
Lists the messages.
|
Pop3MessageInfoCollection |
listMessages(int fields)
Lists the messages.
|
Pop3MessageInfoCollection |
listMessages(int fields,
boolean closeTransaction,
MailQuery query)
Lists the messages.
|
Pop3MessageInfoCollection |
listMessages(MailQuery query)
Lists the messages.
|
Pop3MessageInfoCollection |
loadMessageInfoList(IConnection connection,
Iterable<Pop3MessageInfo> messageInfoList)
Loads list of Pop3MessageInfo
|
Pop3MessageInfoCollection |
loadMessageInfoList(Iterable<Pop3MessageInfo> messageInfoList)
Loads list of Pop3MessageInfo
|
Pop3MessageInfoCollection |
loadMessageInfoListBySequence(IConnection connection,
Iterable<Integer> sequenceNumberList)
Loads list of Pop3MessageInfo
|
Pop3MessageInfoCollection |
loadMessageInfoListBySequence(Iterable<Integer> sequenceNumberList)
Loads list of Pop3MessageInfo
|
void |
noop()
'No operation' command
|
void |
noop(IConnection connection)
'No operation' command
|
void |
saveMessage(IConnection connection,
int sequenceNumber,
OutputStream outputStream)
Fetches and save the message as a stream
|
void |
saveMessage(IConnection connection,
int sequenceNumber,
String fileName)
Fetches and save the message into a file
|
void |
saveMessage(IConnection connection,
String uniqueId,
OutputStream outputStream)
Fetches and save the message as a stream
|
void |
saveMessage(IConnection connection,
String uniqueId,
String fileName)
Fetches and save the message into a file
|
void |
saveMessage(int sequenceNumber,
OutputStream outputStream)
Fetches and save the message as a stream
|
void |
saveMessage(int sequenceNumber,
String fileName)
Fetches and save the message into a file
|
void |
saveMessage(String uniqueId,
OutputStream outputStream)
Fetches and save the message as a stream
|
void |
saveMessage(String uniqueId,
String fileName)
Fetches and save the message into a file
|
void |
undeleteMessages()
Undeletes the messages.
|
void |
undeleteMessages(IConnection connection)
Undeletes the messages.
|
bindIPEndPoint, cancelAsyncOperation, connectIPEndPoint, createConnection, createConnection, dispose, dispose, finalize, getAccessToken, getCapabilities, getClientCertificates, getConnectionAsgmtMode, getConnectionCheckupPeriod, getConnectionsQuantity, getConnectionState, getCurrentConnection, getEnableLogger, getHost, getLogFileName, getPassword, getPort, getProxy, getSecurityOptions, getSupportedEncryption, getTimeout, getTokenProvider, getUseAuthentication, getUseDateInLogFileName, getUseDefaultCredentials, getUseMultiConnection, getUseMultyConnection, getUsePipelining, getUsername, resetLogSettings, setAccessToken, setConnectionAsgmtMode, setConnectionCheckupPeriod, setConnectionsQuantity, setEnableLogger, setHost, setLogFileName, setPassword, setPort, setProxy, setSecurityOptions, setSocketsLayerVersion2, setSocketsLayerVersion2DisableSSLCertificateValidation, setSupportedEncryption, setTimeout, setTokenProvider, setUseAuthentication, setUseDateInLogFileName, setUseDefaultCredentials, setUseMultiConnection, setUseMultyConnection, setUsePipelining, setUsername
public Pop3Client()
Initializes a new instance of the Pop3Client
class
public Pop3Client(String host)
Initializes a new instance of the Pop3Client
class
host
- The host namepublic Pop3Client(String host, short securityOptions)
Initializes a new instance of the Pop3Client
class
host
- The host namesecurityOptions
- Security mode for a mail clientpublic Pop3Client(String host, int port)
Initializes a new instance of the Pop3Client
class
host
- The host nameport
- The port numberpublic Pop3Client(String host, int port, int securityOptions)
Initializes a new instance of the Pop3Client
class
host
- The host nameport
- The port numbersecurityOptions
- Security mode for a mail clientpublic Pop3Client(String host, String username, String password)
Initializes a new instance of the Pop3Client
class
host
- The host nameusername
- The usernamepassword
- The passwordpublic Pop3Client(String host, String username, String password, int securityOptions)
Initializes a new instance of the Pop3Client
class
host
- The host nameusername
- The usernamepassword
- The passwordsecurityOptions
- Security mode for a mail clientpublic Pop3Client(String host, int port, String username, String password)
Initializes a new instance of the Pop3Client
class
host
- The host nameport
- The port numberusername
- The usernamepassword
- The passwordpublic Pop3Client(String host, int port, String username, String password, int securityOptions)
Initializes a new instance of the Pop3Client
class
host
- The host nameport
- The port numberusername
- The usernamepassword
- The passwordsecurityOptions
- Security mode for a mail clientpublic Pop3Client(String host, int port, String username, String authInfo, boolean useOAuth, int securityOptions)
Initializes a new instance of the Pop3Client
class
host
- The host nameport
- The port numberusername
- The user nameauthInfo
- The user password or XOAUTH2 access tokenuseOAuth
- Defines whether SASL XOAUTH2 mechanism is used to login to the serversecurityOptions
- Security mode for a mail clientpublic Pop3Client(String host, int port, String username, ITokenProvider tokenProvider, int securityOptions)
Initializes a new instance of the Pop3Client
class
host
- The host nameport
- The port numberusername
- The user nametokenProvider
- TokenProvider allowing to retrieve access token.securityOptions
- Security mode for a mail clientpublic Pop3Client(String host, int port, String username, String password, com.aspose.ms.System.Net.Security.RemoteCertificateValidationCallback userCertificateValidationCallback)
Initializes a new instance of the Pop3Client
class
host
- The host nameport
- The port numberusername
- The usernamepassword
- The passworduserCertificateValidationCallback
- System.Net.Security.RemoteCertificateValidationCallbackpublic Pop3Client(String host, int port, String username, String password, com.aspose.ms.System.Net.Security.RemoteCertificateValidationCallback userCertificateValidationCallback, int securityOptions)
Initializes a new instance of the Pop3Client
class
host
- The host nameport
- The port numberusername
- The usernamepassword
- The passworduserCertificateValidationCallback
- System.Net.Security.RemoteCertificateValidationCallbacksecurityOptions
- Security mode for a mail clientpublic final com.aspose.ms.System.IAsyncResult beginCommitDeletes(IConnection connection)
Begins to commit the deletions.
connection
- Connection to a serverIAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginCommitDeletes(IConnection connection, com.aspose.ms.System.AsyncCallback callback)
Begins to commit the deletions.
connection
- Connection to a servercallback
- References a method to be called when a corresponding asynchronous operation completes.IAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginCommitDeletes(IConnection connection, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins to commit the deletions.
connection
- Connection to a servercallback
- References a method to be called when a corresponding asynchronous operation completes.state
- The state.IAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginCommitDeletes()
Begins to commit the deletions.
IAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginCommitDeletes(com.aspose.ms.System.AsyncCallback callback)
Begins to commit the deletions.
callback
- References a method to be called when a corresponding asynchronous operation completes.IAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginCommitDeletes(com.aspose.ms.System.AsyncCallback callback, Object state)
Begins to commit the deletions.
callback
- References a method to be called when a corresponding asynchronous operation completes.state
- The state.IAsyncResult
that represents the status of an asynchronous operation.public final void endCommitDeletes(com.aspose.ms.System.IAsyncResult asyncResult)
Waits for the asynchronous operation to complete.
asyncResult
- The reference to the pending asynchronous request to wait for.public final void commitDeletes(int sleep)
Commit the deletions
sleep
- Timeout in millisecondspublic final void commitDeletes(IConnection connection)
Commit the deletions
connection
- Connection to a serverpublic final void commitDeletes()
Commit the deletions
public int getDefaultPort()
Gets default port for client
getDefaultPort
in class EmailClient
public final com.aspose.ms.System.IAsyncResult beginDeleteMessage(IConnection connection, int sequenceNumber)
Begins DeleteMessage operation asynchronously
connection
- Connection to a serversequenceNumber
- The sequence number of the message
IAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginDeleteMessage(IConnection connection, int sequenceNumber, com.aspose.ms.System.AsyncCallback callback)
Begins DeleteMessage operation asynchronously
connection
- Connection to a serversequenceNumber
- The sequence number of the messagecallback
- References a method to be called when a corresponding asynchronous operation completes.
IAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginDeleteMessage(IConnection connection, int sequenceNumber, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins DeleteMessage operation asynchronously
connection
- Connection to a serversequenceNumber
- The sequence number of the messagecallback
- References a method to be called when a corresponding asynchronous operation completes.state
- The state.
IAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginDeleteMessage(IConnection connection, String uniqueId)
Begins DeleteMessage operation asynchronously
connection
- Connection to a serveruniqueId
- The unique id of the message
IAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginDeleteMessage(IConnection connection, String uniqueId, com.aspose.ms.System.AsyncCallback callback)
Begins DeleteMessage operation asynchronously
connection
- Connection to a serveruniqueId
- The unique id of the messagecallback
- References a method to be called when a corresponding asynchronous operation completes.
IAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginDeleteMessage(IConnection connection, String uniqueId, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins DeleteMessage operation asynchronously
connection
- Connection to a serveruniqueId
- The unique id of the messagecallback
- References a method to be called when a corresponding asynchronous operation completes.state
- The state.
IAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginDeleteMessage(int sequenceNumber)
Begins DeleteMessage operation asynchronously
sequenceNumber
- The sequence number of the message
IAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginDeleteMessage(int sequenceNumber, com.aspose.ms.System.AsyncCallback callback)
Begins DeleteMessage operation asynchronously
sequenceNumber
- The sequence number of the messagecallback
- References a method to be called when a corresponding asynchronous operation completes.
IAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginDeleteMessage(int sequenceNumber, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins DeleteMessage operation asynchronously
sequenceNumber
- The sequence number of the messagecallback
- References a method to be called when a corresponding asynchronous operation completes.state
- The state.
IAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginDeleteMessage(String uniqueId)
Begins DeleteMessage operation asynchronously
uniqueId
- The unique id of the message
IAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginDeleteMessage(String uniqueId, com.aspose.ms.System.AsyncCallback callback)
Begins DeleteMessage operation asynchronously
uniqueId
- The unique id of the messagecallback
- References a method to be called when a corresponding asynchronous operation completes.
IAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginDeleteMessage(String uniqueId, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins DeleteMessage operation asynchronously
uniqueId
- The unique id of the messagecallback
- References a method to be called when a corresponding asynchronous operation completes.state
- The state.
IAsyncResult
that represents the status of an asynchronous operation.public final void endDeleteMessage(com.aspose.ms.System.IAsyncResult asyncResult)
Waits for the asynchronous operation to complete.
asyncResult
- The reference to the pending asynchronous request to wait for.public final void deleteMessage(IConnection connection, int sequenceNumber)
Deletes the message
connection
- Connection to a serversequenceNumber
- The sequence number of the message
public final void deleteMessage(IConnection connection, String uniqueId)
Deletes the message
connection
- Connection to a serveruniqueId
- The unique id of the message
public final void deleteMessage(int sequenceNumber)
Deletes the message
sequenceNumber
- The sequence number of the message
public final void deleteMessage(String uniqueId)
Deletes the message
uniqueId
- The unique id of the message
public final com.aspose.ms.System.IAsyncResult beginDeleteMessages(IConnection connection)
Begins delete all messages asynchronously
connection
- Connection to a server
IAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginDeleteMessages(IConnection connection, com.aspose.ms.System.AsyncCallback callback)
Begins delete all messages asynchronously
connection
- Connection to a servercallback
- References a method to be called when a corresponding asynchronous operation completes.
IAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginDeleteMessages(IConnection connection, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins delete all messages asynchronously
connection
- Connection to a servercallback
- References a method to be called when a corresponding asynchronous operation completes.state
- The state.
IAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginDeleteMessages()
Begins delete all messages asynchronously
IAsyncResult
that represents the status of an asynchronous operation.
public final com.aspose.ms.System.IAsyncResult beginDeleteMessages(com.aspose.ms.System.AsyncCallback callback)
Begins delete all messages asynchronously
callback
- References a method to be called when a corresponding asynchronous operation completes.
IAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginDeleteMessages(com.aspose.ms.System.AsyncCallback callback, Object state)
Begins delete all messages asynchronously
callback
- References a method to be called when a corresponding asynchronous operation completes.state
- The state.
IAsyncResult
that represents the status of an asynchronous operation.public final void endDeleteMessages(com.aspose.ms.System.IAsyncResult asyncResult)
Waits for the asynchronous operation to complete.
asyncResult
- The reference to the pending asynchronous request to wait for.public final void deleteMessages(IConnection connection)
Deletes all messages
connection
- Connection to a server
public final void deleteMessages()
Deletes all messages
public final com.aspose.ms.System.IAsyncResult beginFetchMessage(IConnection connection, int sequenceNumber)
Begins FetchMessage operation asynchronously
connection
- Connection to a serversequenceNumber
- The sequence number of the messageIAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginFetchMessage(IConnection connection, int sequenceNumber, com.aspose.ms.System.AsyncCallback callback)
Begins FetchMessage operation asynchronously
connection
- Connection to a serversequenceNumber
- The sequence number of the messagecallback
- References a method to be called when a corresponding asynchronous operation completes.IAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginFetchMessage(IConnection connection, int sequenceNumber, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins FetchMessage operation asynchronously
connection
- Connection to a serversequenceNumber
- The sequence number of the messagecallback
- References a method to be called when a corresponding asynchronous operation completes.state
- The state.IAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginFetchMessage(IConnection connection, String uniqueId)
Begins FetchMessage operation asynchronously
connection
- Connection to a serveruniqueId
- The unique id of the messageIAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginFetchMessage(IConnection connection, String uniqueId, com.aspose.ms.System.AsyncCallback callback)
Begins FetchMessage operation asynchronously
connection
- Connection to a serveruniqueId
- The unique id of the messagecallback
- References a method to be called when a corresponding asynchronous operation completes.IAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginFetchMessage(IConnection connection, String uniqueId, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins FetchMessage operation asynchronously
connection
- Connection to a serveruniqueId
- The unique id of the messagecallback
- References a method to be called when a corresponding asynchronous operation completes.state
- The state.IAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginFetchMessage(int sequenceNumber)
Begins FetchMessage operation asynchronously
sequenceNumber
- The sequence number of the messageIAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginFetchMessage(int sequenceNumber, com.aspose.ms.System.AsyncCallback callback)
Begins FetchMessage operation asynchronously
sequenceNumber
- The sequence number of the messagecallback
- References a method to be called when a corresponding asynchronous operation completes.IAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginFetchMessage(int sequenceNumber, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins FetchMessage operation asynchronously
sequenceNumber
- The sequence number of the messagecallback
- References a method to be called when a corresponding asynchronous operation completes.state
- The state.IAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginFetchMessage(String uniqueId)
Begins FetchMessage operation asynchronously
uniqueId
- The unique id of the messageIAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginFetchMessage(String uniqueId, com.aspose.ms.System.AsyncCallback callback)
Begins FetchMessage operation asynchronously
uniqueId
- The unique id of the messagecallback
- References a method to be called when a corresponding asynchronous operation completes.IAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginFetchMessage(String uniqueId, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins FetchMessage operation asynchronously
uniqueId
- The unique id of the messagecallback
- References a method to be called when a corresponding asynchronous operation completes.state
- The state.IAsyncResult
that represents the status of an asynchronous operation.public final MailMessage endFetchMessage(com.aspose.ms.System.IAsyncResult asyncResult)
Waits for the asynchronous operation to complete.
asyncResult
- The reference to the pending asynchronous request to wait for.MailMessage
that represents e-mail messagepublic final MailMessage fetchMessage(IConnection connection, String uniqueId)
Fetches the message
connection
- Connection to a serveruniqueId
- The unique id of the messageMailMessage
that represents e-mail messagepublic final MailMessage fetchMessage(IConnection connection, int sequenceNumber)
Fetches the message
connection
- Connection to a serversequenceNumber
- The sequence number of the messageMailMessage
that represents e-mail messagepublic final MailMessage fetchMessage(String uniqueId)
Fetches the message
uniqueId
- The unique id of the messageMailMessage
that represents e-mail messagepublic final MailMessage fetchMessage(int sequenceNumber)
Fetches the message
sequenceNumber
- The sequence number of the messageMailMessage
that represents e-mail messagepublic final com.aspose.ms.System.IAsyncResult beginFetchMessagesBySequences(Iterable<Integer> sequenceNumbers)
Begins FetchMessages operation asynchronously
sequenceNumbers
- IAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginFetchMessagesBySequences(Iterable<Integer> sequenceNumbers, com.aspose.ms.System.AsyncCallback callback)
Begins FetchMessages operation asynchronously
sequenceNumbers
- callback
- References a method to be called when a corresponding asynchronous operation completes.IAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginFetchMessagesBySequences(Iterable<Integer> sequenceNumbers, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins FetchMessages operation asynchronously
sequenceNumbers
- callback
- References a method to be called when a corresponding asynchronous operation completes.state
- The state.IAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginFetchMessagesBySequences(IConnection connection, Iterable<Integer> sequenceNumbers)
Begins FetchMessages operation asynchronously
connection
- Connection to a serversequenceNumbers
- IAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginFetchMessagesBySequences(IConnection connection, Iterable<Integer> sequenceNumbers, com.aspose.ms.System.AsyncCallback callback)
Begins FetchMessages operation asynchronously
connection
- Connection to a serversequenceNumbers
- callback
- References a method to be called when a corresponding asynchronous operation completes.IAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginFetchMessagesBySequences(IConnection connection, Iterable<Integer> sequenceNumbers, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins FetchMessages operation asynchronously
connection
- Connection to a serversequenceNumbers
- callback
- References a method to be called when a corresponding asynchronous operation completes.state
- The state.IAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginFetchMessagesByUids(Iterable<String> uids)
Begins FetchMessages operation asynchronously
uids
- The sequence numbers of the messagesIAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginFetchMessagesByUids(Iterable<String> uids, com.aspose.ms.System.AsyncCallback callback)
Begins FetchMessages operation asynchronously
uids
- The sequence numbers of the messagescallback
- References a method to be called when a corresponding asynchronous operation completes.IAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginFetchMessagesByUids(Iterable<String> uids, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins FetchMessages operation asynchronously
uids
- The sequence numbers of the messagescallback
- References a method to be called when a corresponding asynchronous operation completes.state
- The state.IAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginFetchMessagesByUids(IConnection connection, Iterable<String> uids)
Begins FetchMessages operation asynchronously
connection
- Connection to a serveruids
- The sequence numbers of the messagesIAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginFetchMessagesByUids(IConnection connection, Iterable<String> uids, com.aspose.ms.System.AsyncCallback callback)
Begins FetchMessages operation asynchronously
connection
- Connection to a serveruids
- The sequence numbers of the messagescallback
- References a method to be called when a corresponding asynchronous operation completes.IAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginFetchMessagesByUids(IConnection connection, Iterable<String> uids, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins FetchMessages operation asynchronously
connection
- Connection to a serveruids
- The sequence numbers of the messagescallback
- References a method to be called when a corresponding asynchronous operation completes.state
- The state.IAsyncResult
that represents the status of an asynchronous operation.public final Iterable<MailMessage> endFetchMessages(com.aspose.ms.System.IAsyncResult asyncResult)
Waits for the asynchronous operation to complete.
asyncResult
- The reference to the pending asynchronous request to wait for.MailMessage
objectspublic final Iterable<MailMessage> fetchMessagesBySequences(Iterable<Integer> sequenceNumbers)
Fetches the messages
sequenceNumbers
- The sequence numbers of the messagesMailMessage
objectspublic final Iterable<MailMessage> fetchMessagesByUids(Iterable<String> uids)
Fetches the messages
uids
- The sequence numbers of the messagesMailMessage
objectspublic final Iterable<MailMessage> fetchMessagesBySequences(IConnection connection, Iterable<Integer> sequenceNumbers)
Fetches the messages
connection
- Connection to a serversequenceNumbers
- The sequence numbers of the messagesMailMessage
objectspublic final Iterable<MailMessage> fetchMessagesByUids(IConnection connection, Iterable<String> uids)
Fetches the messages
connection
- Connection to a serveruids
- The sequence numbers of the messagesMailMessage
objectspublic final com.aspose.ms.System.IAsyncResult beginGetMailboxInfo(IConnection connection)
Begins to get the mailbox status info
connection
- Connection to a serverIAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginGetMailboxInfo(IConnection connection, com.aspose.ms.System.AsyncCallback callback)
Begins to get the mailbox status info
connection
- Connection to a servercallback
- References a method to be called when a corresponding asynchronous operation completes.IAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginGetMailboxInfo(IConnection connection, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins to get the mailbox status info
connection
- Connection to a servercallback
- References a method to be called when a corresponding asynchronous operation completes.state
- The state.IAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginGetMailboxInfo(IConnection connection, boolean closeTransaction, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins to get the mailbox status info
connection
- Connection to a servercloseTransaction
- Indicates if current transaction has to be closed, before the list is retrieved.callback
- References a method to be called when a corresponding asynchronous operation completes.state
- The state.IAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginGetMailboxInfo()
Begins to get the mailbox status info
IAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginGetMailboxInfo(com.aspose.ms.System.AsyncCallback callback)
Begins to get the mailbox status info
callback
- References a method to be called when a corresponding asynchronous operation completes.IAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginGetMailboxInfo(com.aspose.ms.System.AsyncCallback callback, Object state)
Begins to get the mailbox status info
callback
- References a method to be called when a corresponding asynchronous operation completes.state
- The state.IAsyncResult
that represents the status of an asynchronous operation.public final Pop3MailboxInfo endGetMailboxInfo(com.aspose.ms.System.IAsyncResult asyncResult)
Waits for the asynchronous operation to complete.
asyncResult
- The reference to the pending asynchronous request to wait for.public final Pop3MailboxInfo getMailboxInfo(IConnection connection)
Gets the mailbox status info
connection
- Connection to a serverpublic final Pop3MailboxInfo getMailboxInfo(IConnection connection, boolean closeTransaction)
Gets the mailbox status info
connection
- Connection to a servercloseTransaction
- Indicates if current transaction has to be closed, before the list is retrieved.public final Pop3MailboxInfo getMailboxInfo(boolean closeTransaction)
Gets the mailbox status info
closeTransaction
- Indicates if current transaction has to be closed, before the list is retrieved.public final Pop3MailboxInfo getMailboxInfo()
Gets the mailbox status info
public final com.aspose.ms.System.IAsyncResult beginGetMailboxSize(IConnection connection)
Begins GetMailboxSize operation asynchronously
connection
- Connection to a serverIAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginGetMailboxSize(IConnection connection, com.aspose.ms.System.AsyncCallback callback)
Begins GetMailboxSize operation asynchronously
connection
- Connection to a servercallback
- References a method to be called when a corresponding asynchronous operation completes.IAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginGetMailboxSize(IConnection connection, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins GetMailboxSize operation asynchronously
connection
- Connection to a servercallback
- References a method to be called when a corresponding asynchronous operation completes.state
- The state.IAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginGetMailboxSize()
Begins GetMailboxSize operation asynchronously
IAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginGetMailboxSize(com.aspose.ms.System.AsyncCallback callback)
Begins GetMailboxSize operation asynchronously
callback
- References a method to be called when a corresponding asynchronous operation completes.IAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginGetMailboxSize(com.aspose.ms.System.AsyncCallback callback, Object state)
Begins GetMailboxSize operation asynchronously
callback
- References a method to be called when a corresponding asynchronous operation completes.state
- The state.IAsyncResult
that represents the status of an asynchronous operation.public final long endGetMailboxSize(com.aspose.ms.System.IAsyncResult asyncResult)
Waits for the asynchronous operation to complete.
asyncResult
- The reference to the pending asynchronous request to wait for.public final long getMailboxSize(IConnection connection)
Gets the size of the mailbox
connection
- Connection to a serverpublic final long getMailboxSize()
Gets the size of the mailbox
public final com.aspose.ms.System.IAsyncResult beginGetMessageCount(IConnection connection)
Begins GetMessageCount operation asynchronously
connection
- Connection to a serverIAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginGetMessageCount(IConnection connection, com.aspose.ms.System.AsyncCallback callback)
Begins GetMessageCount operation asynchronously
connection
- Connection to a servercallback
- References a method to be called when a corresponding asynchronous operation completes.IAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginGetMessageCount(IConnection connection, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins GetMessageCount operation asynchronously
connection
- Connection to a servercallback
- References a method to be called when a corresponding asynchronous operation completes.state
- The state.IAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginGetMessageCount(IConnection connection, boolean closeTransaction)
Begins GetMessageCount operation asynchronously
connection
- Connection to a servercloseTransaction
- Indicates if current transaction has to be closed, before the list is retrieved.IAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginGetMessageCount(IConnection connection, boolean closeTransaction, com.aspose.ms.System.AsyncCallback callback)
Begins GetMessageCount operation asynchronously
connection
- Connection to a servercloseTransaction
- Indicates if current transaction has to be closed, before the list is retrieved.callback
- References a method to be called when a corresponding asynchronous operation completes.IAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginGetMessageCount(IConnection connection, boolean closeTransaction, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins GetMessageCount operation asynchronously
connection
- Connection to a servercloseTransaction
- Indicates if current transaction has to be closed, before the list is retrieved.callback
- References a method to be called when a corresponding asynchronous operation completes.state
- The state.IAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginGetMessageCount()
Begins GetMessageCount operation asynchronously
IAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginGetMessageCount(com.aspose.ms.System.AsyncCallback callback)
Begins GetMessageCount operation asynchronously
callback
- References a method to be called when a corresponding asynchronous operation completes.IAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginGetMessageCount(com.aspose.ms.System.AsyncCallback callback, Object state)
Begins GetMessageCount operation asynchronously
callback
- References a method to be called when a corresponding asynchronous operation completes.state
- The state.IAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginGetMessageCount(boolean closeTransaction)
Begins GetMessageCount operation asynchronously
closeTransaction
- Indicates if current transaction has to be closed, before the list is retrieved.IAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginGetMessageCount(boolean closeTransaction, com.aspose.ms.System.AsyncCallback callback)
Begins GetMessageCount operation asynchronously
closeTransaction
- Indicates if current transaction has to be closed, before the list is retrieved.callback
- References a method to be called when a corresponding asynchronous operation completes.IAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginGetMessageCount(boolean closeTransaction, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins GetMessageCount operation asynchronously
closeTransaction
- Indicates if current transaction has to be closed, before the list is retrieved.callback
- References a method to be called when a corresponding asynchronous operation completes.state
- The state.IAsyncResult
that represents the status of an asynchronous operation.public final int endGetMessageCount(com.aspose.ms.System.IAsyncResult asyncResult)
Waits for the asynchronous operation to complete.
asyncResult
- The reference to the pending asynchronous request to wait for.public final int getMessageCount(IConnection connection)
Gets the message count
connection
- Connection to a serverpublic final int getMessageCount(IConnection connection, boolean closeTransaction)
Gets the message count
connection
- Connection to a servercloseTransaction
- Indicates if current transaction has to be closed, before the list is retrieved.public final int getMessageCount()
Gets the message count
public final int getMessageCount(boolean closeTransaction)
Gets the message count
closeTransaction
- Indicates if current transaction has to be closed, before the list is retrieved.public final com.aspose.ms.System.IAsyncResult beginGetMessageHeaders(IConnection connection, int sequenceNumber)
Begins getting message headers
connection
- Connection to a serversequenceNumber
- The sequence number of the messageIAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginGetMessageHeaders(IConnection connection, int sequenceNumber, com.aspose.ms.System.AsyncCallback callback)
Begins getting message headers
connection
- Connection to a serversequenceNumber
- The sequence number of the messagecallback
- References a method to be called when a corresponding asynchronous operation completes.IAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginGetMessageHeaders(IConnection connection, int sequenceNumber, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins getting message headers
connection
- Connection to a serversequenceNumber
- The sequence number of the messagecallback
- References a method to be called when a corresponding asynchronous operation completes.state
- The state.IAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginGetMessageHeaders(int sequenceNumber)
Begins getting message headers
sequenceNumber
- The sequence number of the messageIAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginGetMessageHeaders(int sequenceNumber, com.aspose.ms.System.AsyncCallback callback)
Begins getting message headers
sequenceNumber
- The sequence number of the messagecallback
- References a method to be called when a corresponding asynchronous operation completes.IAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginGetMessageHeaders(int sequenceNumber, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins getting message headers
sequenceNumber
- The sequence number of the messagecallback
- References a method to be called when a corresponding asynchronous operation completes.state
- The state.IAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginGetMessageHeaders(IConnection connection, String uniqueId)
Begins getting message headers
connection
- Connection to a serveruniqueId
- The unique id of the messageIAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginGetMessageHeaders(IConnection connection, String uniqueId, com.aspose.ms.System.AsyncCallback callback)
Begins getting message headers
connection
- Connection to a serveruniqueId
- The unique id of the messagecallback
- References a method to be called when a corresponding asynchronous operation completes.IAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginGetMessageHeaders(IConnection connection, String uniqueId, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins getting message headers
connection
- Connection to a serveruniqueId
- The unique id of the messagecallback
- References a method to be called when a corresponding asynchronous operation completes.state
- The state.IAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginGetMessageHeaders(String uniqueId)
Begins getting message headers
uniqueId
- The unique id of the messageIAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginGetMessageHeaders(String uniqueId, com.aspose.ms.System.AsyncCallback callback)
Begins getting message headers
uniqueId
- The unique id of the messagecallback
- References a method to be called when a corresponding asynchronous operation completes.IAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginGetMessageHeaders(String uniqueId, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins getting message headers
uniqueId
- The unique id of the messagecallback
- References a method to be called when a corresponding asynchronous operation completes.state
- The state.IAsyncResult
that represents the status of an asynchronous operation.public final HeaderCollection endGetMessageHeaders(com.aspose.ms.System.IAsyncResult asyncResult)
Waits for the asynchronous operation to complete.
asyncResult
- The reference to the pending asynchronous request to wait for.public final HeaderCollection getMessageHeaders(IConnection connection, int sequenceNumber)
Gets the message headers
connection
- Connection to a serversequenceNumber
- The sequence number of the messagepublic final HeaderCollection getMessageHeaders(int sequenceNumber)
Gets the message headers
sequenceNumber
- The sequence number of the messagepublic final HeaderCollection getMessageHeaders(IConnection connection, String uniqueId)
Gets the message headers
connection
- Connection to a serveruniqueId
- The unique id of the messagepublic final HeaderCollection getMessageHeaders(String uniqueId)
Gets the message headers
uniqueId
- The unique id of the messagepublic final com.aspose.ms.System.IAsyncResult beginGetMessageSize(IConnection connection, int sequenceNumber)
Begins GetMessageSize operation asynchronously
connection
- Connection to a serversequenceNumber
- The sequence number of the messageIAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginGetMessageSize(IConnection connection, int sequenceNumber, com.aspose.ms.System.AsyncCallback callback)
Begins GetMessageSize operation asynchronously
connection
- Connection to a serversequenceNumber
- The sequence number of the messagecallback
- References a method to be called when a corresponding asynchronous operation completes.IAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginGetMessageSize(IConnection connection, int sequenceNumber, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins GetMessageSize operation asynchronously
connection
- Connection to a serversequenceNumber
- The sequence number of the messagecallback
- References a method to be called when a corresponding asynchronous operation completes.state
- The state.IAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginGetMessageSize(int sequenceNumber)
Begins GetMessageSize operation asynchronously
sequenceNumber
- The sequence number of the messageIAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginGetMessageSize(int sequenceNumber, com.aspose.ms.System.AsyncCallback callback)
Begins GetMessageSize operation asynchronously
sequenceNumber
- The sequence number of the messagecallback
- References a method to be called when a corresponding asynchronous operation completes.IAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginGetMessageSize(int sequenceNumber, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins GetMessageSize operation asynchronously
sequenceNumber
- The sequence number of the messagecallback
- References a method to be called when a corresponding asynchronous operation completes.state
- The state.IAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginGetMessageSize(IConnection connection, String uniqueId)
Begins GetMessageSize operation asynchronously
connection
- Connection to a serveruniqueId
- The unique id of the messageIAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginGetMessageSize(IConnection connection, String uniqueId, com.aspose.ms.System.AsyncCallback callback)
Begins GetMessageSize operation asynchronously
connection
- Connection to a serveruniqueId
- The unique id of the messagecallback
- References a method to be called when a corresponding asynchronous operation completes.IAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginGetMessageSize(IConnection connection, String uniqueId, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins GetMessageSize operation asynchronously
connection
- Connection to a serveruniqueId
- The unique id of the messagecallback
- References a method to be called when a corresponding asynchronous operation completes.state
- The state.IAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginGetMessageSize(String uniqueId)
Begins GetMessageSize operation asynchronously
uniqueId
- The unique id of the messageIAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginGetMessageSize(String uniqueId, com.aspose.ms.System.AsyncCallback callback)
Begins GetMessageSize operation asynchronously
uniqueId
- The unique id of the messagecallback
- References a method to be called when a corresponding asynchronous operation completes.IAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginGetMessageSize(String uniqueId, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins GetMessageSize operation asynchronously
uniqueId
- The unique id of the messagecallback
- References a method to be called when a corresponding asynchronous operation completes.state
- The state.IAsyncResult
that represents the status of an asynchronous operation.public final long endGetMessageSize(com.aspose.ms.System.IAsyncResult asyncResult)
Waits for the asynchronous operation to complete.
asyncResult
- The reference to the pending asynchronous request to wait for.public final long getMessageSize(IConnection connection, String uniqueId)
Gets the size of the message
connection
- Connection to a serveruniqueId
- The unique id of the messagepublic final long getMessageSize(String uniqueId)
Gets the size of the message
uniqueId
- The unique id of the messagepublic final long getMessageSize(IConnection connection, int sequenceNumber)
Gets the size of the message
connection
- Connection to a serversequenceNumber
- The sequence number of the messagepublic final long getMessageSize(int sequenceNumber)
Gets the size of the message
sequenceNumber
- The sequence number of the messagepublic final com.aspose.ms.System.IAsyncResult beginGetMessageUniqueId(IConnection connection, int sequenceNumber)
Begins to get the message unique id
connection
- Connection to a serversequenceNumber
- The sequence number of the messageIAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginGetMessageUniqueId(IConnection connection, int sequenceNumber, com.aspose.ms.System.AsyncCallback callback)
Begins to get the message unique id
connection
- Connection to a serversequenceNumber
- The sequence number of the messagecallback
- References a method to be called when a corresponding asynchronous operation completes.IAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginGetMessageUniqueId(IConnection connection, int sequenceNumber, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins to get the message unique id
connection
- Connection to a serversequenceNumber
- The sequence number of the messagecallback
- References a method to be called when a corresponding asynchronous operation completes.state
- The state.IAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginGetMessageUniqueId(int sequenceNumber)
Begins to get the message unique id
sequenceNumber
- The sequence number of the messageIAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginGetMessageUniqueId(int sequenceNumber, com.aspose.ms.System.AsyncCallback callback)
Begins to get the message unique id
sequenceNumber
- The sequence number of the messagecallback
- References a method to be called when a corresponding asynchronous operation completes.IAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginGetMessageUniqueId(int sequenceNumber, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins to get the message unique id
sequenceNumber
- The sequence number of the messagecallback
- References a method to be called when a corresponding asynchronous operation completes.state
- The state.IAsyncResult
that represents the status of an asynchronous operation.public final String endGetMessageUniqueId(com.aspose.ms.System.IAsyncResult asyncResult)
Waits for the asynchronous operation to complete.
public final String getMessageUniqueId(IConnection connection, int sequenceNumber)
Gets the message unique id
connection
- Connection to a serversequenceNumber
- The sequence number of the messagepublic final String getMessageUniqueId(int sequenceNumber)
Gets the message unique id
sequenceNumber
- The sequence number of the messagepublic final com.aspose.ms.System.IAsyncResult beginGetMessageInfo(IConnection connection, int sequenceNumber, int fields)
Begins to get the information for that message
connection
- Connection to a serversequenceNumber
- The sequence number of the messagefields
- The fields that we want getIAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginGetMessageInfo(IConnection connection, int sequenceNumber, int fields, com.aspose.ms.System.AsyncCallback callback)
Begins to get the information for that message
connection
- Connection to a serversequenceNumber
- The sequence number of the messagefields
- The fields that we want getcallback
- References a method to be called when a corresponding asynchronous operation completes.IAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginGetMessageInfo(IConnection connection, int sequenceNumber, int fields, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins to get the information for that message
connection
- Connection to a serversequenceNumber
- The sequence number of the messagefields
- The fields that we want getcallback
- References a method to be called when a corresponding asynchronous operation completes.state
- The state.IAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginGetMessageInfo(IConnection connection, int sequenceNumber)
Begins to get the information for that message
connection
- Connection to a serversequenceNumber
- The sequence number of the messageIAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginGetMessageInfo(IConnection connection, int sequenceNumber, com.aspose.ms.System.AsyncCallback callback)
Begins to get the information for that message
connection
- Connection to a serversequenceNumber
- The sequence number of the messagecallback
- References a method to be called when a corresponding asynchronous operation completes.IAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginGetMessageInfo(IConnection connection, int sequenceNumber, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins to get the information for that message
connection
- Connection to a serversequenceNumber
- The sequence number of the messagecallback
- References a method to be called when a corresponding asynchronous operation completes.state
- The state.IAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginGetMessageInfo(int sequenceNumber, int fields)
Begins to get the information for that message
sequenceNumber
- The sequence number of the messagefields
- The fields that we want getIAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginGetMessageInfo(int sequenceNumber, int fields, com.aspose.ms.System.AsyncCallback callback)
Begins to get the information for that message
sequenceNumber
- The sequence number of the messagefields
- The fields that we want getcallback
- References a method to be called when a corresponding asynchronous operation completes.IAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginGetMessageInfo(int sequenceNumber, int fields, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins to get the information for that message
sequenceNumber
- The sequence number of the messagefields
- The fields that we want getcallback
- References a method to be called when a corresponding asynchronous operation completes.state
- The state.IAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginGetMessageInfo(int sequenceNumber)
Begins to get the information for that message
sequenceNumber
- The sequence number of the messageIAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginGetMessageInfo(int sequenceNumber, com.aspose.ms.System.AsyncCallback callback)
Begins to get the information for that message
sequenceNumber
- The sequence number of the messagecallback
- References a method to be called when a corresponding asynchronous operation completes.IAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginGetMessageInfo(int sequenceNumber, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins to get the information for that message
sequenceNumber
- The sequence number of the messagecallback
- References a method to be called when a corresponding asynchronous operation completes.state
- The state.IAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginGetMessageInfo(IConnection connection, String uniqueId, int fields)
Begins to get the information for that message
connection
- Connection to a serveruniqueId
- The unique id of the messagefields
- The fields that we want getIAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginGetMessageInfo(IConnection connection, String uniqueId, int fields, com.aspose.ms.System.AsyncCallback callback)
Begins to get the information for that message
connection
- Connection to a serveruniqueId
- The unique id of the messagefields
- The fields that we want getcallback
- References a method to be called when a corresponding asynchronous operation completes.IAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginGetMessageInfo(IConnection connection, String uniqueId, int fields, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins to get the information for that message
connection
- Connection to a serveruniqueId
- The unique id of the messagefields
- The fields that we want getcallback
- References a method to be called when a corresponding asynchronous operation completes.state
- The state.IAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginGetMessageInfo(IConnection connection, String uniqueId)
Begins to get the information for that message
connection
- Connection to a serveruniqueId
- The unique id of the messageIAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginGetMessageInfo(IConnection connection, String uniqueId, com.aspose.ms.System.AsyncCallback callback)
Begins to get the information for that message
connection
- Connection to a serveruniqueId
- The unique id of the messagecallback
- References a method to be called when a corresponding asynchronous operation completes.IAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginGetMessageInfo(IConnection connection, String uniqueId, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins to get the information for that message
connection
- Connection to a serveruniqueId
- The unique id of the messagecallback
- References a method to be called when a corresponding asynchronous operation completes.state
- The state.IAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginGetMessageInfo(String uniqueId, int fields)
Begins to get the information for that message
uniqueId
- The unique id of the messagefields
- The fields that we want getIAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginGetMessageInfo(String uniqueId, int fields, com.aspose.ms.System.AsyncCallback callback)
Begins to get the information for that message
uniqueId
- The unique id of the messagefields
- The fields that we want getcallback
- References a method to be called when a corresponding asynchronous operation completes.IAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginGetMessageInfo(String uniqueId, int fields, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins to get the information for that message
uniqueId
- The unique id of the messagefields
- The fields that we want getcallback
- References a method to be called when a corresponding asynchronous operation completes.state
- The state.IAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginGetMessageInfo(String uniqueId)
Begins to get the information for that message
uniqueId
- The unique id of the messageIAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginGetMessageInfo(String uniqueId, com.aspose.ms.System.AsyncCallback callback)
Begins to get the information for that message
uniqueId
- The unique id of the messagecallback
- References a method to be called when a corresponding asynchronous operation completes.IAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginGetMessageInfo(String uniqueId, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins to get the information for that message
uniqueId
- The unique id of the messagecallback
- References a method to be called when a corresponding asynchronous operation completes.state
- The state.IAsyncResult
that represents the status of an asynchronous operation.public final Pop3MessageInfo endGetMessageInfo(com.aspose.ms.System.IAsyncResult asyncResult)
Waits for the asynchronous operation to complete.
asyncResult
- The reference to the pending asynchronous request to wait for.public final Pop3MessageInfo getMessageInfo(IConnection connection, String uniqueId, int fields)
Gets the information for that message
connection
- Connection to a serveruniqueId
- The unique id of the messagefields
- The fields that we want getpublic final Pop3MessageInfo getMessageInfo(IConnection connection, String uniqueId)
Gets the information for that message
connection
- Connection to a serveruniqueId
- The unique id of the messagepublic final Pop3MessageInfo getMessageInfo(String uniqueId)
Gets the information for that message
uniqueId
- The unique id of the messagepublic final Pop3MessageInfo getMessageInfo(String uniqueId, int fields)
Gets the information for that message
uniqueId
- The unique id of the messagefields
- The fields that we want getpublic final Pop3MessageInfo getMessageInfo(IConnection connection, int sequenceNumber, int fields)
Gets the information for that message
connection
- Connection to a serversequenceNumber
- The sequence number of the messagefields
- The fields that we want getpublic final Pop3MessageInfo getMessageInfo(IConnection connection, int sequenceNumber)
Gets the information for that message
connection
- Connection to a serversequenceNumber
- The sequence number of the messagepublic final Pop3MessageInfo getMessageInfo(int sequenceNumber)
Gets the information for that message
sequenceNumber
- The sequence number of the messagepublic final Pop3MessageInfo getMessageInfo(int sequenceNumber, int fields)
Gets the information for that message
sequenceNumber
- The sequence number of the messagefields
- The fields that we want getpublic final com.aspose.ms.System.IAsyncResult beginListMessages(IConnection connection, int fields, boolean closeTransaction, MailQuery query, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins ListMessage operation asynchronously
connection
- Connection to a serverfields
- The fields that we want getcloseTransaction
- Indicates if current transaction has to be closed, before the list is retrieved.query
- The MailQuery
object.callback
- References a method to be called when a corresponding asynchronous operation completes.state
- The state.IAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginListMessages(IConnection connection)
Begins ListMessages operation asynchronously
connection
- Connection to a serverIAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginListMessages(IConnection connection, com.aspose.ms.System.AsyncCallback callback)
Begins ListMessages operation asynchronously
connection
- Connection to a servercallback
- References a method to be called when a corresponding asynchronous operation completes.IAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginListMessages(IConnection connection, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins ListMessages operation asynchronously
connection
- Connection to a servercallback
- References a method to be called when a corresponding asynchronous operation completes.state
- The state.IAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginListMessages(IConnection connection, MailQuery query)
Begins ListMessage operation asynchronously
connection
- Connection to a serverquery
- MailQuery
that represents search query.IAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginListMessages(IConnection connection, MailQuery query, com.aspose.ms.System.AsyncCallback callback)
Begins ListMessage operation asynchronously
connection
- Connection to a serverquery
- The MailQuery
object.callback
- References a method to be called when a corresponding asynchronous operation completes.IAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginListMessages(IConnection connection, MailQuery query, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins ListMessage operation asynchronously
connection
- Connection to a serverquery
- The MailQuery
object.callback
- References a method to be called when a corresponding asynchronous operation completes.state
- The state.IAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginListMessages()
Begins ListMessages operation asynchronously
IAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginListMessages(com.aspose.ms.System.AsyncCallback callback)
Begins ListMessages operation asynchronously
callback
- References a method to be called when a corresponding asynchronous operation completes.IAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginListMessages(com.aspose.ms.System.AsyncCallback callback, Object state)
Begins ListMessages operation asynchronously
callback
- References a method to be called when a corresponding asynchronous operation completes.state
- The state.IAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginListMessages(MailQuery query)
Begins ListMessage operation asynchronously
query
- MailQuery
that represents search query.IAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginListMessages(MailQuery query, com.aspose.ms.System.AsyncCallback callback)
Begins ListMessage operation asynchronously
query
- The MailQuery
object.callback
- References a method to be called when a corresponding asynchronous operation completes.IAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginListMessages(MailQuery query, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins ListMessage operation asynchronously
query
- The MailQuery
object.callback
- References a method to be called when a corresponding asynchronous operation completes.state
- The state.IAsyncResult
that represents the status of an asynchronous operation.public final Pop3MessageInfoCollection endListMessages(com.aspose.ms.System.IAsyncResult asyncResult)
Waits for the asynchronous operation to complete.
asyncResult
- The reference to the pending asynchronous request to wait for.public final Pop3MessageInfoCollection listMessages(IConnection connection)
Lists the messages. Gets an information for earch message
connection
- Connection to a server
public final Pop3MessageInfoCollection listMessages(IConnection connection, boolean closeTransaction)
Lists the messages. Gets an information for earch message
connection
- Connection to a servercloseTransaction
- Indicates if current transaction has to be closed, before the list is retrieved.
public final Pop3MessageInfoCollection listMessages(IConnection connection, MailQuery query)
Lists the messages.
connection
- Connection to a serverquery
- The MailQuery
object.public final Pop3MessageInfoCollection listMessages(IConnection connection, int fields)
Lists the messages.
connection
- Connection to a serverfields
- The fields that we want get
public final Pop3MessageInfoCollection listMessages(IConnection connection, int fields, boolean closeTransaction, MailQuery query)
Lists the messages.
connection
- Connection to a serverfields
- The fields that we want getcloseTransaction
- Indicates if current transaction has to be closed, before the list is retrieved.query
- The MailQuery
object.public final Pop3MessageInfoCollection listMessages()
Lists the messages. Gets an information for earch message
public final Pop3MessageInfoCollection listMessages(boolean closeTransaction)
Lists the messages. Gets an information for earch message
closeTransaction
- Indicates if current transaction has to be closed, before the list is retrieved.
public final Pop3MessageInfoCollection listMessages(MailQuery query)
Lists the messages.
query
- The MailQuery
object.public final Pop3MessageInfoCollection listMessages(int fields)
Lists the messages.
fields
- The fields that we want get
public final Pop3MessageInfoCollection listMessages(int fields, boolean closeTransaction, MailQuery query)
Lists the messages.
fields
- The fields that we want getcloseTransaction
- Indicates if current transaction has to be closed, before the list is retrieved.query
- The MailQuery
object.public final com.aspose.ms.System.IAsyncResult beginLoadMessageInfoListBySequence(IConnection connection, Iterable<Integer> sequenceNumberList)
Begins load list of Pop3MessageInfo asynchronously
connection
- Connection to a serversequenceNumberList
- The sequence numbers list of messagesIAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginLoadMessageInfoListBySequence(IConnection connection, Iterable<Integer> sequenceNumberList, com.aspose.ms.System.AsyncCallback callback)
Begins load list of Pop3MessageInfo asynchronously
connection
- Connection to a serversequenceNumberList
- The sequence numbers list of messagescallback
- References a method to be called when a corresponding asynchronous operation completes.IAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginLoadMessageInfoListBySequence(IConnection connection, Iterable<Integer> sequenceNumberList, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins load list of Pop3MessageInfo asynchronously
connection
- Connection to a serversequenceNumberList
- The sequence numbers list of messagescallback
- References a method to be called when a corresponding asynchronous operation completes.state
- The state.IAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginLoadMessageInfoListBySequence(Iterable<Integer> sequenceNumberList)
Begins load list of Pop3MessageInfo asynchronously
sequenceNumberList
- The sequence numbers list of messagesIAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginLoadMessageInfoListBySequence(Iterable<Integer> sequenceNumberList, com.aspose.ms.System.AsyncCallback callback)
Begins load list of Pop3MessageInfo asynchronously
sequenceNumberList
- The sequence numbers list of messagescallback
- References a method to be called when a corresponding asynchronous operation completes.IAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginLoadMessageInfoListBySequence(Iterable<Integer> sequenceNumberList, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins load list of Pop3MessageInfo asynchronously
sequenceNumberList
- The sequence numbers list of messagescallback
- References a method to be called when a corresponding asynchronous operation completes.state
- The state.IAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginLoadMessageInfoList(IConnection connection, Iterable<Pop3MessageInfo> messageInfoList)
Begins load list of Pop3MessageInfo asynchronously
connection
- Connection to a servermessageInfoList
- Message info list to loadIAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginLoadMessageInfoList(IConnection connection, Iterable<Pop3MessageInfo> messageInfoList, com.aspose.ms.System.AsyncCallback callback)
Begins load list of Pop3MessageInfo asynchronously
connection
- Connection to a servermessageInfoList
- Message info list to loadcallback
- References a method to be called when a corresponding asynchronous operation completes.IAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginLoadMessageInfoList(IConnection connection, Iterable<Pop3MessageInfo> messageInfoList, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins load list of Pop3MessageInfo asynchronously
connection
- Connection to a servermessageInfoList
- Message info list to loadcallback
- References a method to be called when a corresponding asynchronous operation completes.state
- The state.IAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginLoadMessageInfoList(Iterable<Pop3MessageInfo> messageInfoList)
Begins load list of Pop3MessageInfo asynchronously
messageInfoList
- Message info list to loadIAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginLoadMessageInfoList(Iterable<Pop3MessageInfo> messageInfoList, com.aspose.ms.System.AsyncCallback callback)
Begins load list of Pop3MessageInfo asynchronously
messageInfoList
- Message info list to loadcallback
- References a method to be called when a corresponding asynchronous operation completes.IAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginLoadMessageInfoList(Iterable<Pop3MessageInfo> messageInfoList, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins load list of Pop3MessageInfo asynchronously
messageInfoList
- Message info list to loadcallback
- References a method to be called when a corresponding asynchronous operation completes.state
- The state.IAsyncResult
that represents the status of an asynchronous operation.public final Pop3MessageInfoCollection endLoadMessageInfoList(com.aspose.ms.System.IAsyncResult asyncResult)
Waits for the asynchronous operation to complete.
asyncResult
- The reference to the pending asynchronous request to wait for.public final Pop3MessageInfoCollection loadMessageInfoListBySequence(Iterable<Integer> sequenceNumberList)
Loads list of Pop3MessageInfo
sequenceNumberList
- The sequence numbers list of messagespublic final Pop3MessageInfoCollection loadMessageInfoListBySequence(IConnection connection, Iterable<Integer> sequenceNumberList)
Loads list of Pop3MessageInfo
connection
- Connection to a serversequenceNumberList
- The sequence numbers list of messagespublic final Pop3MessageInfoCollection loadMessageInfoList(Iterable<Pop3MessageInfo> messageInfoList)
Loads list of Pop3MessageInfo
messageInfoList
- Message info listpublic final Pop3MessageInfoCollection loadMessageInfoList(IConnection connection, Iterable<Pop3MessageInfo> messageInfoList)
Loads list of Pop3MessageInfo
connection
- Connection to a servermessageInfoList
- Message info listpublic final com.aspose.ms.System.IAsyncResult beginNoop(IConnection connection)
Begins 'No operation' command.
connection
- Connection to a serverIAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginNoop(IConnection connection, com.aspose.ms.System.AsyncCallback callback)
Begins 'No operation' command.
connection
- Connection to a servercallback
- References a method to be called when a corresponding asynchronous operation completes.IAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginNoop(IConnection connection, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins 'No operation' command.
connection
- Connection to a servercallback
- References a method to be called when a corresponding asynchronous operation completes.state
- The state.IAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginNoop()
Begins 'No operation' command.
IAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginNoop(com.aspose.ms.System.AsyncCallback callback)
Begins 'No operation' command.
callback
- References a method to be called when a corresponding asynchronous operation completes.IAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginNoop(com.aspose.ms.System.AsyncCallback callback, Object state)
Begins 'No operation' command.
callback
- References a method to be called when a corresponding asynchronous operation completes.state
- The state.IAsyncResult
that represents the status of an asynchronous operation.public final void endNoop(com.aspose.ms.System.IAsyncResult asyncResult)
Waits for the asynchronous operation to complete.
asyncResult
- The reference to the pending asynchronous request to wait for.public void noop(IConnection connection)
'No operation' command
noop
in class EmailClient
connection
- Connection to a serverpublic void noop()
'No operation' command
noop
in class EmailClient
public final com.aspose.ms.System.IAsyncResult beginSaveMessage(IConnection connection, int sequenceNumber, OutputStream outputStream)
Begins SaveMessage operation asynchronously
connection
- Connection to a serversequenceNumber
- The sequence number of the messageoutputStream
- Stream where message will be savedIAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginSaveMessage(IConnection connection, int sequenceNumber, OutputStream outputStream, com.aspose.ms.System.AsyncCallback callback)
Begins SaveMessage operation asynchronously
connection
- Connection to a serversequenceNumber
- The sequence number of the messageoutputStream
- Stream where message will be savedcallback
- References a method to be called when a corresponding asynchronous operation completes.IAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginSaveMessage(IConnection connection, int sequenceNumber, OutputStream outputStream, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins SaveMessage operation asynchronously
connection
- Connection to a serversequenceNumber
- The sequence number of the messageoutputStream
- Stream where message will be savedcallback
- References a method to be called when a corresponding asynchronous operation completes.state
- The state.IAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginSaveMessage(IConnection connection, String uniqueId, OutputStream outputStream)
Begins SaveMessage operation asynchronously
connection
- Connection to a serveruniqueId
- The unique Id of the messageoutputStream
- Stream where message will be savedIAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginSaveMessage(IConnection connection, String uniqueId, OutputStream outputStream, com.aspose.ms.System.AsyncCallback callback)
Begins SaveMessage operation asynchronously
connection
- Connection to a serveruniqueId
- The unique Id of the messageoutputStream
- Stream where message will be savedcallback
- References a method to be called when a corresponding asynchronous operation completes.IAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginSaveMessage(IConnection connection, String uniqueId, OutputStream outputStream, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins SaveMessage operation asynchronously
connection
- Connection to a serveruniqueId
- The unique Id of the messageoutputStream
- Stream where message will be savedcallback
- References a method to be called when a corresponding asynchronous operation completes.state
- The state.IAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginSaveMessage(int sequenceNumber, OutputStream outputStream)
Begins SaveMessage operation asynchronously
sequenceNumber
- The sequence number of the messageoutputStream
- Stream where message will be savedIAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginSaveMessage(int sequenceNumber, OutputStream outputStream, com.aspose.ms.System.AsyncCallback callback)
Begins SaveMessage operation asynchronously
sequenceNumber
- The sequence number of the messageoutputStream
- Stream where message will be savedcallback
- References a method to be called when a corresponding asynchronous operation completes.IAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginSaveMessage(int sequenceNumber, OutputStream outputStream, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins SaveMessage operation asynchronously
sequenceNumber
- The sequence number of the messageoutputStream
- Stream where message will be savedcallback
- References a method to be called when a corresponding asynchronous operation completes.state
- The state.IAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginSaveMessage(String uniqueId, OutputStream outputStream)
Begins SaveMessage operation asynchronously
uniqueId
- The unique Id of the messageoutputStream
- Stream where message will be savedIAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginSaveMessage(String uniqueId, OutputStream outputStream, com.aspose.ms.System.AsyncCallback callback)
Begins SaveMessage operation asynchronously
uniqueId
- The unique Id of the messageoutputStream
- Stream where message will be savedcallback
- References a method to be called when a corresponding asynchronous operation completes.IAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginSaveMessage(String uniqueId, OutputStream outputStream, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins SaveMessage operation asynchronously
uniqueId
- The unique Id of the messageoutputStream
- Stream where message will be savedcallback
- References a method to be called when a corresponding asynchronous operation completes.state
- The state.IAsyncResult
that represents the status of an asynchronous operation.public final void endSaveMessage(com.aspose.ms.System.IAsyncResult asyncResult)
Waits for the asynchronous operation to complete.
asyncResult
- The reference to the pending asynchronous request to wait for.public final void saveMessage(IConnection connection, String uniqueId, OutputStream outputStream)
Fetches and save the message as a stream
connection
- Connection to a serveruniqueId
- The unique Id of the messageoutputStream
- Stream where message will be savedpublic final void saveMessage(IConnection connection, String uniqueId, String fileName)
Fetches and save the message into a file
connection
- Connection to a serveruniqueId
- The unique Id of the messagefileName
- File name for messagepublic final void saveMessage(IConnection connection, int sequenceNumber, OutputStream outputStream)
Fetches and save the message as a stream
connection
- Connection to a serversequenceNumber
- The sequence number of the messageoutputStream
- Stream where message will be savedpublic final void saveMessage(IConnection connection, int sequenceNumber, String fileName)
Fetches and save the message into a file
connection
- Connection to a serversequenceNumber
- The sequence number of the messagefileName
- File name for messagepublic final void saveMessage(String uniqueId, OutputStream outputStream)
Fetches and save the message as a stream
uniqueId
- The unique Id of the messageoutputStream
- Stream where message will be savedpublic final void saveMessage(String uniqueId, String fileName)
Fetches and save the message into a file
uniqueId
- The unique Id of the messagefileName
- File name for messagepublic final void saveMessage(int sequenceNumber, OutputStream outputStream)
Fetches and save the message as a stream
sequenceNumber
- The sequence number of the messageoutputStream
- Stream where message will be savedpublic final void saveMessage(int sequenceNumber, String fileName)
Fetches and save the message into a file
sequenceNumber
- The sequence number of the messagefileName
- File name for messagepublic final com.aspose.ms.System.IAsyncResult beginUndeleteMessages(IConnection connection)
Begins undeletes the messages. If any messages have been marked as deleted by the POP3 server, they are unmarked.
connection
- Connection to a serverIAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginUndeleteMessages(IConnection connection, com.aspose.ms.System.AsyncCallback callback)
Begins undeletes the messages. If any messages have been marked as deleted by the POP3 server, they are unmarked.
connection
- Connection to a servercallback
- References a method to be called when a corresponding asynchronous operation completes.IAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginUndeleteMessages(IConnection connection, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins undeletes the messages. If any messages have been marked as deleted by the POP3 server, they are unmarked.
connection
- Connection to a servercallback
- References a method to be called when a corresponding asynchronous operation completes.state
- The state.IAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginUndeleteMessages()
Begins undeletes the messages. If any messages have been marked as deleted by the POP3 server, they are unmarked.
IAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginUndeleteMessages(com.aspose.ms.System.AsyncCallback callback)
Begins undeletes the messages. If any messages have been marked as deleted by the POP3 server, they are unmarked.
callback
- References a method to be called when a corresponding asynchronous operation completes.IAsyncResult
that represents the status of an asynchronous operation.public final com.aspose.ms.System.IAsyncResult beginUndeleteMessages(com.aspose.ms.System.AsyncCallback callback, Object state)
Begins undeletes the messages. If any messages have been marked as deleted by the POP3 server, they are unmarked.
callback
- References a method to be called when a corresponding asynchronous operation completes.state
- The state.IAsyncResult
that represents the status of an asynchronous operation.public final void endUndeleteMessages(com.aspose.ms.System.IAsyncResult asyncResult)
Waits for the asynchronous operation to complete.
asyncResult
- The reference to the pending asynchronous request to wait for.public final void undeleteMessages(IConnection connection)
Undeletes the messages. If any messages have been marked as deleted by the POP3 server, they are unmarked.
connection
- Connection to a serverpublic final void undeleteMessages()
Undeletes the messages. If any messages have been marked as deleted by the POP3 server, they are unmarked.