public final class Pop3Client extends CredentialsByHostClient
Allows applications to access and manipulate messages by using the Post Office Protocol Version 3 (POP3).
OnConnect
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,
String password)
Initializes a new instance of the
Pop3Client class |
Pop3Client(String host,
int port,
String username,
String password,
int securityOptions)
Initializes a new instance of the
Pop3Client class |
Pop3Client(String host,
int port,
String username,
String 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 iConnection)
Begins to commit the deletions.
|
com.aspose.ms.System.IAsyncResult |
beginCommitDeletes(IConnection iConnection,
com.aspose.ms.System.AsyncCallback callback)
Begins to commit the deletions.
|
com.aspose.ms.System.IAsyncResult |
beginCommitDeletes(IConnection iConnection,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins to commit the deletions.
|
com.aspose.ms.System.IAsyncResult |
beginDeleteMessage(IConnection iConnection,
int sequenceNumber)
Begins DeleteMessage operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginDeleteMessage(IConnection iConnection,
int sequenceNumber,
com.aspose.ms.System.AsyncCallback callback)
Begins DeleteMessage operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginDeleteMessage(IConnection iConnection,
int sequenceNumber,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins DeleteMessage operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginDeleteMessage(IConnection iConnection,
String uniqueId)
Begins DeleteMessage operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginDeleteMessage(IConnection iConnection,
String uniqueId,
com.aspose.ms.System.AsyncCallback callback)
Begins DeleteMessage operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginDeleteMessage(IConnection iConnection,
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 iConnection)
Begins delete all messages asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginDeleteMessages(IConnection iConnection,
com.aspose.ms.System.AsyncCallback callback)
Begins delete all messages asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginDeleteMessages(IConnection iConnection,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins delete all messages asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginFetchMessage(IConnection iConnection,
int sequenceNumber)
Begins FetchMessage operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginFetchMessage(IConnection iConnection,
int sequenceNumber,
com.aspose.ms.System.AsyncCallback callback)
Begins FetchMessage operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginFetchMessage(IConnection iConnection,
int sequenceNumber,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins FetchMessage operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginFetchMessage(IConnection iConnection,
String uniqueId)
Begins FetchMessage operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginFetchMessage(IConnection iConnection,
String uniqueId,
com.aspose.ms.System.AsyncCallback callback)
Begins FetchMessage operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginFetchMessage(IConnection iConnection,
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 |
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 iConnection)
Begins to get the mailbox status info
|
com.aspose.ms.System.IAsyncResult |
beginGetMailboxInfo(IConnection iConnection,
com.aspose.ms.System.AsyncCallback callback)
Begins to get the mailbox status info
|
com.aspose.ms.System.IAsyncResult |
beginGetMailboxInfo(IConnection iConnection,
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 iConnection)
Begins GetMailboxSize operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginGetMailboxSize(IConnection iConnection,
com.aspose.ms.System.AsyncCallback callback)
Begins GetMailboxSize operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginGetMailboxSize(IConnection iConnection,
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 iConnection)
Begins GetMessageCount operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginGetMessageCount(IConnection iConnection,
com.aspose.ms.System.AsyncCallback callback)
Begins GetMessageCount operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginGetMessageCount(IConnection iConnection,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins GetMessageCount operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginGetMessageCount(IConnection iConnection,
boolean closeTransaction)
Begins GetMessageCount operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginGetMessageCount(IConnection iConnection,
boolean closeTransaction,
com.aspose.ms.System.AsyncCallback callback)
Begins GetMessageCount operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginGetMessageCount(IConnection iConnection,
boolean closeTransaction,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins GetMessageCount operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginGetMessageHeaders(IConnection iConnection,
int sequenceNumber)
Begins getting message headers
|
com.aspose.ms.System.IAsyncResult |
beginGetMessageHeaders(IConnection iConnection,
int sequenceNumber,
com.aspose.ms.System.AsyncCallback callback)
Begins getting message headers
|
com.aspose.ms.System.IAsyncResult |
beginGetMessageHeaders(IConnection iConnection,
int sequenceNumber,
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 |
beginGetMessageInfo(IConnection iConnection,
int sequenceNumber)
Begins to get the information for that message
|
com.aspose.ms.System.IAsyncResult |
beginGetMessageInfo(IConnection iConnection,
int sequenceNumber,
com.aspose.ms.System.AsyncCallback callback)
Begins to get the information for that message
|
com.aspose.ms.System.IAsyncResult |
beginGetMessageInfo(IConnection iConnection,
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 iConnection,
int sequenceNumber,
int fields)
Begins to get the information for that message
|
com.aspose.ms.System.IAsyncResult |
beginGetMessageInfo(IConnection iConnection,
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 iConnection,
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(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 |
beginGetMessageSize(IConnection iConnection,
int sequenceNumber)
Begins GetMessageSize operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginGetMessageSize(IConnection iConnection,
int sequenceNumber,
com.aspose.ms.System.AsyncCallback callback)
Begins GetMessageSize operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginGetMessageSize(IConnection iConnection,
int sequenceNumber,
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 |
beginGetMessageUniqueId(IConnection iConnection,
int sequenceNumber)
Begins to get the message unique id
|
com.aspose.ms.System.IAsyncResult |
beginGetMessageUniqueId(IConnection iConnection,
int sequenceNumber,
com.aspose.ms.System.AsyncCallback callback)
Begins to get the message unique id
|
com.aspose.ms.System.IAsyncResult |
beginGetMessageUniqueId(IConnection iConnection,
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 iConnection)
Begins ListMessages operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginListMessages(IConnection iConnection,
com.aspose.ms.System.AsyncCallback callback)
Begins ListMessages operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginListMessages(IConnection iConnection,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins ListMessages operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginListMessages(IConnection iConnection,
MailQuery query)
Begins ListMessage operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginListMessages(IConnection iConnection,
MailQuery query,
com.aspose.ms.System.AsyncCallback callback)
Begins ListMessage operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginListMessages(IConnection iConnection,
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 |
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 iConnection)
Begins 'No operation' command.
|
com.aspose.ms.System.IAsyncResult |
beginNoop(IConnection iConnection,
com.aspose.ms.System.AsyncCallback callback)
Begins 'No operation' command.
|
com.aspose.ms.System.IAsyncResult |
beginNoop(IConnection iConnection,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins 'No operation' command.
|
com.aspose.ms.System.IAsyncResult |
beginSaveMessage(IConnection iConnection,
int sequenceNumber,
OutputStream outputStream)
Begins SaveMessage operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginSaveMessage(IConnection iConnection,
int sequenceNumber,
OutputStream outputStream,
com.aspose.ms.System.AsyncCallback callback)
Begins SaveMessage operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginSaveMessage(IConnection iConnection,
int sequenceNumber,
OutputStream outputStream,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins SaveMessage operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginSaveMessage(IConnection iConnection,
String uniqueId,
OutputStream outputStream)
Begins SaveMessage operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginSaveMessage(IConnection iConnection,
String uniqueId,
OutputStream outputStream,
com.aspose.ms.System.AsyncCallback callback)
Begins SaveMessage operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginSaveMessage(IConnection iConnection,
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 iConnection)
Begins undeletes the messages.
|
com.aspose.ms.System.IAsyncResult |
beginUndeleteMessages(IConnection iConnection,
com.aspose.ms.System.AsyncCallback callback)
Begins undeletes the messages.
|
com.aspose.ms.System.IAsyncResult |
beginUndeleteMessages(IConnection iConnection,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins undeletes the messages.
|
void |
commitDeletes()
Commit the deletions
|
void |
commitDeletes(IConnection iConnection)
Commit the deletions
|
void |
commitDeletes(int sleep)
Commit the deletions
|
void |
deleteAllMessages()
Deprecated.
|
void |
deleteMessage(IConnection iConnection,
int sequenceNumber)
Deletes the message
|
void |
deleteMessage(IConnection iConnection,
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 iConnection)
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.
|
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.
|
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 iConnection,
int sequenceNumber)
Fetches the message
|
MailMessage |
fetchMessage(IConnection iConnection,
String uniqueId)
Fetches the message
|
MailMessage |
fetchMessage(int sequenceNumber)
Fetches the message
|
MailMessage |
fetchMessage(String uniqueId)
Fetches the message
|
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 iConnection)
Gets the mailbox status info
|
Pop3MailboxInfo |
getMailboxInfo(IConnection iConnection,
boolean closeTransaction)
Gets the mailbox status info
|
long |
getMailboxSize()
Gets the size of the mailbox
|
long |
getMailboxSize(IConnection iConnection)
Gets the size of the mailbox
|
int |
getMessageCount()
Gets the message count
|
int |
getMessageCount(boolean closeTransaction)
Gets the message count
|
int |
getMessageCount(IConnection iConnection)
Gets the message count
|
int |
getMessageCount(IConnection iConnection,
boolean closeTransaction)
Gets the message count
|
HeaderCollection |
getMessageHeaders(IConnection iConnection,
int sequenceNumber)
Gets the message headers
|
HeaderCollection |
getMessageHeaders(int sequenceNumber)
Gets the message headers
|
Pop3MessageInfo |
getMessageInfo(IConnection iConnection,
int sequenceNumber)
Gets the information for that message
|
Pop3MessageInfo |
getMessageInfo(IConnection iConnection,
int sequenceNumber,
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
|
long |
getMessageSize(IConnection iConnection,
int sequenceNumber)
Gets the size of the message
|
long |
getMessageSize(int sequenceNumber)
Gets the size of the message
|
String |
getMessageUniqueId(IConnection iConnection,
int sequenceNumber)
Gets the message unique id
|
String |
getMessageUniqueId(int sequenceNumber)
Gets the message unique id
|
boolean |
getUseSingleConnection()
Deprecated.
|
void |
keepAlive()
Deprecated.
|
Pop3MessageInfo |
listMessage(int sequenceNumber)
Deprecated.
|
Pop3MessageInfo |
listMessage(int sequenceNumber,
int fields)
Deprecated.
|
Pop3MessageInfoCollection |
listMessages()
Lists the messages.
|
Pop3MessageInfoCollection |
listMessages(boolean closeTransaction)
Lists the messages.
|
Pop3MessageInfoCollection |
listMessages(int fields)
Lists the messages.
|
Pop3MessageInfoCollection |
listMessages(MailQuery query)
Lists the messages.
|
void |
noop()
'No operation' command
|
void |
noop(IConnection iConnection)
'No operation' command
|
void |
reset()
Deprecated.
|
void |
saveMessage(IConnection iConnection,
int sequenceNumber,
OutputStream outputStream)
Fetches and save the message as a stream
|
void |
saveMessage(IConnection iConnection,
int sequenceNumber,
String fileName)
Fetches and save the message into a file
|
void |
saveMessage(IConnection iConnection,
String uniqueId,
OutputStream outputStream)
Fetches and save the message as a stream
|
void |
saveMessage(IConnection iConnection,
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 |
setUseSingleConnection(boolean value)
Deprecated.
|
void |
undeleteMessages()
Undeletes the messages.
|
void |
undeleteMessages(IConnection iConnection)
Undeletes the messages.
|
cancelAsyncOperation, cancelAsyncOperations, createConnection, disconnect, dispose, dispose, finalize, getAccessToken, getCapabilities, getConnectionCheckupPeriod, getConnectionState, getConnectionTimeout, getHost, getMaxConnectionsPerServer, getPassword, getPort, getSecurityOptions, getSocksProxy, getTimeout, getTokenProvider, getUseAuthentication, getUseDefaultCredentials, getUsePipelining, getUsername, setAccessToken, setConnectionCheckupPeriod, setConnectionTimeout, setHost, setMaxConnectionsPerServer, setPassword, setPort, setSecurityOptions, setSocksProxy, setTimeout, setTokenProvider, setUseAuthentication, setUseDefaultCredentials, 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 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 client@Deprecated public boolean getUseSingleConnection()
Gets or sets value which defines whether individual connection uses per thread or single connection uses for all threads.
@Deprecated public void setUseSingleConnection(boolean value)
Gets or sets value which defines whether individual connection uses per thread or single connection uses for all threads.
public int getDefaultPort()
Gets default port for client
getDefaultPort
in class CredentialsByHostClient
public com.aspose.ms.System.IAsyncResult beginCommitDeletes(IConnection iConnection)
Begins to commit the deletions.
iConnection
- Connection to a serverSystem.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginCommitDeletes(IConnection iConnection, com.aspose.ms.System.AsyncCallback callback)
Begins to commit the deletions.
iConnection
- Connection to a servercallback
- References a method to be called when a corresponding asynchronous operation completes.System.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginCommitDeletes(IConnection iConnection, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins to commit the deletions.
iConnection
- Connection to a servercallback
- References a method to be called when a corresponding asynchronous operation completes.state
- The state.System.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginCommitDeletes()
Begins to commit the deletions.
System.IAsyncResult
that represents the status of an asynchronous operation.public 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.System.IAsyncResult
that represents the status of an asynchronous operation.public 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.System.IAsyncResult
that represents the status of an asynchronous operation.public 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 void commitDeletes(int sleep)
Commit the deletions
sleep
- Timeout in millisecondspublic void commitDeletes(IConnection iConnection)
Commit the deletions
iConnection
- Connection to a serverpublic void commitDeletes()
Commit the deletions
public com.aspose.ms.System.IAsyncResult beginDeleteMessage(IConnection iConnection, int sequenceNumber)
Begins DeleteMessage operation asynchronously
iConnection
- Connection to a serversequenceNumber
- The sequence number of the message
System.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginDeleteMessage(IConnection iConnection, int sequenceNumber, com.aspose.ms.System.AsyncCallback callback)
Begins DeleteMessage operation asynchronously
iConnection
- Connection to a serversequenceNumber
- The sequence number of the messagecallback
- References a method to be called when a corresponding asynchronous operation completes.
System.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginDeleteMessage(IConnection iConnection, int sequenceNumber, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins DeleteMessage operation asynchronously
iConnection
- 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.
System.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginDeleteMessage(IConnection iConnection, String uniqueId)
Begins DeleteMessage operation asynchronously
iConnection
- Connection to a serveruniqueId
- The unique id of the message
System.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginDeleteMessage(IConnection iConnection, String uniqueId, com.aspose.ms.System.AsyncCallback callback)
Begins DeleteMessage operation asynchronously
iConnection
- Connection to a serveruniqueId
- The unique id of the messagecallback
- References a method to be called when a corresponding asynchronous operation completes.
System.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginDeleteMessage(IConnection iConnection, String uniqueId, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins DeleteMessage operation asynchronously
iConnection
- 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.
System.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginDeleteMessage(int sequenceNumber)
Begins DeleteMessage operation asynchronously
sequenceNumber
- The sequence number of the message
System.IAsyncResult
that represents the status of an asynchronous operation.public 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.
System.IAsyncResult
that represents the status of an asynchronous operation.public 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.
System.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginDeleteMessage(String uniqueId)
Begins DeleteMessage operation asynchronously
uniqueId
- The unique id of the message
System.IAsyncResult
that represents the status of an asynchronous operation.public 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.
System.IAsyncResult
that represents the status of an asynchronous operation.public 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.
System.IAsyncResult
that represents the status of an asynchronous operation.public 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 void deleteMessage(IConnection iConnection, int sequenceNumber)
Deletes the message
iConnection
- Connection to a serversequenceNumber
- The sequence number of the message
public void deleteMessage(IConnection iConnection, String uniqueId)
Deletes the message
iConnection
- Connection to a serveruniqueId
- The unique id of the message
public void deleteMessage(int sequenceNumber)
Deletes the message
sequenceNumber
- The sequence number of the message
public void deleteMessage(String uniqueId)
Deletes the message
uniqueId
- The unique id of the message
@Deprecated public void deleteAllMessages()
Deletes all messages
public com.aspose.ms.System.IAsyncResult beginDeleteMessages(IConnection iConnection)
Begins delete all messages asynchronously
iConnection
- Connection to a server
System.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginDeleteMessages(IConnection iConnection, com.aspose.ms.System.AsyncCallback callback)
Begins delete all messages asynchronously
iConnection
- Connection to a servercallback
- References a method to be called when a corresponding asynchronous operation completes.
System.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginDeleteMessages(IConnection iConnection, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins delete all messages asynchronously
iConnection
- Connection to a servercallback
- References a method to be called when a corresponding asynchronous operation completes.state
- The state.
System.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginDeleteMessages()
Begins delete all messages asynchronously
System.IAsyncResult
that represents the status of an asynchronous operation.
public 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.
System.IAsyncResult
that represents the status of an asynchronous operation.public 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.
System.IAsyncResult
that represents the status of an asynchronous operation.public 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 void deleteMessages(IConnection iConnection)
Deletes all messages
iConnection
- Connection to a server
public void deleteMessages()
Deletes all messages
public com.aspose.ms.System.IAsyncResult beginFetchMessage(IConnection iConnection, int sequenceNumber)
Begins FetchMessage operation asynchronously
iConnection
- Connection to a serversequenceNumber
- The sequence number of the messageSystem.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginFetchMessage(IConnection iConnection, int sequenceNumber, com.aspose.ms.System.AsyncCallback callback)
Begins FetchMessage operation asynchronously
iConnection
- Connection to a serversequenceNumber
- The sequence number of the messagecallback
- References a method to be called when a corresponding asynchronous operation completes.System.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginFetchMessage(IConnection iConnection, int sequenceNumber, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins FetchMessage operation asynchronously
iConnection
- 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.System.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginFetchMessage(IConnection iConnection, String uniqueId)
Begins FetchMessage operation asynchronously
iConnection
- Connection to a serveruniqueId
- The unique id of the messageSystem.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginFetchMessage(IConnection iConnection, String uniqueId, com.aspose.ms.System.AsyncCallback callback)
Begins FetchMessage operation asynchronously
iConnection
- Connection to a serveruniqueId
- The unique id of the messagecallback
- References a method to be called when a corresponding asynchronous operation completes.System.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginFetchMessage(IConnection iConnection, String uniqueId, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins FetchMessage operation asynchronously
iConnection
- 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.System.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginFetchMessage(int sequenceNumber)
Begins FetchMessage operation asynchronously
sequenceNumber
- The sequence number of the messageSystem.IAsyncResult
that represents the status of an asynchronous operation.public 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.System.IAsyncResult
that represents the status of an asynchronous operation.public 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.System.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginFetchMessage(String uniqueId)
Begins FetchMessage operation asynchronously
uniqueId
- The unique id of the messageSystem.IAsyncResult
that represents the status of an asynchronous operation.public 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.System.IAsyncResult
that represents the status of an asynchronous operation.public 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.System.IAsyncResult
that represents the status of an asynchronous operation.public 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 MailMessage fetchMessage(IConnection iConnection, String uniqueId)
Fetches the message
iConnection
- Connection to a serveruniqueId
- The unique id of the messageMailMessage
that represents e-mail messagepublic MailMessage fetchMessage(IConnection iConnection, int sequenceNumber)
Fetches the message
iConnection
- Connection to a serversequenceNumber
- The sequence number of the messageMailMessage
that represents e-mail messagepublic MailMessage fetchMessage(String uniqueId)
Fetches the message
uniqueId
- The unique id of the messageMailMessage
that represents e-mail messagepublic MailMessage fetchMessage(int sequenceNumber)
Fetches the message
sequenceNumber
- The sequence number of the messageMailMessage
that represents e-mail messagepublic com.aspose.ms.System.IAsyncResult beginGetMailboxInfo(IConnection iConnection)
Begins to get the mailbox status info
iConnection
- Connection to a serverSystem.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginGetMailboxInfo(IConnection iConnection, com.aspose.ms.System.AsyncCallback callback)
Begins to get the mailbox status info
iConnection
- Connection to a servercallback
- References a method to be called when a corresponding asynchronous operation completes.System.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginGetMailboxInfo(IConnection iConnection, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins to get the mailbox status info
iConnection
- Connection to a servercallback
- References a method to be called when a corresponding asynchronous operation completes.state
- The state.System.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginGetMailboxInfo()
Begins to get the mailbox status info
System.IAsyncResult
that represents the status of an asynchronous operation.public 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.System.IAsyncResult
that represents the status of an asynchronous operation.public 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.System.IAsyncResult
that represents the status of an asynchronous operation.public 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 Pop3MailboxInfo getMailboxInfo(IConnection iConnection)
Gets the mailbox status info
iConnection
- Connection to a serverpublic Pop3MailboxInfo getMailboxInfo(IConnection iConnection, boolean closeTransaction)
Gets the mailbox status info
iConnection
- Connection to a servercloseTransaction
- Indicates if current transaction has to be closed, before the list is retrieved.public Pop3MailboxInfo getMailboxInfo(boolean closeTransaction)
Gets the mailbox status info
closeTransaction
- Indicates if current transaction has to be closed, before the list is retrieved.public Pop3MailboxInfo getMailboxInfo()
Gets the mailbox status info
public com.aspose.ms.System.IAsyncResult beginGetMailboxSize(IConnection iConnection)
Begins GetMailboxSize operation asynchronously
iConnection
- Connection to a serverSystem.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginGetMailboxSize(IConnection iConnection, com.aspose.ms.System.AsyncCallback callback)
Begins GetMailboxSize operation asynchronously
iConnection
- Connection to a servercallback
- References a method to be called when a corresponding asynchronous operation completes.System.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginGetMailboxSize(IConnection iConnection, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins GetMailboxSize operation asynchronously
iConnection
- Connection to a servercallback
- References a method to be called when a corresponding asynchronous operation completes.state
- The state.System.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginGetMailboxSize()
Begins GetMailboxSize operation asynchronously
System.IAsyncResult
that represents the status of an asynchronous operation.public 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.System.IAsyncResult
that represents the status of an asynchronous operation.public 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.System.IAsyncResult
that represents the status of an asynchronous operation.public 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 long getMailboxSize(IConnection iConnection)
Gets the size of the mailbox
iConnection
- Connection to a serverpublic long getMailboxSize()
Gets the size of the mailbox
public com.aspose.ms.System.IAsyncResult beginGetMessageCount(IConnection iConnection)
Begins GetMessageCount operation asynchronously
iConnection
- Connection to a serverSystem.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginGetMessageCount(IConnection iConnection, com.aspose.ms.System.AsyncCallback callback)
Begins GetMessageCount operation asynchronously
iConnection
- Connection to a servercallback
- References a method to be called when a corresponding asynchronous operation completes.System.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginGetMessageCount(IConnection iConnection, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins GetMessageCount operation asynchronously
iConnection
- Connection to a servercallback
- References a method to be called when a corresponding asynchronous operation completes.state
- The state.System.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginGetMessageCount(IConnection iConnection, boolean closeTransaction)
Begins GetMessageCount operation asynchronously
iConnection
- Connection to a servercloseTransaction
- Indicates if current transaction has to be closed, before the list is retrieved.System.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginGetMessageCount(IConnection iConnection, boolean closeTransaction, com.aspose.ms.System.AsyncCallback callback)
Begins GetMessageCount operation asynchronously
iConnection
- 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.System.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginGetMessageCount(IConnection iConnection, boolean closeTransaction, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins GetMessageCount operation asynchronously
iConnection
- 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.System.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginGetMessageCount()
Begins GetMessageCount operation asynchronously
System.IAsyncResult
that represents the status of an asynchronous operation.public 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.System.IAsyncResult
that represents the status of an asynchronous operation.public 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.System.IAsyncResult
that represents the status of an asynchronous operation.public 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.System.IAsyncResult
that represents the status of an asynchronous operation.public 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.System.IAsyncResult
that represents the status of an asynchronous operation.public 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.System.IAsyncResult
that represents the status of an asynchronous operation.public 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 int getMessageCount(IConnection iConnection)
Gets the message count
iConnection
- Connection to a serverpublic int getMessageCount(IConnection iConnection, boolean closeTransaction)
Gets the message count
iConnection
- Connection to a servercloseTransaction
- Indicates if current transaction has to be closed, before the list is retrieved.public int getMessageCount()
Gets the message count
public int getMessageCount(boolean closeTransaction)
Gets the message count
closeTransaction
- Indicates if current transaction has to be closed, before the list is retrieved.public com.aspose.ms.System.IAsyncResult beginGetMessageHeaders(IConnection iConnection, int sequenceNumber)
Begins getting message headers
iConnection
- Connection to a serversequenceNumber
- The sequence number of the messageSystem.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginGetMessageHeaders(IConnection iConnection, int sequenceNumber, com.aspose.ms.System.AsyncCallback callback)
Begins getting message headers
iConnection
- Connection to a serversequenceNumber
- The sequence number of the messagecallback
- References a method to be called when a corresponding asynchronous operation completes.System.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginGetMessageHeaders(IConnection iConnection, int sequenceNumber, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins getting message headers
iConnection
- 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.System.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginGetMessageHeaders(int sequenceNumber)
Begins getting message headers
sequenceNumber
- The sequence number of the messageSystem.IAsyncResult
that represents the status of an asynchronous operation.public 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.System.IAsyncResult
that represents the status of an asynchronous operation.public 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.System.IAsyncResult
that represents the status of an asynchronous operation.public 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 HeaderCollection getMessageHeaders(IConnection iConnection, int sequenceNumber)
Gets the message headers
iConnection
- Connection to a serversequenceNumber
- The sequence number of the messagepublic HeaderCollection getMessageHeaders(int sequenceNumber)
Gets the message headers
sequenceNumber
- The sequence number of the messagepublic com.aspose.ms.System.IAsyncResult beginGetMessageSize(IConnection iConnection, int sequenceNumber)
Begins GetMessageSize operation asynchronously
iConnection
- Connection to a serversequenceNumber
- The sequence number of the messageSystem.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginGetMessageSize(IConnection iConnection, int sequenceNumber, com.aspose.ms.System.AsyncCallback callback)
Begins GetMessageSize operation asynchronously
iConnection
- Connection to a serversequenceNumber
- The sequence number of the messagecallback
- References a method to be called when a corresponding asynchronous operation completes.System.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginGetMessageSize(IConnection iConnection, int sequenceNumber, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins GetMessageSize operation asynchronously
iConnection
- 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.System.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginGetMessageSize(int sequenceNumber)
Begins GetMessageSize operation asynchronously
sequenceNumber
- The sequence number of the messageSystem.IAsyncResult
that represents the status of an asynchronous operation.public 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.System.IAsyncResult
that represents the status of an asynchronous operation.public 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.System.IAsyncResult
that represents the status of an asynchronous operation.public 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 long getMessageSize(IConnection iConnection, int sequenceNumber)
Gets the size of the message
iConnection
- Connection to a serversequenceNumber
- The sequence number of the messagepublic long getMessageSize(int sequenceNumber)
Gets the size of the message
sequenceNumber
- The sequence number of the messagepublic com.aspose.ms.System.IAsyncResult beginGetMessageUniqueId(IConnection iConnection, int sequenceNumber)
Begins to get the message unique id
iConnection
- Connection to a serversequenceNumber
- The sequence number of the messageSystem.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginGetMessageUniqueId(IConnection iConnection, int sequenceNumber, com.aspose.ms.System.AsyncCallback callback)
Begins to get the message unique id
iConnection
- Connection to a serversequenceNumber
- The sequence number of the messagecallback
- References a method to be called when a corresponding asynchronous operation completes.System.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginGetMessageUniqueId(IConnection iConnection, int sequenceNumber, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins to get the message unique id
iConnection
- 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.System.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginGetMessageUniqueId(int sequenceNumber)
Begins to get the message unique id
sequenceNumber
- The sequence number of the messageSystem.IAsyncResult
that represents the status of an asynchronous operation.public 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.System.IAsyncResult
that represents the status of an asynchronous operation.public 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.System.IAsyncResult
that represents the status of an asynchronous operation.public String endGetMessageUniqueId(com.aspose.ms.System.IAsyncResult asyncResult)
Waits for the asynchronous operation to complete.
public String getMessageUniqueId(IConnection iConnection, int sequenceNumber)
Gets the message unique id
iConnection
- Connection to a serversequenceNumber
- The sequence number of the messagepublic String getMessageUniqueId(int sequenceNumber)
Gets the message unique id
sequenceNumber
- The sequence number of the message@Deprecated public Pop3MessageInfo listMessage(int sequenceNumber)
Gets the information for that message
sequenceNumber
- The sequence number of the message@Deprecated public Pop3MessageInfo listMessage(int sequenceNumber, int fields)
Gets the information for that message
sequenceNumber
- The sequence number of the messagefields
- The fields that we want getpublic com.aspose.ms.System.IAsyncResult beginGetMessageInfo(IConnection iConnection, int sequenceNumber, int fields)
Begins to get the information for that message
iConnection
- Connection to a serversequenceNumber
- The sequence number of the messagefields
- The fields that we want getSystem.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginGetMessageInfo(IConnection iConnection, int sequenceNumber, int fields, com.aspose.ms.System.AsyncCallback callback)
Begins to get the information for that message
iConnection
- 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.System.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginGetMessageInfo(IConnection iConnection, int sequenceNumber, int fields, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins to get the information for that message
iConnection
- 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.System.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginGetMessageInfo(IConnection iConnection, int sequenceNumber)
Begins to get the information for that message
iConnection
- Connection to a serversequenceNumber
- The sequence number of the messageSystem.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginGetMessageInfo(IConnection iConnection, int sequenceNumber, com.aspose.ms.System.AsyncCallback callback)
Begins to get the information for that message
iConnection
- Connection to a serversequenceNumber
- The sequence number of the messagecallback
- References a method to be called when a corresponding asynchronous operation completes.System.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginGetMessageInfo(IConnection iConnection, int sequenceNumber, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins to get the information for that message
iConnection
- 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.System.IAsyncResult
that represents the status of an asynchronous operation.public 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 getSystem.IAsyncResult
that represents the status of an asynchronous operation.public 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.System.IAsyncResult
that represents the status of an asynchronous operation.public 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.System.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginGetMessageInfo(int sequenceNumber)
Begins to get the information for that message
sequenceNumber
- The sequence number of the messageSystem.IAsyncResult
that represents the status of an asynchronous operation.public 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.System.IAsyncResult
that represents the status of an asynchronous operation.public 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.System.IAsyncResult
that represents the status of an asynchronous operation.public 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 Pop3MessageInfo getMessageInfo(IConnection iConnection, int sequenceNumber)
Gets the information for that message
iConnection
- Connection to a serversequenceNumber
- The sequence number of the messagepublic Pop3MessageInfo getMessageInfo(IConnection iConnection, int sequenceNumber, int fields)
Gets the information for that message
iConnection
- Connection to a serversequenceNumber
- The sequence number of the messagefields
- The fields that we want getpublic Pop3MessageInfo getMessageInfo(int sequenceNumber)
Gets the information for that message
sequenceNumber
- The sequence number of the messagepublic 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 com.aspose.ms.System.IAsyncResult beginListMessages(IConnection iConnection)
Begins ListMessages operation asynchronously
iConnection
- Connection to a serverSystem.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginListMessages(IConnection iConnection, com.aspose.ms.System.AsyncCallback callback)
Begins ListMessages operation asynchronously
iConnection
- Connection to a servercallback
- References a method to be called when a corresponding asynchronous operation completes.System.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginListMessages(IConnection iConnection, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins ListMessages operation asynchronously
iConnection
- Connection to a servercallback
- References a method to be called when a corresponding asynchronous operation completes.state
- The state.System.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginListMessages(IConnection iConnection, MailQuery query)
Begins ListMessage operation asynchronously
iConnection
- Connection to a serverquery
- MailQuery
that represents search query.System.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginListMessages(IConnection iConnection, MailQuery query, com.aspose.ms.System.AsyncCallback callback)
Begins ListMessage operation asynchronously
iConnection
- Connection to a server
MailQuery
public com.aspose.ms.System.IAsyncResult beginListMessages(IConnection iConnection, MailQuery query, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins ListMessage operation asynchronously
iConnection
- Connection to a server
MailQuery
public com.aspose.ms.System.IAsyncResult beginListMessages()
Begins ListMessages operation asynchronously
System.IAsyncResult
that represents the status of an asynchronous operation.public 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.System.IAsyncResult
that represents the status of an asynchronous operation.public 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.System.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginListMessages(MailQuery query)
Begins ListMessage operation asynchronously
query
- MailQuery
that represents search query.System.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginListMessages(MailQuery query, com.aspose.ms.System.AsyncCallback callback)
Begins ListMessage operation asynchronously
MailQuery
public com.aspose.ms.System.IAsyncResult beginListMessages(MailQuery query, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins ListMessage operation asynchronously
MailQuery
public 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 Pop3MessageInfoCollection listMessages()
Lists the messages. Gets an information for earch message
public 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 Pop3MessageInfoCollection listMessages(MailQuery query)
Lists the messages.
query
- MailQuery
that represents search query.public Pop3MessageInfoCollection listMessages(int fields)
Lists the messages.
fields
- The fields that we want get
@Deprecated public void keepAlive()
The POP3 server does nothing, it merely replies with a positive response. (Send NOOP comand)
public com.aspose.ms.System.IAsyncResult beginNoop(IConnection iConnection)
Begins 'No operation' command.
iConnection
- Connection to a serverSystem.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginNoop(IConnection iConnection, com.aspose.ms.System.AsyncCallback callback)
Begins 'No operation' command.
iConnection
- Connection to a servercallback
- References a method to be called when a corresponding asynchronous operation completes.System.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginNoop(IConnection iConnection, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins 'No operation' command.
iConnection
- Connection to a servercallback
- References a method to be called when a corresponding asynchronous operation completes.state
- The state.System.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginNoop()
Begins 'No operation' command.
System.IAsyncResult
that represents the status of an asynchronous operation.public 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.System.IAsyncResult
that represents the status of an asynchronous operation.public 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.System.IAsyncResult
that represents the status of an asynchronous operation.public 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 iConnection)
'No operation' command
iConnection
- Connection to a serverpublic void noop()
'No operation' command
noop
in class CredentialsByHostClient
public com.aspose.ms.System.IAsyncResult beginSaveMessage(IConnection iConnection, int sequenceNumber, OutputStream outputStream)
Begins SaveMessage operation asynchronously
iConnection
- Connection to a serversequenceNumber
- The sequence number of the messageoutputStream
- Stream where message will be savedSystem.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginSaveMessage(IConnection iConnection, int sequenceNumber, OutputStream outputStream, com.aspose.ms.System.AsyncCallback callback)
Begins SaveMessage operation asynchronously
iConnection
- 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.System.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginSaveMessage(IConnection iConnection, int sequenceNumber, OutputStream outputStream, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins SaveMessage operation asynchronously
iConnection
- 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.System.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginSaveMessage(IConnection iConnection, String uniqueId, OutputStream outputStream)
Begins SaveMessage operation asynchronously
iConnection
- Connection to a serveruniqueId
- The unique Id of the messageoutputStream
- Stream where message will be savedSystem.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginSaveMessage(IConnection iConnection, String uniqueId, OutputStream outputStream, com.aspose.ms.System.AsyncCallback callback)
Begins SaveMessage operation asynchronously
iConnection
- 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.System.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginSaveMessage(IConnection iConnection, String uniqueId, OutputStream outputStream, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins SaveMessage operation asynchronously
iConnection
- 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.System.IAsyncResult
that represents the status of an asynchronous operation.public 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 savedSystem.IAsyncResult
that represents the status of an asynchronous operation.public 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.System.IAsyncResult
that represents the status of an asynchronous operation.public 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.System.IAsyncResult
that represents the status of an asynchronous operation.public 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 savedSystem.IAsyncResult
that represents the status of an asynchronous operation.public 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.System.IAsyncResult
that represents the status of an asynchronous operation.public 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.System.IAsyncResult
that represents the status of an asynchronous operation.public 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 void saveMessage(IConnection iConnection, String uniqueId, OutputStream outputStream)
Fetches and save the message as a stream
iConnection
- Connection to a serveruniqueId
- The unique Id of the messageoutputStream
- Stream where message will be savedpublic void saveMessage(IConnection iConnection, String uniqueId, String fileName)
Fetches and save the message into a file
iConnection
- Connection to a serveruniqueId
- The unique Id of the messagefileName
- File name for messagepublic void saveMessage(IConnection iConnection, int sequenceNumber, OutputStream outputStream)
Fetches and save the message as a stream
iConnection
- Connection to a serversequenceNumber
- The sequence number of the messageoutputStream
- Stream where message will be savedpublic void saveMessage(IConnection iConnection, int sequenceNumber, String fileName)
Fetches and save the message into a file
iConnection
- Connection to a serversequenceNumber
- The sequence number of the messagefileName
- File name for messagepublic 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 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 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 void saveMessage(int sequenceNumber, String fileName)
Fetches and save the message into a file
sequenceNumber
- The sequence number of the messagefileName
- File name for message@Deprecated public void reset()
Resets the session to its initial state
public com.aspose.ms.System.IAsyncResult beginUndeleteMessages(IConnection iConnection)
Begins undeletes the messages. If any messages have been marked as deleted by the POP3 server, they are unmarked.
iConnection
- Connection to a serverSystem.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginUndeleteMessages(IConnection iConnection, 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.
iConnection
- Connection to a servercallback
- References a method to be called when a corresponding asynchronous operation completes.System.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginUndeleteMessages(IConnection iConnection, 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.
iConnection
- Connection to a servercallback
- References a method to be called when a corresponding asynchronous operation completes.state
- The state.System.IAsyncResult
that represents the status of an asynchronous operation.public 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.
System.IAsyncResult
that represents the status of an asynchronous operation.public 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.System.IAsyncResult
that represents the status of an asynchronous operation.public 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.System.IAsyncResult
that represents the status of an asynchronous operation.public 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 void undeleteMessages(IConnection iConnection)
Undeletes the messages. If any messages have been marked as deleted by the POP3 server, they are unmarked.
iConnection
- Connection to a serverpublic void undeleteMessages()
Undeletes the messages. If any messages have been marked as deleted by the POP3 server, they are unmarked.
Copyright (c) 2008-2015 Aspose Pty Ltd. All Rights Reserved.