public final class ImapClient extends CredentialsByHostClient
Allows applications to access and manipulate messages by using the Internet Message Access Protocol (IMAP).
OnConnect
Constructor and Description |
---|
ImapClient()
Initializes a new instance of the
ImapClient class |
ImapClient(String host)
Initializes a new instance of the
ImapClient class |
ImapClient(String host,
int port)
Initializes a new instance of the
ImapClient class |
ImapClient(String host,
int port,
int securityOptions)
Initializes a new instance of the
ImapClient class |
ImapClient(String host,
int port,
String username,
ITokenProvider tokenProvider)
Initializes a new instance of the
ImapClient class |
ImapClient(String host,
int port,
String username,
ITokenProvider tokenProvider,
int securityOptions)
Initializes a new instance of the
ImapClient class |
ImapClient(String host,
int port,
String username,
String password)
Initializes a new instance of the
ImapClient class |
ImapClient(String host,
int port,
String username,
String authInfo,
boolean useOAuth)
Initializes a new instance of the
ImapClient class |
ImapClient(String host,
int port,
String username,
String authInfo,
boolean useOAuth,
int securityOptions)
Initializes a new instance of the
ImapClient class |
ImapClient(String host,
int port,
String username,
String password,
int securityOptions)
Initializes a new instance of the
ImapClient class |
ImapClient(String host,
int port,
String username,
String password,
com.aspose.ms.System.Net.Security.RemoteCertificateValidationCallback userCertificateValidationCallback)
Initializes a new instance of the
ImapClient class |
ImapClient(String host,
int port,
String username,
String password,
com.aspose.ms.System.Net.Security.RemoteCertificateValidationCallback userCertificateValidationCallback,
int securityOptions)
Initializes a new instance of the
ImapClient class |
ImapClient(String host,
short securityOptions)
Initializes a new instance of the
ImapClient class |
ImapClient(String host,
String username,
ITokenProvider tokenProvider)
Initializes a new instance of the
ImapClient class |
ImapClient(String host,
String username,
ITokenProvider tokenProvider,
int securityOptions)
Initializes a new instance of the
ImapClient class |
ImapClient(String host,
String username,
String password)
Initializes a new instance of the
ImapClient class |
ImapClient(String host,
String username,
String authInfo,
boolean useOAuth)
Initializes a new instance of the
ImapClient class |
ImapClient(String host,
String username,
String authInfo,
boolean useOAuth,
int securityOptions)
Initializes a new instance of the
ImapClient class |
ImapClient(String host,
String username,
String password,
int securityOptions)
Initializes a new instance of the
ImapClient class |
Modifier and Type | Method and Description |
---|---|
void |
addMessageFlags(IConnection iConnection,
int sequenceNumber,
ImapMessageFlags flags)
Adds the flags to the message
|
void |
addMessageFlags(IConnection iConnection,
String uniqueId,
ImapMessageFlags flags)
Adds the flags to the message
|
void |
addMessageFlags(int sequenceNumber,
ImapMessageFlags flags)
Adds the flags to the message
|
void |
addMessageFlags(String uniqueId,
ImapMessageFlags flags)
Adds the flags to the message
|
String |
appendMessage(IConnection iConnection,
MailMessage message)
Uploads the mail message to the current folder
If current folder hasn't been specified default folder is used.
|
String |
appendMessage(IConnection iConnection,
String fileName)
Uploads the mail message to the current folder
If current folder hasn't been specified default folder is used.
|
String |
appendMessage(IConnection iConnection,
String folderName,
MailMessage message)
Uploads the mail message to the specified folder
|
String |
appendMessage(IConnection iConnection,
String folderName,
String fileName)
Uploads the mail message to the specified folder
|
String |
appendMessage(MailMessage message)
Uploads the mail message to the current folder
If current folder hasn't been specified default folder is used.
|
String |
appendMessage(String fileName)
Uploads the mail message to the current folder
If current folder hasn't been specified default folder is used.
|
String |
appendMessage(String folderName,
MailMessage message)
Uploads the mail message to the specified folder
|
String |
appendMessage(String folderName,
String fileName)
Uploads the mail message to the specified folder
|
void |
backup(IConnection iConnection,
ImapFolderInfoCollection folders,
OutputStream stream,
int options)
Backups the content of the specified folders
|
void |
backup(IConnection iConnection,
ImapFolderInfoCollection folders,
String fileName,
int options)
Backups the content of the specified folders
|
void |
backup(ImapFolderInfoCollection folders,
OutputStream stream,
int options)
Backups the content of the specified folders
|
void |
backup(ImapFolderInfoCollection folders,
String fileName,
int options)
Backups the content of the specified folders
|
com.aspose.ms.System.IAsyncResult |
beginAddMessageFlags(IConnection iConnection,
int sequenceNumber,
ImapMessageFlags flags)
Adds the flags to the message asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginAddMessageFlags(IConnection iConnection,
int sequenceNumber,
ImapMessageFlags flags,
com.aspose.ms.System.AsyncCallback callback)
Adds the flags to the message asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginAddMessageFlags(IConnection iConnection,
int sequenceNumber,
ImapMessageFlags flags,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Adds the flags to the message asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginAddMessageFlags(IConnection iConnection,
String uniqueId,
ImapMessageFlags flags)
Adds the flags to the message asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginAddMessageFlags(IConnection iConnection,
String uniqueId,
ImapMessageFlags flags,
com.aspose.ms.System.AsyncCallback callback)
Adds the flags to the message asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginAddMessageFlags(IConnection iConnection,
String uniqueId,
ImapMessageFlags flags,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Adds the flags to the message asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginAddMessageFlags(int sequenceNumber,
ImapMessageFlags flags)
Adds the flags to the message asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginAddMessageFlags(int sequenceNumber,
ImapMessageFlags flags,
com.aspose.ms.System.AsyncCallback callback)
Adds the flags to the message asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginAddMessageFlags(int sequenceNumber,
ImapMessageFlags flags,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Adds the flags to the message asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginAddMessageFlags(String uniqueId,
ImapMessageFlags flags)
Adds the flags to the message asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginAddMessageFlags(String uniqueId,
ImapMessageFlags flags,
com.aspose.ms.System.AsyncCallback callback)
Adds the flags to the message asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginAddMessageFlags(String uniqueId,
ImapMessageFlags flags,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Adds the flags to the message asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginAppendMessage(IConnection iConnection,
MailMessage message)
Begins append message to the end of the specified folder
If current folder hasn't been specified default folder is used.
|
com.aspose.ms.System.IAsyncResult |
beginAppendMessage(IConnection iConnection,
String fileName)
Begins append message to the end of the current folder
If current folder hasn't been specified default folder is used.
|
com.aspose.ms.System.IAsyncResult |
beginAppendMessage(IConnection iConnection,
String folderName,
MailMessage message)
Begins append message to the end of the specified folder
|
com.aspose.ms.System.IAsyncResult |
beginAppendMessage(IConnection iConnection,
String folderName,
MailMessage message,
com.aspose.ms.System.AsyncCallback callback)
Begins append message to the end of the specified folder
|
com.aspose.ms.System.IAsyncResult |
beginAppendMessage(IConnection iConnection,
String folderName,
MailMessage message,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins append message to the end of the specified folder
|
com.aspose.ms.System.IAsyncResult |
beginAppendMessage(IConnection iConnection,
String folderName,
String fileName)
Begins append message to the end of the specified folder
|
com.aspose.ms.System.IAsyncResult |
beginAppendMessage(IConnection iConnection,
String folderName,
String fileName,
com.aspose.ms.System.AsyncCallback callback)
Begins append message to the end of the specified folder
|
com.aspose.ms.System.IAsyncResult |
beginAppendMessage(IConnection iConnection,
String folderName,
String fileName,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins append message to the end of the specified folder
|
com.aspose.ms.System.IAsyncResult |
beginAppendMessage(MailMessage message)
Begins append message to the end of the specified folder
If current folder hasn't been specified default folder is used.
|
com.aspose.ms.System.IAsyncResult |
beginAppendMessage(String fileName)
Begins append message to the end of the current folder
If current folder hasn't been specified default folder is used.
|
com.aspose.ms.System.IAsyncResult |
beginAppendMessage(String folderName,
MailMessage message)
Begins append message to the end of the specified folder
|
com.aspose.ms.System.IAsyncResult |
beginAppendMessage(String folderName,
MailMessage message,
com.aspose.ms.System.AsyncCallback callback)
Begins append message to the end of the specified folder
|
com.aspose.ms.System.IAsyncResult |
beginAppendMessage(String folderName,
MailMessage message,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins append message to the end of the specified folder
|
com.aspose.ms.System.IAsyncResult |
beginAppendMessage(String folderName,
String fileName)
Begins append message to the end of the specified folder
|
com.aspose.ms.System.IAsyncResult |
beginAppendMessage(String folderName,
String fileName,
com.aspose.ms.System.AsyncCallback callback)
Begins append message to the end of the specified folder
|
com.aspose.ms.System.IAsyncResult |
beginAppendMessage(String folderName,
String fileName,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins append message to the end of the specified folder
|
com.aspose.ms.System.IAsyncResult |
beginChangeMessageFlags(IConnection iConnection,
int sequenceNumber,
ImapMessageFlags flags)
Changes the flags of the message
|
com.aspose.ms.System.IAsyncResult |
beginChangeMessageFlags(IConnection iConnection,
int sequenceNumber,
ImapMessageFlags flags,
com.aspose.ms.System.AsyncCallback callback)
Changes the flags of the message
|
com.aspose.ms.System.IAsyncResult |
beginChangeMessageFlags(IConnection iConnection,
int sequenceNumber,
ImapMessageFlags flags,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Changes the flags of the message
|
com.aspose.ms.System.IAsyncResult |
beginChangeMessageFlags(IConnection iConnection,
String uniqueId,
ImapMessageFlags flags)
Changes the flags of the message
|
com.aspose.ms.System.IAsyncResult |
beginChangeMessageFlags(IConnection iConnection,
String uniqueId,
ImapMessageFlags flags,
com.aspose.ms.System.AsyncCallback callback)
Changes the flags of the message
|
com.aspose.ms.System.IAsyncResult |
beginChangeMessageFlags(IConnection iConnection,
String uniqueId,
ImapMessageFlags flags,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Changes the flags of the message
|
com.aspose.ms.System.IAsyncResult |
beginChangeMessageFlags(int sequenceNumber,
ImapMessageFlags flags)
Changes the flags of the message
|
com.aspose.ms.System.IAsyncResult |
beginChangeMessageFlags(int sequenceNumber,
ImapMessageFlags flags,
com.aspose.ms.System.AsyncCallback callback)
Changes the flags of the message
|
com.aspose.ms.System.IAsyncResult |
beginChangeMessageFlags(int sequenceNumber,
ImapMessageFlags flags,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Changes the flags of the message
|
com.aspose.ms.System.IAsyncResult |
beginChangeMessageFlags(String uniqueId,
ImapMessageFlags flags)
Changes the flags of the message
|
com.aspose.ms.System.IAsyncResult |
beginChangeMessageFlags(String uniqueId,
ImapMessageFlags flags,
com.aspose.ms.System.AsyncCallback callback)
Changes the flags of the message
|
com.aspose.ms.System.IAsyncResult |
beginChangeMessageFlags(String uniqueId,
ImapMessageFlags flags,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Changes the flags of the message
|
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 |
beginCommitDeletes(IConnection iConnection,
int sleep)
Begins to commit the deletions
|
com.aspose.ms.System.IAsyncResult |
beginCommitDeletes(IConnection iConnection,
int sleep,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins to commit the deletions
|
com.aspose.ms.System.IAsyncResult |
beginCommitDeletes(int sleep)
Begins to commit the deletions
|
com.aspose.ms.System.IAsyncResult |
beginCommitDeletes(int sleep,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins to commit the deletions
|
com.aspose.ms.System.IAsyncResult |
beginCopyMessage(IConnection iConnection,
int sequenceNumber,
String folderName)
Begins an asynchronous copying.
|
com.aspose.ms.System.IAsyncResult |
beginCopyMessage(IConnection iConnection,
int sequenceNumber,
String folderName,
com.aspose.ms.System.AsyncCallback callback)
Begins an asynchronous copying.
|
com.aspose.ms.System.IAsyncResult |
beginCopyMessage(IConnection iConnection,
int sequenceNumber,
String folderName,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins an asynchronous copying.
|
com.aspose.ms.System.IAsyncResult |
beginCopyMessage(IConnection iConnection,
String uniqueId,
String folderName)
Begins an asynchronous copying.
|
com.aspose.ms.System.IAsyncResult |
beginCopyMessage(IConnection iConnection,
String uniqueId,
String folderName,
com.aspose.ms.System.AsyncCallback callback)
Begins an asynchronous copying.
|
com.aspose.ms.System.IAsyncResult |
beginCopyMessage(IConnection iConnection,
String uniqueId,
String folderName,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins an asynchronous copying.
|
com.aspose.ms.System.IAsyncResult |
beginCopyMessage(int sequenceNumber,
String folderName)
Begins an asynchronous copying.
|
com.aspose.ms.System.IAsyncResult |
beginCopyMessage(int sequenceNumber,
String folderName,
com.aspose.ms.System.AsyncCallback callback)
Begins an asynchronous copying.
|
com.aspose.ms.System.IAsyncResult |
beginCopyMessage(int sequenceNumber,
String folderName,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins an asynchronous copying.
|
com.aspose.ms.System.IAsyncResult |
beginCopyMessage(String uniqueId,
String folderName)
Begins an asynchronous copying.
|
com.aspose.ms.System.IAsyncResult |
beginCopyMessage(String uniqueId,
String folderName,
com.aspose.ms.System.AsyncCallback callback)
Begins an asynchronous copying.
|
com.aspose.ms.System.IAsyncResult |
beginCopyMessage(String uniqueId,
String folderName,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins an asynchronous copying.
|
com.aspose.ms.System.IAsyncResult |
beginCopyMessage(String parentFolder,
String uniqueId,
String folderName)
Deprecated.
|
com.aspose.ms.System.IAsyncResult |
beginCopyMessage(String parentFolder,
String uniqueId,
String folderName,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Deprecated.
|
com.aspose.ms.System.IAsyncResult |
beginCreateFolder(IConnection iConnection,
String folderName)
Begins an asynchronous folder creation.
|
com.aspose.ms.System.IAsyncResult |
beginCreateFolder(IConnection iConnection,
String folderName,
com.aspose.ms.System.AsyncCallback callback)
Begins an asynchronous folder creation.
|
com.aspose.ms.System.IAsyncResult |
beginCreateFolder(IConnection iConnection,
String folderName,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins an asynchronous folder creation.
|
com.aspose.ms.System.IAsyncResult |
beginCreateFolder(String folderName)
Begins an asynchronous folder creation.
|
com.aspose.ms.System.IAsyncResult |
beginCreateFolder(String folderName,
com.aspose.ms.System.AsyncCallback callback)
Begins an asynchronous folder creation.
|
com.aspose.ms.System.IAsyncResult |
beginCreateFolder(String folderName,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins an asynchronous folder creation.
|
com.aspose.ms.System.IAsyncResult |
beginCreateFolder(String parentFolder,
String folderName)
Deprecated.
|
com.aspose.ms.System.IAsyncResult |
beginCreateFolder(String parentFolder,
String folderName,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Deprecated.
|
com.aspose.ms.System.IAsyncResult |
beginDeleteFolder(IConnection iConnection,
String folderName)
Begins an asynchronous folder deletion.
|
com.aspose.ms.System.IAsyncResult |
beginDeleteFolder(IConnection iConnection,
String folderName,
com.aspose.ms.System.AsyncCallback callback)
Begins an asynchronous folder deletion.
|
com.aspose.ms.System.IAsyncResult |
beginDeleteFolder(IConnection iConnection,
String folderName,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins an asynchronous folder deletion.
|
com.aspose.ms.System.IAsyncResult |
beginDeleteFolder(String folderName)
Begins an asynchronous folder deletion.
|
com.aspose.ms.System.IAsyncResult |
beginDeleteFolder(String folderName,
com.aspose.ms.System.AsyncCallback callback)
Begins an asynchronous folder deletion.
|
com.aspose.ms.System.IAsyncResult |
beginDeleteFolder(String folderName,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins an asynchronous folder deletion.
|
com.aspose.ms.System.IAsyncResult |
beginDeleteFolder(String parentFolder,
String folderName)
Deprecated.
|
com.aspose.ms.System.IAsyncResult |
beginDeleteFolder(String parentFolder,
String folderName,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Deprecated.
|
com.aspose.ms.System.IAsyncResult |
beginDeleteMessage(IConnection iConnection,
int sequenceNumber)
Marks a message with the specified sequence number as deleted asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginDeleteMessage(IConnection iConnection,
int sequenceNumber,
com.aspose.ms.System.AsyncCallback callback)
Marks a message with the specified sequence number as deleted asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginDeleteMessage(IConnection iConnection,
int sequenceNumber,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Marks a message with the specified sequence number as deleted asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginDeleteMessage(IConnection iConnection,
String uniqueId)
Begins an asynchronous message deletion.
|
com.aspose.ms.System.IAsyncResult |
beginDeleteMessage(IConnection iConnection,
String uniqueId,
com.aspose.ms.System.AsyncCallback callback)
Begins an asynchronous message deletion.
|
com.aspose.ms.System.IAsyncResult |
beginDeleteMessage(IConnection iConnection,
String uniqueId,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins an asynchronous message deletion.
|
com.aspose.ms.System.IAsyncResult |
beginDeleteMessage(int sequenceNumber)
Marks a message with the specified sequence number as deleted asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginDeleteMessage(int sequenceNumber,
com.aspose.ms.System.AsyncCallback callback)
Marks a message with the specified sequence number as deleted asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginDeleteMessage(int sequenceNumber,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Marks a message with the specified sequence number as deleted asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginDeleteMessage(String uniqueId)
Begins an asynchronous message deletion.
|
com.aspose.ms.System.IAsyncResult |
beginDeleteMessage(String uniqueId,
com.aspose.ms.System.AsyncCallback callback)
Begins an asynchronous message deletion.
|
com.aspose.ms.System.IAsyncResult |
beginDeleteMessage(String uniqueId,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins an asynchronous message deletion.
|
com.aspose.ms.System.IAsyncResult |
beginDeleteMessage(String parentFolder,
String uniqueId)
Deprecated.
|
com.aspose.ms.System.IAsyncResult |
beginDeleteMessage(String parentFolder,
String uniqueId,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Deprecated.
|
com.aspose.ms.System.IAsyncResult |
beginFetchAttachment(IConnection iConnection,
int sequenceNumber,
String attachmentName)
Begins fetch an attachment.
|
com.aspose.ms.System.IAsyncResult |
beginFetchAttachment(IConnection iConnection,
int sequenceNumber,
String attachmentName,
com.aspose.ms.System.AsyncCallback callback)
Begins fetch an attachment.
|
com.aspose.ms.System.IAsyncResult |
beginFetchAttachment(IConnection iConnection,
int sequenceNumber,
String attachmentName,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins fetch an attachment.
|
com.aspose.ms.System.IAsyncResult |
beginFetchAttachment(int sequenceNumber,
String attachmentName)
Begins fetch an attachment.
|
com.aspose.ms.System.IAsyncResult |
beginFetchAttachment(int sequenceNumber,
String attachmentName,
com.aspose.ms.System.AsyncCallback callback)
Begins fetch an attachment.
|
com.aspose.ms.System.IAsyncResult |
beginFetchAttachment(int sequenceNumber,
String attachmentName,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins fetch an attachment.
|
com.aspose.ms.System.IAsyncResult |
beginFetchMessage(IConnection iConnection,
int sequenceNumber)
Begins an asynchronous message fetching.
|
com.aspose.ms.System.IAsyncResult |
beginFetchMessage(IConnection iConnection,
int sequenceNumber,
com.aspose.ms.System.AsyncCallback callback)
Begins an asynchronous message fetching.
|
com.aspose.ms.System.IAsyncResult |
beginFetchMessage(IConnection iConnection,
int sequenceNumber,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins an asynchronous message fetching.
|
com.aspose.ms.System.IAsyncResult |
beginFetchMessage(IConnection iConnection,
int sequenceNumber,
boolean ignoreAttachment)
Begins an asynchronous message fetching.
|
com.aspose.ms.System.IAsyncResult |
beginFetchMessage(IConnection iConnection,
int sequenceNumber,
boolean ignoreAttachment,
com.aspose.ms.System.AsyncCallback callback)
Begins an asynchronous message fetching.
|
com.aspose.ms.System.IAsyncResult |
beginFetchMessage(IConnection iConnection,
int sequenceNumber,
boolean ignoreAttachment,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins an asynchronous message fetching.
|
com.aspose.ms.System.IAsyncResult |
beginFetchMessage(IConnection iConnection,
String uniqueId)
Begins an asynchronous message fetching.
|
com.aspose.ms.System.IAsyncResult |
beginFetchMessage(IConnection iConnection,
String uniqueId,
com.aspose.ms.System.AsyncCallback callback)
Begins an asynchronous message fetching.
|
com.aspose.ms.System.IAsyncResult |
beginFetchMessage(IConnection iConnection,
String uniqueId,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins an asynchronous message fetching.
|
com.aspose.ms.System.IAsyncResult |
beginFetchMessage(int sequenceNumber)
Begins an asynchronous message fetching.
|
com.aspose.ms.System.IAsyncResult |
beginFetchMessage(int sequenceNumber,
com.aspose.ms.System.AsyncCallback callback)
Begins an asynchronous message fetching.
|
com.aspose.ms.System.IAsyncResult |
beginFetchMessage(int sequenceNumber,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins an asynchronous message fetching.
|
com.aspose.ms.System.IAsyncResult |
beginFetchMessage(int sequenceNumber,
boolean ignoreAttachment)
Begins an asynchronous message fetching.
|
com.aspose.ms.System.IAsyncResult |
beginFetchMessage(int sequenceNumber,
boolean ignoreAttachment,
com.aspose.ms.System.AsyncCallback callback)
Begins an asynchronous message fetching.
|
com.aspose.ms.System.IAsyncResult |
beginFetchMessage(int sequenceNumber,
boolean ignoreAttachment,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins an asynchronous message fetching.
|
com.aspose.ms.System.IAsyncResult |
beginFetchMessage(String uniqueId)
Begins an asynchronous message fetching.
|
com.aspose.ms.System.IAsyncResult |
beginFetchMessage(String uniqueId,
com.aspose.ms.System.AsyncCallback callback)
Begins an asynchronous message fetching.
|
com.aspose.ms.System.IAsyncResult |
beginFetchMessage(String uniqueId,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins an asynchronous message fetching.
|
com.aspose.ms.System.IAsyncResult |
beginFetchMessage(String folder,
String uniqueId)
Deprecated.
|
com.aspose.ms.System.IAsyncResult |
beginFetchMessage(String folder,
String uniqueId,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Deprecated.
|
com.aspose.ms.System.IAsyncResult |
beginGetFolderInfo(IConnection iConnection,
String folderName)
Begins an asynchronous folder listing.
|
com.aspose.ms.System.IAsyncResult |
beginGetFolderInfo(IConnection iConnection,
String folderName,
com.aspose.ms.System.AsyncCallback callback)
Begins an asynchronous folder listing.
|
com.aspose.ms.System.IAsyncResult |
beginGetFolderInfo(IConnection iConnection,
String folderName,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins an asynchronous folder listing.
|
com.aspose.ms.System.IAsyncResult |
beginGetFolderInfo(String folderName)
Begins an asynchronous folder listing.
|
com.aspose.ms.System.IAsyncResult |
beginGetFolderInfo(String folderName,
com.aspose.ms.System.AsyncCallback callback)
Begins an asynchronous folder listing.
|
com.aspose.ms.System.IAsyncResult |
beginGetFolderInfo(String folderName,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins an asynchronous folder listing.
|
com.aspose.ms.System.IAsyncResult |
beginListFolder(String folderName)
Deprecated.
|
com.aspose.ms.System.IAsyncResult |
beginListFolder(String folderName,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Deprecated.
|
com.aspose.ms.System.IAsyncResult |
beginListFolders()
Begins to get the list of folders in the mailbox
|
com.aspose.ms.System.IAsyncResult |
beginListFolders(com.aspose.ms.System.AsyncCallback callback)
Begins to get the list of folders in the mailbox
|
com.aspose.ms.System.IAsyncResult |
beginListFolders(com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins to get the list of folders in the mailbox
|
com.aspose.ms.System.IAsyncResult |
beginListFolders(boolean loadFullInfo)
Begins to get the list of folders in the mailbox
|
com.aspose.ms.System.IAsyncResult |
beginListFolders(boolean loadFullInfo,
com.aspose.ms.System.AsyncCallback callback)
Begins to get the list of folders in the mailbox
|
com.aspose.ms.System.IAsyncResult |
beginListFolders(boolean loadFullInfo,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins to get the list of folders in the mailbox
|
com.aspose.ms.System.IAsyncResult |
beginListFolders(IConnection iConnection)
Begins to get the list of folders in the mailbox
|
com.aspose.ms.System.IAsyncResult |
beginListFolders(IConnection iConnection,
com.aspose.ms.System.AsyncCallback callback)
Begins to get the list of folders in the mailbox
|
com.aspose.ms.System.IAsyncResult |
beginListFolders(IConnection iConnection,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins to get the list of folders in the mailbox
|
com.aspose.ms.System.IAsyncResult |
beginListFolders(IConnection iConnection,
boolean loadFullInfo)
Begins to get the list of folders in the mailbox
|
com.aspose.ms.System.IAsyncResult |
beginListFolders(IConnection iConnection,
boolean loadFullInfo,
com.aspose.ms.System.AsyncCallback callback)
Begins to get the list of folders in the mailbox
|
com.aspose.ms.System.IAsyncResult |
beginListFolders(IConnection iConnection,
boolean loadFullInfo,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins to get the list of folders in the mailbox
|
com.aspose.ms.System.IAsyncResult |
beginListFolders(IConnection iConnection,
String parentFolder)
Begins to get the list of subfolders in the specified folder
|
com.aspose.ms.System.IAsyncResult |
beginListFolders(IConnection iConnection,
String parentFolder,
com.aspose.ms.System.AsyncCallback callback)
Begins to get the list of subfolders in the specified folder
|
com.aspose.ms.System.IAsyncResult |
beginListFolders(IConnection iConnection,
String parentFolder,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins to get the list of subfolders in the specified folder
|
com.aspose.ms.System.IAsyncResult |
beginListFolders(IConnection iConnection,
String parentFolder,
boolean loadFullInfo)
Begins to get the list of subfolders in the specified folder
|
com.aspose.ms.System.IAsyncResult |
beginListFolders(IConnection iConnection,
String parentFolder,
boolean loadFullInfo,
com.aspose.ms.System.AsyncCallback callback)
Begins to get the list of subfolders in the specified folder
|
com.aspose.ms.System.IAsyncResult |
beginListFolders(IConnection iConnection,
String parentFolder,
boolean loadFullInfo,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins to get the list of subfolders in the specified folder
|
com.aspose.ms.System.IAsyncResult |
beginListFolders(String parentFolder)
Begins to get the list of subfolders in the specified folder
|
com.aspose.ms.System.IAsyncResult |
beginListFolders(String parentFolder,
com.aspose.ms.System.AsyncCallback callback)
Begins to get the list of subfolders in the specified folder
|
com.aspose.ms.System.IAsyncResult |
beginListFolders(String parentFolder,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins to get the list of subfolders in the specified folder
|
com.aspose.ms.System.IAsyncResult |
beginListFolders(String parentFolder,
boolean loadFullInfo)
Begins to get the list of subfolders in the specified folder
|
com.aspose.ms.System.IAsyncResult |
beginListFolders(String parentFolder,
boolean loadFullInfo,
com.aspose.ms.System.AsyncCallback callback)
Begins to get the list of subfolders in the specified folder
|
com.aspose.ms.System.IAsyncResult |
beginListFolders(String parentFolder,
boolean loadFullInfo,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins to get the list of subfolders in the specified folder
|
com.aspose.ms.System.IAsyncResult |
beginListMessage(IConnection iConnection,
int sequenceNumber)
Begins to get information about a message.
|
com.aspose.ms.System.IAsyncResult |
beginListMessage(IConnection iConnection,
int sequenceNumber,
com.aspose.ms.System.AsyncCallback callback)
Begins to get information about a message.
|
com.aspose.ms.System.IAsyncResult |
beginListMessage(IConnection iConnection,
int sequenceNumber,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins to get information about a message.
|
com.aspose.ms.System.IAsyncResult |
beginListMessage(IConnection iConnection,
String uniqueId)
Begins to get information about a message.
|
com.aspose.ms.System.IAsyncResult |
beginListMessage(IConnection iConnection,
String uniqueId,
com.aspose.ms.System.AsyncCallback callback)
Begins to get information about a message.
|
com.aspose.ms.System.IAsyncResult |
beginListMessage(IConnection iConnection,
String uniqueId,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins to get information about a message.
|
com.aspose.ms.System.IAsyncResult |
beginListMessage(int sequenceNumber)
Begins to get information about a message.
|
com.aspose.ms.System.IAsyncResult |
beginListMessage(int sequenceNumber,
com.aspose.ms.System.AsyncCallback callback)
Begins to get information about a message.
|
com.aspose.ms.System.IAsyncResult |
beginListMessage(int sequenceNumber,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins to get information about a message.
|
com.aspose.ms.System.IAsyncResult |
beginListMessage(String uniqueId)
Begins to get information about a message.
|
com.aspose.ms.System.IAsyncResult |
beginListMessage(String uniqueId,
com.aspose.ms.System.AsyncCallback callback)
Begins to get information about a message.
|
com.aspose.ms.System.IAsyncResult |
beginListMessage(String uniqueId,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins to get information about a message.
|
com.aspose.ms.System.IAsyncResult |
beginListMessages()
Begins getting the list of messages asynchronously in the current folder
|
com.aspose.ms.System.IAsyncResult |
beginListMessages(com.aspose.ms.System.AsyncCallback callback)
Begins getting the list of messages asynchronously in the current folder
|
com.aspose.ms.System.IAsyncResult |
beginListMessages(com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins getting the list of messages asynchronously in the current folder
|
com.aspose.ms.System.IAsyncResult |
beginListMessages(MailQuery query)
Begins getting the list of messages asynchronously in the current folder
|
com.aspose.ms.System.IAsyncResult |
beginListMessages(MailQuery query,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins getting the list of messages asynchronously in the current folder
|
com.aspose.ms.System.IAsyncResult |
beginListMessages(MailQuery query,
int maxNumberOfMessages)
Begins getting the list of messages asynchronously in the current folder
|
com.aspose.ms.System.IAsyncResult |
beginListMessages(MailQuery query,
int maxNumberOfMessages,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins getting the list of messages asynchronously in the current folder
|
com.aspose.ms.System.IAsyncResult |
beginListMessages(String folderName)
Begins getting the list of messages asynchronously in the current folder
|
com.aspose.ms.System.IAsyncResult |
beginListMessages(String folderName,
com.aspose.ms.System.AsyncCallback callback)
Begins getting the list of messages asynchronously in the current folder
|
com.aspose.ms.System.IAsyncResult |
beginListMessages(String folderName,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins getting the list of messages asynchronously in the current folder
|
com.aspose.ms.System.IAsyncResult |
beginListMessages(String folderName,
MailQuery query)
Begins getting the list of messages asynchronously in the current folder
|
com.aspose.ms.System.IAsyncResult |
beginListMessages(String folderName,
MailQuery query,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins getting the list of messages asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginListMessages(String folderName,
MailQuery query,
int maxNumberOfMessages)
Begins getting the list of messages asynchronously in the current folder
|
com.aspose.ms.System.IAsyncResult |
beginListMessages(String folderName,
MailQuery query,
int maxNumberOfMessages,
com.aspose.ms.System.AsyncCallback callback)
Begins getting the list of messages asynchronously in the current folder
|
com.aspose.ms.System.IAsyncResult |
beginListMessages(String folderName,
MailQuery query,
int maxNumberOfMessages,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins getting the list of messages asynchronously in the current folder
|
com.aspose.ms.System.IAsyncResult |
beginNoop()
Begins to execute 'No operation' command
|
com.aspose.ms.System.IAsyncResult |
beginNoop(com.aspose.ms.System.AsyncCallback callback)
Begins to execute 'No operation' command
|
com.aspose.ms.System.IAsyncResult |
beginNoop(com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins to execute 'No operation' command
|
com.aspose.ms.System.IAsyncResult |
beginNoop(IConnection iConnection)
Begins to execute 'No operation' command
|
com.aspose.ms.System.IAsyncResult |
beginNoop(IConnection iConnection,
com.aspose.ms.System.AsyncCallback callback)
Begins to execute 'No operation' command
|
com.aspose.ms.System.IAsyncResult |
beginNoop(IConnection iConnection,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins to execute 'No operation' command
|
com.aspose.ms.System.IAsyncResult |
beginRemoveMessageFlags(IConnection iConnection,
int sequenceNumber,
ImapMessageFlags flags)
Removes the flags of the message asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginRemoveMessageFlags(IConnection iConnection,
int sequenceNumber,
ImapMessageFlags flags,
com.aspose.ms.System.AsyncCallback callback)
Removes the flags of the message asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginRemoveMessageFlags(IConnection iConnection,
int sequenceNumber,
ImapMessageFlags flags,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Removes the flags of the message asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginRemoveMessageFlags(IConnection iConnection,
String uniqueId,
ImapMessageFlags flags)
Removes the flags of the message asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginRemoveMessageFlags(IConnection iConnection,
String uniqueId,
ImapMessageFlags flags,
com.aspose.ms.System.AsyncCallback callback)
Removes the flags of the message asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginRemoveMessageFlags(IConnection iConnection,
String uniqueId,
ImapMessageFlags flags,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Removes the flags of the message asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginRemoveMessageFlags(int sequenceNumber,
ImapMessageFlags flags)
Removes the flags of the message asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginRemoveMessageFlags(int sequenceNumber,
ImapMessageFlags flags,
com.aspose.ms.System.AsyncCallback callback)
Removes the flags of the message asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginRemoveMessageFlags(int sequenceNumber,
ImapMessageFlags flags,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Removes the flags of the message asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginRemoveMessageFlags(String uniqueId,
ImapMessageFlags flags)
Removes the flags of the message asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginRemoveMessageFlags(String uniqueId,
ImapMessageFlags flags,
com.aspose.ms.System.AsyncCallback callback)
Removes the flags of the message asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginRemoveMessageFlags(String uniqueId,
ImapMessageFlags flags,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Removes the flags of the message asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginRenameFolder(IConnection iConnection,
String folderName,
String newFolderName)
Begins RenameFolder operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginRenameFolder(IConnection iConnection,
String folderName,
String newFolderName,
com.aspose.ms.System.AsyncCallback callback)
Begins RenameFolder operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginRenameFolder(IConnection iConnection,
String folderName,
String newFolderName,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins RenameFolder operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginRenameFolder(String folderName,
String newFolderName)
Begins RenameFolder operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginRenameFolder(String folderName,
String newFolderName,
com.aspose.ms.System.AsyncCallback callback)
Begins RenameFolder operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginRenameFolder(String folderName,
String newFolderName,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins RenameFolder operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginRenameFolder(String parentFolder,
String folderName,
String newFolderName)
Deprecated.
|
com.aspose.ms.System.IAsyncResult |
beginRenameFolder(String parentFolder,
String folderName,
String newFolderName,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Deprecated.
|
com.aspose.ms.System.IAsyncResult |
beginRequestCheckpoint()
Begins request a checkpoint of the currently selected mailbox.
|
com.aspose.ms.System.IAsyncResult |
beginRequestCheckpoint(com.aspose.ms.System.AsyncCallback callback)
Begins request a checkpoint of the currently selected mailbox.
|
com.aspose.ms.System.IAsyncResult |
beginRequestCheckpoint(com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins request a checkpoint of the currently selected mailbox.
|
com.aspose.ms.System.IAsyncResult |
beginRequestCheckpoint(IConnection iConnection)
Begins request a checkpoint of the currently selected mailbox.
|
com.aspose.ms.System.IAsyncResult |
beginRequestCheckpoint(IConnection iConnection,
com.aspose.ms.System.AsyncCallback callback)
Begins request a checkpoint of the currently selected mailbox.
|
com.aspose.ms.System.IAsyncResult |
beginRequestCheckpoint(IConnection iConnection,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins request a checkpoint of the currently selected mailbox.
|
com.aspose.ms.System.IAsyncResult |
beginRestore(IConnection iConnection,
ImapFolderInfoCollection folders,
InputStream stream,
int options)
Begins to backup the content of the specified folders
|
com.aspose.ms.System.IAsyncResult |
beginRestore(IConnection iConnection,
ImapFolderInfoCollection folders,
InputStream stream,
int options,
com.aspose.ms.System.AsyncCallback callback)
Begins to backup the content of the specified folders
|
com.aspose.ms.System.IAsyncResult |
beginRestore(IConnection iConnection,
ImapFolderInfoCollection folders,
InputStream stream,
int options,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins to backup the content of the specified folders
|
com.aspose.ms.System.IAsyncResult |
beginRestore(IConnection iConnection,
ImapFolderInfoCollection folders,
String fileName,
int options)
Begins to backup the content of the specified folders
|
com.aspose.ms.System.IAsyncResult |
beginRestore(IConnection iConnection,
ImapFolderInfoCollection folders,
String fileName,
int options,
com.aspose.ms.System.AsyncCallback callback)
Begins to backup the content of the specified folders
|
com.aspose.ms.System.IAsyncResult |
beginRestore(IConnection iConnection,
ImapFolderInfoCollection folders,
String fileName,
int options,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins to backup the content of the specified folders
|
com.aspose.ms.System.IAsyncResult |
beginRestore(IConnection iConnection,
InputStream stream,
ImapFolderInfoCollection folders,
int options)
Begins to restore the specified imap folders from the given stream.
|
com.aspose.ms.System.IAsyncResult |
beginRestore(IConnection iConnection,
InputStream stream,
ImapFolderInfoCollection folders,
int options,
com.aspose.ms.System.AsyncCallback callback)
Begins to restore the specified imap folders from the given stream.
|
com.aspose.ms.System.IAsyncResult |
beginRestore(IConnection iConnection,
InputStream stream,
ImapFolderInfoCollection folders,
int options,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins to restore the specified imap folders from the given stream.
|
com.aspose.ms.System.IAsyncResult |
beginRestore(IConnection iConnection,
InputStream stream,
int options)
Begins to restore imap folders from the given stream.
|
com.aspose.ms.System.IAsyncResult |
beginRestore(IConnection iConnection,
InputStream stream,
int options,
com.aspose.ms.System.AsyncCallback callback)
Begins to restore imap folders from the given stream.
|
com.aspose.ms.System.IAsyncResult |
beginRestore(IConnection iConnection,
InputStream stream,
int options,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins to restore imap folders from the given stream.
|
com.aspose.ms.System.IAsyncResult |
beginRestore(IConnection iConnection,
PersonalStorage pst,
ImapFolderInfoCollection folders,
int options)
Begins to restore the specified imap folders from the given personal storage.
|
com.aspose.ms.System.IAsyncResult |
beginRestore(IConnection iConnection,
PersonalStorage pst,
ImapFolderInfoCollection folders,
int options,
com.aspose.ms.System.AsyncCallback callback)
Begins to restore the specified imap folders from the given personal storage.
|
com.aspose.ms.System.IAsyncResult |
beginRestore(IConnection iConnection,
PersonalStorage pst,
ImapFolderInfoCollection folders,
int options,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins to restore the specified imap folders from the given personal storage.
|
com.aspose.ms.System.IAsyncResult |
beginRestore(IConnection iConnection,
PersonalStorage pst,
int options)
Begins to restore imap folders from the given personal storage.
|
com.aspose.ms.System.IAsyncResult |
beginRestore(IConnection iConnection,
PersonalStorage pst,
int options,
com.aspose.ms.System.AsyncCallback callback)
Begins to restore imap folders from the given personal storage.
|
com.aspose.ms.System.IAsyncResult |
beginRestore(IConnection iConnection,
PersonalStorage pst,
int options,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins to restore imap folders from the given personal storage.
|
com.aspose.ms.System.IAsyncResult |
beginRestore(IConnection iConnection,
String fileName,
ImapFolderInfoCollection folders,
int options)
Begins to restore the specified imap folders from the specified personal storage file.
|
com.aspose.ms.System.IAsyncResult |
beginRestore(IConnection iConnection,
String fileName,
ImapFolderInfoCollection folders,
int options,
com.aspose.ms.System.AsyncCallback callback)
Begins to restore the specified imap folders from the specified personal storage file.
|
com.aspose.ms.System.IAsyncResult |
beginRestore(IConnection iConnection,
String fileName,
ImapFolderInfoCollection folders,
int options,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins to restore the specified imap folders from the specified personal storage file.
|
com.aspose.ms.System.IAsyncResult |
beginRestore(IConnection iConnection,
String fileName,
int options)
Begins to restore imap folders from the specified personal storage file.
|
com.aspose.ms.System.IAsyncResult |
beginRestore(IConnection iConnection,
String fileName,
int options,
com.aspose.ms.System.AsyncCallback callback)
Begins to restore imap folders from the specified personal storage file.
|
com.aspose.ms.System.IAsyncResult |
beginRestore(IConnection iConnection,
String fileName,
int options,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins to restore imap folders from the specified personal storage file.
|
com.aspose.ms.System.IAsyncResult |
beginRestore(ImapFolderInfoCollection folders,
InputStream stream,
int options)
Begins to backup the content of the specified folders
|
com.aspose.ms.System.IAsyncResult |
beginRestore(ImapFolderInfoCollection folders,
InputStream stream,
int options,
com.aspose.ms.System.AsyncCallback callback)
Begins to backup the content of the specified folders
|
com.aspose.ms.System.IAsyncResult |
beginRestore(ImapFolderInfoCollection folders,
InputStream stream,
int options,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins to backup the content of the specified folders
|
com.aspose.ms.System.IAsyncResult |
beginRestore(ImapFolderInfoCollection folders,
String fileName,
int options)
Begins to backup the content of the specified folders
|
com.aspose.ms.System.IAsyncResult |
beginRestore(ImapFolderInfoCollection folders,
String fileName,
int options,
com.aspose.ms.System.AsyncCallback callback)
Begins to backup the content of the specified folders
|
com.aspose.ms.System.IAsyncResult |
beginRestore(ImapFolderInfoCollection folders,
String fileName,
int options,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins to backup the content of the specified folders
|
com.aspose.ms.System.IAsyncResult |
beginRestore(InputStream stream,
ImapFolderInfoCollection folders,
int options)
Begins to restore the specified imap folders from the given stream.
|
com.aspose.ms.System.IAsyncResult |
beginRestore(InputStream stream,
ImapFolderInfoCollection folders,
int options,
com.aspose.ms.System.AsyncCallback callback)
Begins to restore the specified imap folders from the given stream.
|
com.aspose.ms.System.IAsyncResult |
beginRestore(InputStream stream,
ImapFolderInfoCollection folders,
int options,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins to restore the specified imap folders from the given stream.
|
com.aspose.ms.System.IAsyncResult |
beginRestore(InputStream stream,
int options)
Begins to restore imap folders from the given stream.
|
com.aspose.ms.System.IAsyncResult |
beginRestore(InputStream stream,
int options,
com.aspose.ms.System.AsyncCallback callback)
Begins to restore imap folders from the given stream.
|
com.aspose.ms.System.IAsyncResult |
beginRestore(InputStream stream,
int options,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins to restore imap folders from the given stream.
|
com.aspose.ms.System.IAsyncResult |
beginRestore(PersonalStorage pst,
ImapFolderInfoCollection folders,
int options)
Begins to restore the specified imap folders from the given personal storage.
|
com.aspose.ms.System.IAsyncResult |
beginRestore(PersonalStorage pst,
ImapFolderInfoCollection folders,
int options,
com.aspose.ms.System.AsyncCallback callback)
Begins to restore the specified imap folders from the given personal storage.
|
com.aspose.ms.System.IAsyncResult |
beginRestore(PersonalStorage pst,
ImapFolderInfoCollection folders,
int options,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins to restore the specified imap folders from the given personal storage.
|
com.aspose.ms.System.IAsyncResult |
beginRestore(PersonalStorage pst,
int options)
Begins to restore imap folders from the given personal storage.
|
com.aspose.ms.System.IAsyncResult |
beginRestore(PersonalStorage pst,
int options,
com.aspose.ms.System.AsyncCallback callback)
Begins to restore imap folders from the given personal storage.
|
com.aspose.ms.System.IAsyncResult |
beginRestore(PersonalStorage pst,
int options,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins to restore imap folders from the given personal storage.
|
com.aspose.ms.System.IAsyncResult |
beginRestore(String fileName,
ImapFolderInfoCollection folders,
int options)
Begins to restore the specified imap folders from the specified personal storage file.
|
com.aspose.ms.System.IAsyncResult |
beginRestore(String fileName,
ImapFolderInfoCollection folders,
int options,
com.aspose.ms.System.AsyncCallback callback)
Begins to restore the specified imap folders from the specified personal storage file.
|
com.aspose.ms.System.IAsyncResult |
beginRestore(String fileName,
ImapFolderInfoCollection folders,
int options,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins to restore the specified imap folders from the specified personal storage file.
|
com.aspose.ms.System.IAsyncResult |
beginRestore(String fileName,
int options)
Begins to restore imap folders from the specified personal storage file.
|
com.aspose.ms.System.IAsyncResult |
beginRestore(String fileName,
int options,
com.aspose.ms.System.AsyncCallback callback)
Begins to restore imap folders from the specified personal storage file.
|
com.aspose.ms.System.IAsyncResult |
beginRestore(String fileName,
int options,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins to restore imap folders from the specified personal storage file.
|
com.aspose.ms.System.IAsyncResult |
beginSaveMessage(IConnection iConnection,
int sequenceNumber,
OutputStream resultStream)
Begins SaveMessage operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginSaveMessage(IConnection iConnection,
int sequenceNumber,
OutputStream resultStream,
com.aspose.ms.System.AsyncCallback callback)
Begins SaveMessage operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginSaveMessage(IConnection iConnection,
int sequenceNumber,
OutputStream resultStream,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins SaveMessage operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginSaveMessage(IConnection iConnection,
int sequenceNumber,
String fileName)
Begins SaveMessage operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginSaveMessage(IConnection iConnection,
int sequenceNumber,
String fileName,
com.aspose.ms.System.AsyncCallback callback)
Begins SaveMessage operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginSaveMessage(IConnection iConnection,
int sequenceNumber,
String fileName,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins SaveMessage operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginSaveMessage(IConnection iConnection,
String uniqueId,
OutputStream resultStream)
Begins SaveMessage operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginSaveMessage(IConnection iConnection,
String uniqueId,
OutputStream resultStream,
com.aspose.ms.System.AsyncCallback callback)
Begins SaveMessage operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginSaveMessage(IConnection iConnection,
String uniqueId,
OutputStream resultStream,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins SaveMessage operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginSaveMessage(IConnection iConnection,
String uniqueId,
String fileName)
Begins SaveMessage operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginSaveMessage(IConnection iConnection,
String uniqueId,
String fileName,
com.aspose.ms.System.AsyncCallback callback)
Begins SaveMessage operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginSaveMessage(IConnection iConnection,
String uniqueId,
String fileName,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins SaveMessage operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginSaveMessage(int sequenceNumber,
OutputStream resultStream)
Begins SaveMessage operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginSaveMessage(int sequenceNumber,
OutputStream resultStream,
com.aspose.ms.System.AsyncCallback callback)
Begins SaveMessage operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginSaveMessage(int sequenceNumber,
OutputStream resultStream,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins SaveMessage operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginSaveMessage(int sequenceNumber,
String fileName)
Begins SaveMessage operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginSaveMessage(int sequenceNumber,
String fileName,
com.aspose.ms.System.AsyncCallback callback)
Begins SaveMessage operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginSaveMessage(int sequenceNumber,
String fileName,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins SaveMessage operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginSaveMessage(String uniqueId,
OutputStream resultStream)
Begins SaveMessage operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginSaveMessage(String uniqueId,
OutputStream resultStream,
com.aspose.ms.System.AsyncCallback callback)
Begins SaveMessage operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginSaveMessage(String uniqueId,
OutputStream resultStream,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins SaveMessage operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginSaveMessage(String uniqueId,
String fileName)
Begins SaveMessage operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginSaveMessage(String uniqueId,
String fileName,
com.aspose.ms.System.AsyncCallback callback)
Begins SaveMessage operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginSaveMessage(String uniqueId,
String fileName,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins SaveMessage operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginSaveMessage(String parentFolder,
String uniqueId,
OutputStream resultStream)
Begins SaveMessage operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginSaveMessage(String parentFolder,
String uniqueId,
OutputStream resultStream,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins SaveMessage operation asynchronously
|
com.aspose.ms.System.IAsyncResult |
beginSelectFolder(IConnection iConnection,
String folderName)
Begins select the specified folder asynchronously.
|
com.aspose.ms.System.IAsyncResult |
beginSelectFolder(IConnection iConnection,
String folderName,
com.aspose.ms.System.AsyncCallback callback)
Begins select the specified folder asynchronously.
|
com.aspose.ms.System.IAsyncResult |
beginSelectFolder(IConnection iConnection,
String folderName,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins select the specified folder asynchronously.
|
com.aspose.ms.System.IAsyncResult |
beginSelectFolder(IConnection iConnection,
String folderName,
boolean readOnly,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins select the specified folder asynchronously.
|
com.aspose.ms.System.IAsyncResult |
beginSelectFolder(String folderName)
Begins select the specified folder asynchronously.
|
com.aspose.ms.System.IAsyncResult |
beginSelectFolder(String folderName,
com.aspose.ms.System.AsyncCallback callback)
Begins select the specified folder asynchronously.
|
com.aspose.ms.System.IAsyncResult |
beginSelectFolder(String folderName,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins select the specified folder asynchronously.
|
com.aspose.ms.System.IAsyncResult |
beginSelectFolder(String folderName,
boolean readOnly,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins select the specified folder asynchronously.
|
com.aspose.ms.System.IAsyncResult |
beginSendCustomCommand(IConnection iConnection,
String customCommand)
Begins send the specified custom command to the server.
|
com.aspose.ms.System.IAsyncResult |
beginSendCustomCommand(IConnection iConnection,
String customCommand,
com.aspose.ms.System.AsyncCallback callback)
Begins send the specified custom command to the server.
|
com.aspose.ms.System.IAsyncResult |
beginSendCustomCommand(IConnection iConnection,
String customCommand,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins send the specified custom command to the server.
|
com.aspose.ms.System.IAsyncResult |
beginSendCustomCommand(IConnection iConnection,
String nextCommandPart,
String commandId)
Begins send the specified custom command to the server.
|
com.aspose.ms.System.IAsyncResult |
beginSendCustomCommand(IConnection iConnection,
String nextCommandPart,
String commandId,
com.aspose.ms.System.AsyncCallback callback)
Begins send the specified custom command to the server.
|
com.aspose.ms.System.IAsyncResult |
beginSendCustomCommand(IConnection iConnection,
String nextCommandPart,
String commandId,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins send the specified custom command to the server.
|
com.aspose.ms.System.IAsyncResult |
beginSendCustomCommand(String customCommand)
Begins send the specified custom command to the server.
|
com.aspose.ms.System.IAsyncResult |
beginSendCustomCommand(String customCommand,
com.aspose.ms.System.AsyncCallback callback)
Begins send the specified custom command to the server.
|
com.aspose.ms.System.IAsyncResult |
beginSendCustomCommand(String customCommand,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins send the specified custom command to the server.
|
com.aspose.ms.System.IAsyncResult |
beginSendCustomCommand(String nextCommandPart,
String commandId)
Begins send the specified custom command to the server.
|
com.aspose.ms.System.IAsyncResult |
beginSendCustomCommand(String nextCommandPart,
String commandId,
com.aspose.ms.System.AsyncCallback callback)
Begins send the specified custom command to the server.
|
com.aspose.ms.System.IAsyncResult |
beginSendCustomCommand(String nextCommandPart,
String commandId,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins send the specified custom command to the server.
|
com.aspose.ms.System.IAsyncResult |
beginSubscribeFolder(IConnection iConnection,
String folderName)
Begins subscribe operation that adds the specified mailbox name to the server's set of "active" mailboxes.
|
com.aspose.ms.System.IAsyncResult |
beginSubscribeFolder(IConnection iConnection,
String folderName,
com.aspose.ms.System.AsyncCallback callback)
Begins subscribe operation that adds the specified mailbox name to the server's set of "active" mailboxes.
|
com.aspose.ms.System.IAsyncResult |
beginSubscribeFolder(IConnection iConnection,
String folderName,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins subscribe operation that adds the specified mailbox name to the server's set of "active" mailboxes.
|
com.aspose.ms.System.IAsyncResult |
beginSubscribeFolder(String folderName)
Begins subscribe operation that adds the specified mailbox name to the server's set of "active" mailboxes.
|
com.aspose.ms.System.IAsyncResult |
beginSubscribeFolder(String folderName,
com.aspose.ms.System.AsyncCallback callback)
Begins subscribe operation that adds the specified mailbox name to the server's set of "active" mailboxes.
|
com.aspose.ms.System.IAsyncResult |
beginSubscribeFolder(String folderName,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins subscribe operation that adds the specified mailbox name to the server's set of "active" mailboxes.
|
com.aspose.ms.System.IAsyncResult |
beginUndeleteMessage(IConnection iConnection,
int sequenceNumber)
Marks a message with the specified sequence number as not deleted.
|
com.aspose.ms.System.IAsyncResult |
beginUndeleteMessage(IConnection iConnection,
int sequenceNumber,
com.aspose.ms.System.AsyncCallback callback)
Marks a message with the specified sequence number as not deleted.
|
com.aspose.ms.System.IAsyncResult |
beginUndeleteMessage(IConnection iConnection,
int sequenceNumber,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Marks a message with the specified sequence number as not deleted.
|
com.aspose.ms.System.IAsyncResult |
beginUndeleteMessage(IConnection iConnection,
String uniqueId)
Marks a message with the specified sequence number as not deleted.
|
com.aspose.ms.System.IAsyncResult |
beginUndeleteMessage(IConnection iConnection,
String uniqueId,
com.aspose.ms.System.AsyncCallback callback)
Marks a message with the specified sequence number as not deleted.
|
com.aspose.ms.System.IAsyncResult |
beginUndeleteMessage(IConnection iConnection,
String uniqueId,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Marks a message with the specified sequence number as not deleted.
|
com.aspose.ms.System.IAsyncResult |
beginUndeleteMessage(int sequenceNumber)
Marks a message with the specified sequence number as not deleted.
|
com.aspose.ms.System.IAsyncResult |
beginUndeleteMessage(int sequenceNumber,
com.aspose.ms.System.AsyncCallback callback)
Marks a message with the specified sequence number as not deleted.
|
com.aspose.ms.System.IAsyncResult |
beginUndeleteMessage(int sequenceNumber,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Marks a message with the specified sequence number as not deleted.
|
com.aspose.ms.System.IAsyncResult |
beginUndeleteMessage(String uniqueId)
Marks a message with the specified sequence number as not deleted.
|
com.aspose.ms.System.IAsyncResult |
beginUndeleteMessage(String uniqueId,
com.aspose.ms.System.AsyncCallback callback)
Marks a message with the specified sequence number as not deleted.
|
com.aspose.ms.System.IAsyncResult |
beginUndeleteMessage(String uniqueId,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Marks a message with the specified sequence number as not deleted.
|
com.aspose.ms.System.IAsyncResult |
beginUnselectFolder()
Begins permanently removes all messages marked as deleted for currently selected folder and removes selected-state for current folder.
|
com.aspose.ms.System.IAsyncResult |
beginUnselectFolder(com.aspose.ms.System.AsyncCallback callback)
Begins permanently removes all messages marked as deleted for currently selected folder and removes selected-state for current folder.
|
com.aspose.ms.System.IAsyncResult |
beginUnselectFolder(com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins permanently removes all messages marked as deleted for currently selected folder and removes selected-state for current folder.
|
com.aspose.ms.System.IAsyncResult |
beginUnselectFolder(IConnection iConnection)
Begins permanently removes all messages marked as deleted for currently selected folder and removes selected-state for current folder.
|
com.aspose.ms.System.IAsyncResult |
beginUnselectFolder(IConnection iConnection,
com.aspose.ms.System.AsyncCallback callback)
Begins permanently removes all messages marked as deleted for currently selected folder and removes selected-state for current folder.
|
com.aspose.ms.System.IAsyncResult |
beginUnselectFolder(IConnection iConnection,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins permanently removes all messages marked as deleted for currently selected folder and removes selected-state for current folder.
|
com.aspose.ms.System.IAsyncResult |
beginUnsubscribeFolder(IConnection iConnection,
String folderName)
Begins unsubscribe operation that removes the specified mailbox name from the server's set of "active" mailboxes
|
com.aspose.ms.System.IAsyncResult |
beginUnsubscribeFolder(IConnection iConnection,
String folderName,
com.aspose.ms.System.AsyncCallback callback)
Begins unsubscribe operation that removes the specified mailbox name from the server's set of "active" mailboxes
|
com.aspose.ms.System.IAsyncResult |
beginUnsubscribeFolder(IConnection iConnection,
String folderName,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins unsubscribe operation that removes the specified mailbox name from the server's set of "active" mailboxes
|
com.aspose.ms.System.IAsyncResult |
beginUnsubscribeFolder(String folderName)
Begins unsubscribe operation that removes the specified mailbox name from the server's set of "active" mailboxes
|
com.aspose.ms.System.IAsyncResult |
beginUnsubscribeFolder(String folderName,
com.aspose.ms.System.AsyncCallback callback)
Begins unsubscribe operation that removes the specified mailbox name from the server's set of "active" mailboxes
|
com.aspose.ms.System.IAsyncResult |
beginUnsubscribeFolder(String folderName,
com.aspose.ms.System.AsyncCallback callback,
Object state)
Begins unsubscribe operation that removes the specified mailbox name from the server's set of "active" mailboxes
|
void |
changeMessageFlags(IConnection iConnection,
int sequenceNumber,
ImapMessageFlags flags)
Changes the flags of the message
|
void |
changeMessageFlags(IConnection iConnection,
String uniqueId,
ImapMessageFlags flags)
Changes the flags of the message
|
void |
changeMessageFlags(int sequenceNumber,
ImapMessageFlags flags)
Changes the flags of the message
|
void |
changeMessageFlags(String uniqueId,
ImapMessageFlags flags)
Changes the flags of the message
|
void |
commitDeletes()
Commit the deletions
|
void |
commitDeletes(IConnection iConnection)
Commit the deletions
|
void |
commitDeletes(IConnection iConnection,
int sleep)
Commit the deletions
|
void |
commitDeletes(int sleep)
Commit the deletions
|
void |
copyMessage(IConnection iConnection,
int sequenceNumber,
String folderName)
Copies the message
|
void |
copyMessage(IConnection iConnection,
String uniqueId,
String folderName)
Copies the message
|
void |
copyMessage(int sequenceNumber,
String folderName)
Copies the message
|
void |
copyMessage(String uniqueId,
String folderName)
Copies the message
|
void |
createFolder(IConnection iConnection,
String folderName)
Creates a folder with the specified name
|
void |
createFolder(String folderName)
Creates a folder with the specified name
|
void |
deleteFolder(IConnection iConnection,
String folderName)
Deletes a specified folder.
|
void |
deleteFolder(String folderName)
Deletes a specified folder.
|
void |
deleteMessage(IConnection iConnection,
int sequenceNumber)
Marks a message with the specified sequence number as deleted
|
void |
deleteMessage(IConnection iConnection,
String uniqueId)
Marks a message with the specified sequence number as deleted
|
void |
deleteMessage(int sequenceNumber)
Marks a message with the specified sequence number as deleted
|
void |
deleteMessage(String uniqueId)
Marks a message with the specified sequence number as deleted
|
void |
dispose()
Finalizes all operations with a server.
|
void |
endAddMessageFlags(com.aspose.ms.System.IAsyncResult asyncResult)
Waits for the pending asynchronous operation to complete.
|
String |
endAppendMessage(com.aspose.ms.System.IAsyncResult asyncResult)
Waits for the pending asynchronous operation to complete.
|
void |
endBackup(com.aspose.ms.System.IAsyncResult asyncResult)
Waits for the pending asynchronous operation to complete.
|
void |
endChangeMessageFlags(com.aspose.ms.System.IAsyncResult asyncResult)
Waits for the pending asynchronous operation to complete.
|
void |
endCommitDeletes(com.aspose.ms.System.IAsyncResult asyncResult)
Waits for the pending asynchronous operation to complete.
|
void |
endCopyMessage(com.aspose.ms.System.IAsyncResult asyncResult)
Waits for the pending asynchronous operation to complete.
|
void |
endCreateFolder(com.aspose.ms.System.IAsyncResult asyncResult)
Waits for the pending asynchronous folder creation to complete.
|
void |
endDeleteFolder(com.aspose.ms.System.IAsyncResult asyncResult)
Waits for the pending asynchronous folder deletion to complete.
|
void |
endDeleteMessage(com.aspose.ms.System.IAsyncResult asyncResult)
Waits for the pending asynchronous message deletion to complete.
|
boolean |
endExistFolder(com.aspose.ms.System.IAsyncResult asyncResult)
Waits for the pending asynchronous operation to complete.
|
boolean |
endExistFolder(com.aspose.ms.System.IAsyncResult asyncResult,
ImapFolderInfo[] folderInfo)
Waits for the pending asynchronous operation to complete.
|
Attachment |
endFetchAttachment(com.aspose.ms.System.IAsyncResult asyncResult)
Waits for the asynchronous operation to complete.
|
MailMessage |
endFetchMessage(com.aspose.ms.System.IAsyncResult asyncResult)
Waits for the pending asynchronous message fetching to complete.
|
ImapFolderInfo |
endGetFolderInfo(com.aspose.ms.System.IAsyncResult asyncResult)
Waits for the pending asynchronous folder listing to complete.
|
ImapFolderInfo |
endListFolder(com.aspose.ms.System.IAsyncResult asyncResult)
Deprecated.
|
ImapFolderInfoCollection |
endListFolders(com.aspose.ms.System.IAsyncResult asyncResult)
Waits for the pending asynchronous operation to complete.
|
ImapMessageInfo |
endListMessage(com.aspose.ms.System.IAsyncResult asyncResult)
Waits for the asynchronous ListMessage operation to complete.
|
ImapMessageInfoCollection |
endListMessages(com.aspose.ms.System.IAsyncResult asyncResult)
Waits for the asynchronous ListMessages operation to complete.
|
void |
endNoop(com.aspose.ms.System.IAsyncResult asyncResult)
Waits for the pending asynchronous operation to complete.
|
void |
endRemoveMessageFlags(com.aspose.ms.System.IAsyncResult asyncResult)
Waits for the pending asynchronous operation to complete.
|
void |
endRenameFolder(com.aspose.ms.System.IAsyncResult asyncResult)
Waits for the asynchronous operation to complete.
|
void |
endRequestCheckpoint(com.aspose.ms.System.IAsyncResult asyncResult)
Waits for the pending asynchronous operation to complete.
|
void |
endRestore(com.aspose.ms.System.IAsyncResult asyncResult)
Waits for the pending asynchronous operation to complete.
|
void |
endSaveMessage(com.aspose.ms.System.IAsyncResult asyncResult)
Waits for the asynchronous operation to complete.
|
ImapFolderInfo |
endSelectFolder(com.aspose.ms.System.IAsyncResult asyncResult)
Waits for the pending asynchronous message fetching to complete.
|
ImapResponse |
endSendCustomCommand(com.aspose.ms.System.IAsyncResult asyncResult)
Waits for the pending asynchronous operation to complete.
|
void |
endSubscribeFolder(com.aspose.ms.System.IAsyncResult asyncResult)
Waits for the pending asynchronous operation to complete.
|
void |
endUndeleteMessage(com.aspose.ms.System.IAsyncResult asyncResult)
Waits for the pending asynchronous operation to complete.
|
void |
endUnselectFolder(com.aspose.ms.System.IAsyncResult asyncResult)
Waits for the pending asynchronous operation to complete.
|
void |
endUnsubscribeFolder(com.aspose.ms.System.IAsyncResult asyncResult)
Waits for the pending asynchronous operation to complete.
|
boolean |
existFolder(String folderName)
Check whether this folder exists
|
boolean |
existFolder(String folderName,
ImapFolderInfo[] folderInfo)
Check whether this folder exists, extract folder info if so
|
Attachment |
fetchAttachment(IConnection iConnection,
int sequenceNumber,
String attachmentName)
Fetches the specified attachment
|
Attachment |
fetchAttachment(int sequenceNumber,
String attachmentName)
Fetches the specified attachment
|
MailMessage |
fetchMessage(IConnection iConnection,
int sequenceNumber)
Fetches the message
|
MailMessage |
fetchMessage(IConnection iConnection,
int sequenceNumber,
boolean ignoreAttachment)
Fetches the message
|
MailMessage |
fetchMessage(IConnection iConnection,
String uniqueId)
Fetches the message
|
MailMessage |
fetchMessage(int sequenceNumber)
Fetches the message
|
MailMessage |
fetchMessage(int sequenceNumber,
boolean ignoreAttachment)
Fetches the message
|
MailMessage |
fetchMessage(String uniqueId)
Fetches the message
|
MailMessage |
fetchMessage(String uniqueId,
int fetchTimeout)
Deprecated.
|
boolean |
getAutoCommit()
Indicates, whether commit operation are executed automatically
when folder is changed or before connection is closed.
|
ImapFolderInfo |
getCurrentFolder()
Gets the current folder
|
static String |
getDefaultFolder()
Default folder for ImapClients
|
int |
getDefaultPort()
Gets default port for client
|
ImapFolderInfo |
getFolderInfo(IConnection iConnection,
String folderName)
Returns information about the specified folder without selecting it
|
ImapFolderInfo |
getFolderInfo(String folderName)
Returns information about the specified folder without selecting it
|
boolean |
getUseSingleConnection()
Deprecated.
|
ImapFolderInfo |
listFolder(String folderName)
Deprecated.
|
ImapFolderInfoCollection |
listFolders()
Gets the list of folders in the mailbox
|
ImapFolderInfoCollection |
listFolders(boolean loadFullInfo)
Gets the list of folders in the mailbox
|
ImapFolderInfoCollection |
listFolders(IConnection iConnection)
Gets the list of folders in the mailbox
|
ImapFolderInfoCollection |
listFolders(IConnection iConnection,
boolean loadFullInfo)
Gets the list of folders in the mailbox
|
ImapFolderInfoCollection |
listFolders(IConnection iConnection,
String parentFolder)
Gets the list of subfolders in the specified folder
|
ImapFolderInfoCollection |
listFolders(IConnection iConnection,
String parentFolder,
boolean loadFullInfo)
Gets the list of subfolders in the specified folder
|
ImapFolderInfoCollection |
listFolders(String parentFolder)
Gets the list of subfolders in the specified folder
|
ImapFolderInfoCollection |
listFolders(String parentFolder,
boolean loadFullInfo)
Gets the list of subfolders in the specified folder
|
ImapMessageInfo |
listMessage(IConnection iConnection,
int sequenceNumber)
Gets information about a message.
|
ImapMessageInfo |
listMessage(IConnection iConnection,
String uniqueId)
Gets information about a message.
|
ImapMessageInfo |
listMessage(int sequenceNumber)
Gets information about a message.
|
ImapMessageInfo |
listMessage(String uniqueId)
Gets information about a message.
|
ImapMessageInfoCollection |
listMessages()
Gets the list of messages in the current folder
|
ImapMessageInfoCollection |
listMessages(boolean retrieveRecursively)
Gets the list of messages in the current folder
|
ImapMessageInfoCollection |
listMessages(IConnection iConnection)
Gets the list of messages in the current folder
|
ImapMessageInfoCollection |
listMessages(IConnection iConnection,
boolean retrieveRecursively)
Gets the list of messages in the current folder
|
ImapMessageInfoCollection |
listMessages(IConnection iConnection,
int maxNumberOfMessages)
Gets the list of messages in the current folder.
|
ImapMessageInfoCollection |
listMessages(IConnection iConnection,
MailQuery query)
Gets the list of messages in the current folder.
|
ImapMessageInfoCollection |
listMessages(IConnection iConnection,
MailQuery query,
int maxNumberOfMessages)
Gets the list of messages in the current folder.
|
ImapMessageInfoCollection |
listMessages(IConnection iConnection,
String folderName)
Gets the list of messages in the specified folder
|
ImapMessageInfoCollection |
listMessages(IConnection iConnection,
String folderName,
boolean retrieveRecursively)
Gets the list of messages in the specified folder
|
ImapMessageInfoCollection |
listMessages(IConnection iConnection,
String folderName,
MailQuery query,
int maxNumberOfMessages)
Gets the list of messages in the current folder.
|
ImapMessageInfoCollection |
listMessages(int maxNumberOfMessages)
Gets the list of messages in the current folder.
|
ImapMessageInfoCollection |
listMessages(MailQuery query)
Gets the list of messages in the current folder.
|
ImapMessageInfoCollection |
listMessages(MailQuery query,
int maxNumberOfMessages)
Gets the list of messages in the current folder.
|
ImapMessageInfoCollection |
listMessages(String folderName)
Gets the list of messages in the specified folder
|
ImapMessageInfoCollection |
listMessages(String folderName,
boolean retrieveRecursively)
Gets the list of messages in the specified folder
|
ImapMessageInfoCollection |
listMessages(String folderName,
MailQuery query,
int maxNumberOfMessages)
Gets the list of messages in the current folder.
|
void |
noop()
'No operation' command
|
void |
noop(IConnection iConnection)
'No operation' command
|
boolean |
parseQuery(ImapMessageInfo messageInfo,
MailQuery query)
Parses the query.
|
void |
removeMessageFlags(IConnection iConnection,
int sequenceNumber,
ImapMessageFlags flags)
Removes the flags of the message
|
void |
removeMessageFlags(IConnection iConnection,
String uniqueId,
ImapMessageFlags flags)
Removes the flags of the message
|
void |
removeMessageFlags(int sequenceNumber,
ImapMessageFlags flags)
Removes the flags of the message
|
void |
removeMessageFlags(String uniqueId,
ImapMessageFlags flags)
Removes the flags of the message
|
void |
renameFolder(IConnection iConnection,
String folderName,
String newFolderName)
Renames a specified folder to a new name
|
void |
renameFolder(String folderName,
String newFolderName)
Renames a specified folder to a new name
|
void |
requestCheckpoint()
Requests a checkpoint of the currently selected mailbox.
|
void |
requestCheckpoint(IConnection iConnection)
Requests a checkpoint of the currently selected mailbox.
|
void |
restore(IConnection iConnection,
InputStream stream,
ImapFolderInfoCollection folders,
int options)
Restores the specified imap folders from the given stream.
|
void |
restore(IConnection iConnection,
InputStream stream,
int options)
Restores imap folders from the given stream.
|
void |
restore(IConnection iConnection,
PersonalStorage pst,
ImapFolderInfoCollection folders,
int options)
Restores the specified imap folders from the given personal storage.
|
void |
restore(IConnection iConnection,
PersonalStorage pst,
int options)
Restores imap folders from the given personal storage.
|
void |
restore(IConnection iConnection,
String fileName,
ImapFolderInfoCollection folders,
int options)
Restores the specified imap folders from the specified personal storage file.
|
void |
restore(IConnection iConnection,
String fileName,
int options)
Restores imap folders from the specified personal storage file.
|
void |
restore(InputStream stream,
ImapFolderInfoCollection folders,
int options)
Restores the specified imap folders from the given stream.
|
void |
restore(InputStream stream,
int options)
Restores imap folders from the given stream.
|
void |
restore(PersonalStorage pst,
ImapFolderInfoCollection folders,
int options)
Restores the specified imap folders from the given personal storage.
|
void |
restore(PersonalStorage pst,
int options)
Restores imap folders from the given personal storage.
|
void |
restore(String fileName,
ImapFolderInfoCollection folders,
int options)
Restores the specified imap folders from the specified personal storage file.
|
void |
restore(String fileName,
int options)
Restores imap folders from the specified personal storage file.
|
void |
saveMessage(IConnection iConnection,
int sequenceNumber,
OutputStream resultStream)
Downloads the message with the specified sequence number and writes its data into a supplied stream
|
void |
saveMessage(IConnection iConnection,
int sequenceNumber,
String fileName)
Downloads the message with the specified sequence number and writes its data into a local file
|
void |
saveMessage(IConnection iConnection,
String uniqueId,
OutputStream resultStream)
Downloads the message with the specified sequence number
and writes its data into a supplied stream
|
void |
saveMessage(IConnection iConnection,
String uniqueId,
String fileName)
Downloads the message with the specified sequence number
and writes its data into a local file
|
void |
saveMessage(int sequenceNumber,
OutputStream resultStream)
Downloads the message with the specified sequence number and writes its data into a supplied stream
|
void |
saveMessage(int sequenceNumber,
String fileName)
Downloads the message with the specified sequence number and writes its data into a local file
|
void |
saveMessage(String uniqueId,
OutputStream resultStream)
Downloads the message with the specified sequence number
and writes its data into a supplied stream
|
void |
saveMessage(String uniqueId,
String fileName)
Downloads the message with the specified sequence number
and writes its data into a local file
|
void |
selectFolder(IConnection iConnection,
String folderName)
Selects the specified folder
|
void |
selectFolder(IConnection iConnection,
String folderName,
boolean readOnly)
Selects the specified folder
|
void |
selectFolder(String folderName)
Selects the specified folder
|
void |
selectFolder(String folderName,
boolean readOnly)
Selects the specified folder
|
ImapResponse |
sendCustomCommand(IConnection iConnection,
String customCommand)
Send the specified custom command to the server.
|
ImapResponse |
sendCustomCommand(IConnection iConnection,
String nextCommandPart,
String commandId)
Send the specified custom command to the server.
|
ImapResponse |
sendCustomCommand(String customCommand)
Send the specified custom command to the server.
|
ImapResponse |
sendCustomCommand(String nextCommandPart,
String commandId)
Send the specified custom command to the server.
|
void |
setAutoCommit(boolean value)
Indicates, whether commit operation are executed automatically
when folder is changed or before connection is closed.
|
void |
setCurrentFolder(ImapFolderInfo value)
Gets the current folder
|
static void |
setDefaultFolder(String value)
Default folder for ImapClients
|
void |
setUseSingleConnection(boolean value)
Deprecated.
|
void |
startMonitoring(ImapMonitoringEventHandler callback)
Starts monitoring of message changes for Inbox folder
|
void |
startMonitoring(String folderName,
ImapMonitoringEventHandler callback)
Starts monitoring of message changes for specified folder
|
void |
stopMonitoring()
Stops any monitoring of changes.
|
void |
stopMonitoring(String folderName)
Stops monitoring of message changes for specified folder.
|
void |
subscribeFolder(IConnection iConnection,
String folderName)
Sent the SUBSCRIBE command that adds the specified mailbox name to the server's set of "active" mailboxes.
|
void |
subscribeFolder(String folderName)
Sent the SUBSCRIBE command that adds the specified mailbox name to the server's set of "active" mailboxes.
|
void |
undeleteMessage(IConnection iConnection,
int sequenceNumber)
Marks a message with the specified sequence number as not deleted
|
void |
undeleteMessage(IConnection iConnection,
String uniqueId)
Marks a message with the specified sequence number as not deleted.
|
void |
undeleteMessage(int sequenceNumber)
Marks a message with the specified sequence number as not deleted
|
void |
undeleteMessage(String uniqueId)
Marks a message with the specified sequence number as not deleted.
|
void |
unselectFolder()
Permanently removes all messages marked as deleted for currently selected folder
and removes selected-state for this folder.
|
void |
unselectFolder(IConnection iConnection)
Permanently removes all messages marked as deleted for currently selected folder
and removes selected-state for this folder.
|
void |
unsubscribeFolder(IConnection iConnection,
String folderName)
Sent the UNSUBSCRIBE command that removes the specified mailbox name from the server's set of "active" mailboxes
|
void |
unsubscribeFolder(String folderName)
Sent the UNSUBSCRIBE command that removes the specified mailbox name from the server's set of "active" mailboxes
|
cancelAsyncOperation, cancelAsyncOperations, createConnection, disconnect, 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 ImapClient()
Initializes a new instance of the ImapClient
class
public ImapClient(String host)
Initializes a new instance of the ImapClient
class
host
- The host namepublic ImapClient(String host, short securityOptions)
Initializes a new instance of the ImapClient
class
host
- The host namesecurityOptions
- Security mode for a mail clientpublic ImapClient(String host, int port)
Initializes a new instance of the ImapClient
class
host
- The host nameport
- The port numberpublic ImapClient(String host, int port, int securityOptions)
Initializes a new instance of the ImapClient
class
host
- The host nameport
- The port numbersecurityOptions
- Security mode for a mail clientpublic ImapClient(String host, String username, String password)
Initializes a new instance of the ImapClient
class
host
- The host nameusername
- The user namepassword
- The passwordpublic ImapClient(String host, String username, String password, int securityOptions)
Initializes a new instance of the ImapClient
class
host
- The host nameusername
- The user namepassword
- The passwordsecurityOptions
- Security mode for a mail clientpublic ImapClient(String host, int port, String username, String password)
Initializes a new instance of the ImapClient
class
host
- The host nameport
- The port numberusername
- The user namepassword
- The passwordpublic ImapClient(String host, int port, String username, String password, int securityOptions)
Initializes a new instance of the ImapClient
class
host
- The host nameport
- The port numberusername
- The user namepassword
- The passwordsecurityOptions
- Security mode for a mail clientpublic ImapClient(String host, int port, String username, String password, com.aspose.ms.System.Net.Security.RemoteCertificateValidationCallback userCertificateValidationCallback)
Initializes a new instance of the ImapClient
class
host
- The host nameport
- The portnumberusername
- The user namepassword
- The passworduserCertificateValidationCallback
- System.Net.Security.RemoteCertificateValidationCallbackpublic ImapClient(String host, int port, String username, String password, com.aspose.ms.System.Net.Security.RemoteCertificateValidationCallback userCertificateValidationCallback, int securityOptions)
Initializes a new instance of the ImapClient
class
host
- The host nameport
- The portnumberusername
- The user namepassword
- The passworduserCertificateValidationCallback
- System.Net.Security.RemoteCertificateValidationCallbacksecurityOptions
- Security mode for a mail clientpublic ImapClient(String host, String username, String authInfo, boolean useOAuth)
Initializes a new instance of the ImapClient
class
host
- The host nameusername
- The user nameauthInfo
- The user password or XOAUTH2 access tokenuseOAuth
- Defines whether SASL XOAUTH2 mechanism is used to login to the serverpublic ImapClient(String host, String username, String authInfo, boolean useOAuth, int securityOptions)
Initializes a new instance of the ImapClient
class
host
- The host nameusername
- 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 ImapClient(String host, int port, String username, String authInfo, boolean useOAuth)
Initializes a new instance of the ImapClient
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 serverpublic ImapClient(String host, int port, String username, String authInfo, boolean useOAuth, int securityOptions)
Initializes a new instance of the ImapClient
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 ImapClient(String host, String username, ITokenProvider tokenProvider)
Initializes a new instance of the ImapClient
class
host
- The host nameusername
- The user nametokenProvider
- TokenProvider allowing to retrieve access token.public ImapClient(String host, String username, ITokenProvider tokenProvider, int securityOptions)
Initializes a new instance of the ImapClient
class
host
- The host nameusername
- The user nametokenProvider
- TokenProvider allowing to retrieve access token.securityOptions
- Security mode for a mail clientpublic ImapClient(String host, int port, String username, ITokenProvider tokenProvider)
Initializes a new instance of the ImapClient
class
host
- The host nameport
- The port numberusername
- The user nametokenProvider
- TokenProvider allowing to retrieve access token.public ImapClient(String host, int port, String username, ITokenProvider tokenProvider, int securityOptions)
Initializes a new instance of the ImapClient
class
host
- The host nameport
- The port numberusername
- The user nametokenProvider
- TokenProvider allowing to retrieve access token.securityOptions
- Security mode for a mail clientpublic boolean getAutoCommit()
Indicates, whether commit operation are executed automatically when folder is changed or before connection is closed.
public void setAutoCommit(boolean value)
Indicates, whether commit operation are executed automatically when folder is changed or before connection is closed.
@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 static String getDefaultFolder()
Default folder for ImapClients
public static void setDefaultFolder(String value)
Default folder for ImapClients
public ImapFolderInfo getCurrentFolder()
Gets the current folder
Value: ImapFolderInfo that represents current folderpublic void setCurrentFolder(ImapFolderInfo value)
Gets the current folder
Value: ImapFolderInfo that represents current folderpublic void dispose()
Finalizes all operations with a server.
dispose
in interface com.aspose.ms.System.IDisposable
dispose
in class CredentialsByHostClient
public com.aspose.ms.System.IAsyncResult beginAddMessageFlags(IConnection iConnection, int sequenceNumber, ImapMessageFlags flags)
Adds the flags to the message asynchronously
iConnection
- Connection to a serversequenceNumber
- The sequence number of messageflags
- The flags to be addedSystem.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginAddMessageFlags(IConnection iConnection, int sequenceNumber, ImapMessageFlags flags, com.aspose.ms.System.AsyncCallback callback)
Adds the flags to the message asynchronously
iConnection
- Connection to a serversequenceNumber
- The sequence number of messageflags
- The flags to be addedcallback
- 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 beginAddMessageFlags(IConnection iConnection, int sequenceNumber, ImapMessageFlags flags, com.aspose.ms.System.AsyncCallback callback, Object state)
Adds the flags to the message asynchronously
iConnection
- Connection to a serversequenceNumber
- The sequence number of messageflags
- The flags to be addedcallback
- 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 beginAddMessageFlags(IConnection iConnection, String uniqueId, ImapMessageFlags flags)
Adds the flags to the message asynchronously
iConnection
- Connection to a serveruniqueId
- Unique identifier of a messageflags
- The flags to be addedSystem.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginAddMessageFlags(IConnection iConnection, String uniqueId, ImapMessageFlags flags, com.aspose.ms.System.AsyncCallback callback)
Adds the flags to the message asynchronously
iConnection
- Connection to a serveruniqueId
- Unique identifier of a messageflags
- The flags to be addedcallback
- 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 beginAddMessageFlags(IConnection iConnection, String uniqueId, ImapMessageFlags flags, com.aspose.ms.System.AsyncCallback callback, Object state)
Adds the flags to the message asynchronously
iConnection
- Connection to a serveruniqueId
- Unique identifier of a messageflags
- The flags to be addedcallback
- 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 beginAddMessageFlags(int sequenceNumber, ImapMessageFlags flags)
Adds the flags to the message asynchronously
sequenceNumber
- The sequence number of messageflags
- The flags to be addedSystem.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginAddMessageFlags(int sequenceNumber, ImapMessageFlags flags, com.aspose.ms.System.AsyncCallback callback)
Adds the flags to the message asynchronously
sequenceNumber
- The sequence number of messageflags
- The flags to be addedcallback
- 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 beginAddMessageFlags(int sequenceNumber, ImapMessageFlags flags, com.aspose.ms.System.AsyncCallback callback, Object state)
Adds the flags to the message asynchronously
sequenceNumber
- The sequence number of messageflags
- The flags to be addedcallback
- 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 beginAddMessageFlags(String uniqueId, ImapMessageFlags flags)
Adds the flags to the message asynchronously
uniqueId
- Unique identifier of a messageflags
- The flags to be addedSystem.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginAddMessageFlags(String uniqueId, ImapMessageFlags flags, com.aspose.ms.System.AsyncCallback callback)
Adds the flags to the message asynchronously
uniqueId
- Unique identifier of a messageflags
- The flags to be addedcallback
- 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 beginAddMessageFlags(String uniqueId, ImapMessageFlags flags, com.aspose.ms.System.AsyncCallback callback, Object state)
Adds the flags to the message asynchronously
uniqueId
- Unique identifier of a messageflags
- The flags to be addedcallback
- 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 endAddMessageFlags(com.aspose.ms.System.IAsyncResult asyncResult)
Waits for the pending asynchronous operation to complete.
asyncResult
- The reference to the pending asynchronous request to wait for.public void addMessageFlags(IConnection iConnection, int sequenceNumber, ImapMessageFlags flags)
Adds the flags to the message
iConnection
- Connection to a serversequenceNumber
- The sequence number of the messageflags
- The flags to be addedpublic void addMessageFlags(IConnection iConnection, String uniqueId, ImapMessageFlags flags)
Adds the flags to the message
iConnection
- Connection to a serveruniqueId
- Unique identifier of a messageflags
- The flags to be addedpublic void addMessageFlags(int sequenceNumber, ImapMessageFlags flags)
Adds the flags to the message
sequenceNumber
- The sequence number of the messageflags
- The flags to be addedpublic void addMessageFlags(String uniqueId, ImapMessageFlags flags)
Adds the flags to the message
uniqueId
- Unique identifier of a messageflags
- The flags to be addedpublic com.aspose.ms.System.IAsyncResult beginAppendMessage(IConnection iConnection, String fileName)
Begins append message to the end of the current folder If current folder hasn't been specified default folder is used.
iConnection
- Connection to a serverfileName
- File name (*.eml) of the mail message that will be uploadedSystem.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginAppendMessage(IConnection iConnection, String folderName, String fileName)
Begins append message to the end of the specified folder
iConnection
- Connection to a serverfolderName
- Folder that will receive the mail messagefileName
- File name (*.eml) of the mail message that will be uploadedSystem.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginAppendMessage(IConnection iConnection, String folderName, String fileName, com.aspose.ms.System.AsyncCallback callback)
Begins append message to the end of the specified folder
iConnection
- Connection to a serverfolderName
- Folder that will receive the mail messagefileName
- File name (*.eml) of the mail message that will be uploadedcallback
- 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 beginAppendMessage(IConnection iConnection, String folderName, String fileName, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins append message to the end of the specified folder
iConnection
- Connection to a serverfolderName
- Folder that will receive the mail messagefileName
- File name (*.eml) of the mail message that will be uploadedcallback
- 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 beginAppendMessage(IConnection iConnection, MailMessage message)
Begins append message to the end of the specified folder If current folder hasn't been specified default folder is used.
iConnection
- Connection to a servermessage
- Mail message to be uploadSystem.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginAppendMessage(IConnection iConnection, String folderName, MailMessage message)
Begins append message to the end of the specified folder
iConnection
- Connection to a serverfolderName
- Folder that will receive the mail messagemessage
- Mail message to be uploadSystem.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginAppendMessage(IConnection iConnection, String folderName, MailMessage message, com.aspose.ms.System.AsyncCallback callback)
Begins append message to the end of the specified folder
iConnection
- Connection to a serverfolderName
- Folder that will receive the mail messagemessage
- Mail message to be uploadcallback
- 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 beginAppendMessage(IConnection iConnection, String folderName, MailMessage message, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins append message to the end of the specified folder
iConnection
- Connection to a serverfolderName
- Folder that will receive the mail messagemessage
- Mail message to be uploadcallback
- 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 beginAppendMessage(String fileName)
Begins append message to the end of the current folder If current folder hasn't been specified default folder is used.
fileName
- File name (*.eml) of the mail message that will be uploadedSystem.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginAppendMessage(String folderName, String fileName)
Begins append message to the end of the specified folder
folderName
- Folder that will receive the mail messagefileName
- File name (*.eml) of the mail message that will be uploadedSystem.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginAppendMessage(String folderName, String fileName, com.aspose.ms.System.AsyncCallback callback)
Begins append message to the end of the specified folder
folderName
- Folder that will receive the mail messagefileName
- File name (*.eml) of the mail message that will be uploadedcallback
- 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 beginAppendMessage(String folderName, String fileName, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins append message to the end of the specified folder
folderName
- Folder that will receive the mail messagefileName
- File name (*.eml) of the mail message that will be uploadedcallback
- 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 beginAppendMessage(MailMessage message)
Begins append message to the end of the specified folder If current folder hasn't been specified default folder is used.
message
- Mail message to be uploadSystem.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginAppendMessage(String folderName, MailMessage message)
Begins append message to the end of the specified folder
folderName
- Folder that will receive the mail messagemessage
- Mail message to be uploadSystem.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginAppendMessage(String folderName, MailMessage message, com.aspose.ms.System.AsyncCallback callback)
Begins append message to the end of the specified folder
folderName
- Folder that will receive the mail messagemessage
- Mail message to be uploadcallback
- 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 beginAppendMessage(String folderName, MailMessage message, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins append message to the end of the specified folder
folderName
- Folder that will receive the mail messagemessage
- Mail message to be uploadcallback
- 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 endAppendMessage(com.aspose.ms.System.IAsyncResult asyncResult)
Waits for the pending asynchronous operation to complete.
asyncResult
- The reference to the pending asynchronous request to wait for.public String appendMessage(IConnection iConnection, MailMessage message)
Uploads the mail message to the current folder If current folder hasn't been specified default folder is used.
iConnection
- Connection to a servermessage
- Mail message to be uploadpublic String appendMessage(IConnection iConnection, String folderName, MailMessage message)
Uploads the mail message to the specified folder
iConnection
- Connection to a serverfolderName
- Folder that will receive the mail messagemessage
- Mail message to be uploadpublic String appendMessage(IConnection iConnection, String fileName)
Uploads the mail message to the current folder If current folder hasn't been specified default folder is used.
iConnection
- Connection to a serverfileName
- File name (*.eml) of the mail message that will be uploadedpublic String appendMessage(IConnection iConnection, String folderName, String fileName)
Uploads the mail message to the specified folder
iConnection
- Connection to a serverfolderName
- Folder that will receive the mail messagefileName
- File name (*.eml) of the mail message that will be uploadedpublic String appendMessage(MailMessage message)
Uploads the mail message to the current folder If current folder hasn't been specified default folder is used.
message
- Mail message to be uploadpublic String appendMessage(String folderName, MailMessage message)
Uploads the mail message to the specified folder
folderName
- Folder that will receive the mail messagemessage
- Mail message to be uploadpublic String appendMessage(String fileName)
Uploads the mail message to the current folder If current folder hasn't been specified default folder is used.
fileName
- File name (*.eml) of the mail message that will be uploadedpublic String appendMessage(String folderName, String fileName)
Uploads the mail message to the specified folder
folderName
- Folder that will receive the mail messagefileName
- File name (*.eml) of the mail message that will be uploadedpublic com.aspose.ms.System.IAsyncResult beginRestore(IConnection iConnection, ImapFolderInfoCollection folders, String fileName, int options)
Begins to backup the content of the specified folders
iConnection
- Connection to a serverfolders
- A folders to backupfileName
- A path to the presonal storage fileoptions
- A backup optionsSystem.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginRestore(IConnection iConnection, ImapFolderInfoCollection folders, String fileName, int options, com.aspose.ms.System.AsyncCallback callback)
Begins to backup the content of the specified folders
iConnection
- Connection to a serverfolders
- A folders to backupfileName
- A path to the presonal storage fileoptions
- A backup optionscallback
- 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 beginRestore(IConnection iConnection, ImapFolderInfoCollection folders, String fileName, int options, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins to backup the content of the specified folders
iConnection
- Connection to a serverfolders
- A folders to backupfileName
- A path to the presonal storage fileoptions
- A backup optionscallback
- 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 beginRestore(IConnection iConnection, ImapFolderInfoCollection folders, InputStream stream, int options)
Begins to backup the content of the specified folders
iConnection
- Connection to a serverfolders
- A folders to backupstream
- A stream to write intooptions
- A backup optionsSystem.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginRestore(IConnection iConnection, ImapFolderInfoCollection folders, InputStream stream, int options, com.aspose.ms.System.AsyncCallback callback)
Begins to backup the content of the specified folders
iConnection
- Connection to a serverfolders
- A folders to backupstream
- A stream to write intooptions
- A backup optionscallback
- 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 beginRestore(IConnection iConnection, ImapFolderInfoCollection folders, InputStream stream, int options, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins to backup the content of the specified folders
iConnection
- Connection to a serverfolders
- A folders to backupstream
- A stream to write intooptions
- A backup optionscallback
- 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 beginRestore(ImapFolderInfoCollection folders, String fileName, int options)
Begins to backup the content of the specified folders
folders
- A folders to backupfileName
- A path to the presonal storage fileoptions
- A backup optionsSystem.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginRestore(ImapFolderInfoCollection folders, String fileName, int options, com.aspose.ms.System.AsyncCallback callback)
Begins to backup the content of the specified folders
folders
- A folders to backupfileName
- A path to the presonal storage fileoptions
- A backup optionscallback
- 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 beginRestore(ImapFolderInfoCollection folders, String fileName, int options, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins to backup the content of the specified folders
folders
- A folders to backupfileName
- A path to the presonal storage fileoptions
- A backup optionscallback
- 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 beginRestore(ImapFolderInfoCollection folders, InputStream stream, int options)
Begins to backup the content of the specified folders
folders
- A folders to backupstream
- A stream to write intooptions
- A backup optionsSystem.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginRestore(ImapFolderInfoCollection folders, InputStream stream, int options, com.aspose.ms.System.AsyncCallback callback)
Begins to backup the content of the specified folders
folders
- A folders to backupstream
- A stream to write intooptions
- A backup optionscallback
- 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 beginRestore(ImapFolderInfoCollection folders, InputStream stream, int options, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins to backup the content of the specified folders
folders
- A folders to backupstream
- A stream to write intooptions
- A backup optionscallback
- 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 endBackup(com.aspose.ms.System.IAsyncResult asyncResult)
Waits for the pending asynchronous operation to complete.
asyncResult
- The reference to the pending asynchronous request to wait for.public void backup(IConnection iConnection, ImapFolderInfoCollection folders, String fileName, int options)
Backups the content of the specified folders
iConnection
- Connection to a serverfolders
- A folders to backupfileName
- A path to the presonal storage fileoptions
- A backup optionspublic void backup(IConnection iConnection, ImapFolderInfoCollection folders, OutputStream stream, int options)
Backups the content of the specified folders
iConnection
- Connection to a serverfolders
- A folders to backupstream
- A stream to write intooptions
- A backup optionspublic void backup(ImapFolderInfoCollection folders, String fileName, int options)
Backups the content of the specified folders
folders
- A folders to backupfileName
- A path to the presonal storage fileoptions
- A backup optionspublic void backup(ImapFolderInfoCollection folders, OutputStream stream, int options)
Backups the content of the specified folders
folders
- A folders to backupstream
- A stream to write intooptions
- A backup optionspublic com.aspose.ms.System.IAsyncResult beginChangeMessageFlags(IConnection iConnection, String uniqueId, ImapMessageFlags flags)
Changes the flags of the message
iConnection
- Connection to a serveruniqueId
- Unique identifier of a messageflags
- Flag valueSystem.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginChangeMessageFlags(IConnection iConnection, String uniqueId, ImapMessageFlags flags, com.aspose.ms.System.AsyncCallback callback)
Changes the flags of the message
iConnection
- Connection to a serveruniqueId
- Unique identifier of a messageflags
- Flag valuecallback
- 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 beginChangeMessageFlags(IConnection iConnection, String uniqueId, ImapMessageFlags flags, com.aspose.ms.System.AsyncCallback callback, Object state)
Changes the flags of the message
iConnection
- Connection to a serveruniqueId
- Unique identifier of a messageflags
- Flag valuecallback
- 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 beginChangeMessageFlags(IConnection iConnection, int sequenceNumber, ImapMessageFlags flags)
Changes the flags of the message
iConnection
- Connection to a serversequenceNumber
- Sequence number of a messageflags
- Flag valueSystem.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginChangeMessageFlags(IConnection iConnection, int sequenceNumber, ImapMessageFlags flags, com.aspose.ms.System.AsyncCallback callback)
Changes the flags of the message
iConnection
- Connection to a serversequenceNumber
- Sequence number of a messageflags
- Flag valuecallback
- 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 beginChangeMessageFlags(IConnection iConnection, int sequenceNumber, ImapMessageFlags flags, com.aspose.ms.System.AsyncCallback callback, Object state)
Changes the flags of the message
iConnection
- Connection to a serversequenceNumber
- Sequence number of a messageflags
- Flag valuecallback
- 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 beginChangeMessageFlags(String uniqueId, ImapMessageFlags flags)
Changes the flags of the message
uniqueId
- Unique identifier of a messageflags
- Flag valueSystem.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginChangeMessageFlags(String uniqueId, ImapMessageFlags flags, com.aspose.ms.System.AsyncCallback callback)
Changes the flags of the message
uniqueId
- Unique identifier of a messageflags
- Flag valuecallback
- 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 beginChangeMessageFlags(String uniqueId, ImapMessageFlags flags, com.aspose.ms.System.AsyncCallback callback, Object state)
Changes the flags of the message
uniqueId
- Unique identifier of a messageflags
- Flag valuecallback
- 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 beginChangeMessageFlags(int sequenceNumber, ImapMessageFlags flags)
Changes the flags of the message
sequenceNumber
- Sequence number of a messageflags
- Flag valueSystem.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginChangeMessageFlags(int sequenceNumber, ImapMessageFlags flags, com.aspose.ms.System.AsyncCallback callback)
Changes the flags of the message
sequenceNumber
- Sequence number of a messageflags
- Flag valuecallback
- 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 beginChangeMessageFlags(int sequenceNumber, ImapMessageFlags flags, com.aspose.ms.System.AsyncCallback callback, Object state)
Changes the flags of the message
sequenceNumber
- Sequence number of a messageflags
- Flag valuecallback
- 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 endChangeMessageFlags(com.aspose.ms.System.IAsyncResult asyncResult)
Waits for the pending asynchronous operation to complete.
asyncResult
- The reference to the pending asynchronous request to wait for.public void changeMessageFlags(String uniqueId, ImapMessageFlags flags)
Changes the flags of the message
uniqueId
- The uid of the messageflags
- The flags to be changedpublic void changeMessageFlags(int sequenceNumber, ImapMessageFlags flags)
Changes the flags of the message
sequenceNumber
- The sequence number of the messageflags
- The flags to be removedpublic void changeMessageFlags(IConnection iConnection, String uniqueId, ImapMessageFlags flags)
Changes the flags of the message
iConnection
- Connection to a serveruniqueId
- The uid of the messageflags
- The flags to be changedpublic void changeMessageFlags(IConnection iConnection, int sequenceNumber, ImapMessageFlags flags)
Changes the flags of the message
iConnection
- Connection to a serversequenceNumber
- The sequence number of the messageflags
- The flags to be removedpublic com.aspose.ms.System.IAsyncResult beginCommitDeletes(IConnection iConnection, int sleep)
Begins to commit the deletions
iConnection
- Connection to a serversleep
- Wait time complete the operation in millisecondsSystem.IAsyncResult
that represents the status of an asynchronous operation.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(IConnection iConnection, int sleep, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins to commit the deletions
iConnection
- Connection to a serversleep
- Wait time complete the operation in millisecondscallback
- 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(int sleep)
Begins to commit the deletions
sleep
- Wait time complete the operation in millisecondsSystem.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 com.aspose.ms.System.IAsyncResult beginCommitDeletes(int sleep, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins to commit the deletions
sleep
- Wait time complete the operation in millisecondscallback
- 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 pending asynchronous operation to complete.
asyncResult
- The reference to the pending asynchronous request to wait for.public void commitDeletes(IConnection iConnection)
Commit the deletions
iConnection
- Connection to a serverpublic void commitDeletes(IConnection iConnection, int sleep)
Commit the deletions
iConnection
- Connection to a serversleep
- Wait time complete the operation in millisecondspublic void commitDeletes()
Commit the deletions
public void commitDeletes(int sleep)
Commit the deletions
sleep
- Wait time complete the operation in milliseconds@Deprecated public com.aspose.ms.System.IAsyncResult beginCopyMessage(String parentFolder, String uniqueId, String folderName)
Begins an asynchronous copying.
parentFolder
- Message locationuniqueId
- The unique Id of the messagefolderName
- Name of the folder.System.IAsyncResult
that represents the status of an asynchronous operation.@Deprecated public com.aspose.ms.System.IAsyncResult beginCopyMessage(String parentFolder, String uniqueId, String folderName, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins an asynchronous copying.
parentFolder
- Message locationuniqueId
- The unique Id of the messagefolderName
- Name of the folder.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 beginCopyMessage(IConnection iConnection, String uniqueId, String folderName)
Begins an asynchronous copying.
iConnection
- Connection to a serveruniqueId
- The unique Id of the messagefolderName
- Name of the folder.System.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginCopyMessage(IConnection iConnection, String uniqueId, String folderName, com.aspose.ms.System.AsyncCallback callback)
Begins an asynchronous copying.
iConnection
- Connection to a serveruniqueId
- The unique Id of the messagefolderName
- Name of the folder.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 beginCopyMessage(IConnection iConnection, String uniqueId, String folderName, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins an asynchronous copying.
iConnection
- Connection to a serveruniqueId
- The unique Id of the messagefolderName
- Name of the folder.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 beginCopyMessage(IConnection iConnection, int sequenceNumber, String folderName)
Begins an asynchronous copying.
iConnection
- Connection to a serversequenceNumber
- The sequence number of messagefolderName
- Name of the folder.System.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginCopyMessage(IConnection iConnection, int sequenceNumber, String folderName, com.aspose.ms.System.AsyncCallback callback)
Begins an asynchronous copying.
iConnection
- Connection to a serversequenceNumber
- The sequence number of messagefolderName
- Name of the folder.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 beginCopyMessage(IConnection iConnection, int sequenceNumber, String folderName, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins an asynchronous copying.
iConnection
- Connection to a serversequenceNumber
- The sequence number of messagefolderName
- Name of the folder.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 beginCopyMessage(String uniqueId, String folderName)
Begins an asynchronous copying.
uniqueId
- The unique Id of the messagefolderName
- Name of the folder.System.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginCopyMessage(String uniqueId, String folderName, com.aspose.ms.System.AsyncCallback callback)
Begins an asynchronous copying.
uniqueId
- The unique Id of the messagefolderName
- Name of the folder.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 beginCopyMessage(String uniqueId, String folderName, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins an asynchronous copying.
uniqueId
- The unique Id of the messagefolderName
- Name of the folder.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 beginCopyMessage(int sequenceNumber, String folderName)
Begins an asynchronous copying.
sequenceNumber
- The sequence number of messagefolderName
- Name of the folder.System.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginCopyMessage(int sequenceNumber, String folderName, com.aspose.ms.System.AsyncCallback callback)
Begins an asynchronous copying.
sequenceNumber
- The sequence number of messagefolderName
- Name of the folder.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 beginCopyMessage(int sequenceNumber, String folderName, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins an asynchronous copying.
sequenceNumber
- The sequence number of messagefolderName
- Name of the folder.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 endCopyMessage(com.aspose.ms.System.IAsyncResult asyncResult)
Waits for the pending asynchronous operation to complete.
asyncResult
- The reference to the pending asynchronous request to wait for.public void copyMessage(IConnection iConnection, int sequenceNumber, String folderName)
Copies the message
iConnection
- Connection to a serversequenceNumber
- The sequence number of the messagefolderName
- Folder name where a message is to be copiedpublic void copyMessage(IConnection iConnection, String uniqueId, String folderName)
Copies the message
iConnection
- Connection to a serveruniqueId
- The uid of the messagefolderName
- Folder name where a message is to be copiedpublic void copyMessage(int sequenceNumber, String folderName)
Copies the message
sequenceNumber
- The sequence number of the messagefolderName
- Folder name where a message is to be copiedpublic void copyMessage(String uniqueId, String folderName)
Copies the message
uniqueId
- The uid of the messagefolderName
- Folder name where a message is to be copied@Deprecated public com.aspose.ms.System.IAsyncResult beginCreateFolder(String parentFolder, String folderName)
Begins an asynchronous folder creation.
parentFolder
- folderName
- Name of the folder.System.IAsyncResult
that represents the status of an asynchronous operation.@Deprecated public com.aspose.ms.System.IAsyncResult beginCreateFolder(String parentFolder, String folderName, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins an asynchronous folder creation.
parentFolder
- Name of the parent folder.folderName
- Name of the folder.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 beginCreateFolder(IConnection iConnection, String folderName)
Begins an asynchronous folder creation.
iConnection
- Connection to a serverfolderName
- Name of the folder.System.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginCreateFolder(IConnection iConnection, String folderName, com.aspose.ms.System.AsyncCallback callback)
Begins an asynchronous folder creation.
iConnection
- Connection to a serverfolderName
- Name of the folder.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 beginCreateFolder(IConnection iConnection, String folderName, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins an asynchronous folder creation.
iConnection
- Connection to a serverfolderName
- Name of the folder.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 beginCreateFolder(String folderName)
Begins an asynchronous folder creation.
folderName
- Name of the folder.System.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginCreateFolder(String folderName, com.aspose.ms.System.AsyncCallback callback)
Begins an asynchronous folder creation.
folderName
- Name of the folder.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 beginCreateFolder(String folderName, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins an asynchronous folder creation.
folderName
- Name of the folder.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 endCreateFolder(com.aspose.ms.System.IAsyncResult asyncResult)
Waits for the pending asynchronous folder creation to complete.
asyncResult
- The reference to the pending
asynchronous request to wait for.public void createFolder(IConnection iConnection, String folderName)
Creates a folder with the specified name
iConnection
- Connection to a serverfolderName
- Folder to be createdpublic void createFolder(String folderName)
Creates a folder with the specified name
folderName
- Folder to be created@Deprecated public com.aspose.ms.System.IAsyncResult beginDeleteFolder(String parentFolder, String folderName)
Begins an asynchronous folder deletion.
parentFolder
- Name of the parent folder.folderName
- Name of the folder.System.IAsyncResult
that represents the status of an asynchronous operation.@Deprecated public com.aspose.ms.System.IAsyncResult beginDeleteFolder(String parentFolder, String folderName, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins an asynchronous folder deletion.
parentFolder
- Name of the parent folder.folderName
- Name of the folder.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 beginDeleteFolder(IConnection iConnection, String folderName)
Begins an asynchronous folder deletion.
iConnection
- Connection to a serverfolderName
- Name of the folder.System.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginDeleteFolder(IConnection iConnection, String folderName, com.aspose.ms.System.AsyncCallback callback)
Begins an asynchronous folder deletion.
iConnection
- Connection to a serverfolderName
- Name of the folder.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 beginDeleteFolder(IConnection iConnection, String folderName, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins an asynchronous folder deletion.
iConnection
- Connection to a serverfolderName
- Name of the folder.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 beginDeleteFolder(String folderName)
Begins an asynchronous folder deletion.
folderName
- Name of the folder.System.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginDeleteFolder(String folderName, com.aspose.ms.System.AsyncCallback callback)
Begins an asynchronous folder deletion.
folderName
- Name of the folder.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 beginDeleteFolder(String folderName, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins an asynchronous folder deletion.
folderName
- Name of the folder.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 endDeleteFolder(com.aspose.ms.System.IAsyncResult asyncResult)
Waits for the pending asynchronous folder deletion to complete.
asyncResult
- The reference to the pending
asynchronous request to wait for.public void deleteFolder(IConnection iConnection, String folderName)
Deletes a specified folder. This method represents IMAP DELETE command
iConnection
- Connection to a serverfolderName
- Folder to be deletedpublic void deleteFolder(String folderName)
Deletes a specified folder. This method represents IMAP DELETE command
folderName
- Folder to be deleted@Deprecated public com.aspose.ms.System.IAsyncResult beginDeleteMessage(String parentFolder, String uniqueId)
Begins an asynchronous message deletion.
parentFolder
- Message locationuniqueId
- The uid of the messageSystem.IAsyncResult
that represents the status of an asynchronous operation.@Deprecated public com.aspose.ms.System.IAsyncResult beginDeleteMessage(String parentFolder, String uniqueId, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins an asynchronous message deletion.
parentFolder
- Message locationuniqueId
- The uid 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 an asynchronous message deletion.
iConnection
- Connection to a serveruniqueId
- The uid of the messageSystem.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 an asynchronous message deletion.
iConnection
- Connection to a serveruniqueId
- The uid 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 an asynchronous message deletion.
iConnection
- Connection to a serveruniqueId
- The uid 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, int sequenceNumber)
Marks a message with the specified sequence number as deleted asynchronously
iConnection
- Connection to a serversequenceNumber
- The sequence number of messageSystem.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)
Marks a message with the specified sequence number as deleted asynchronously
iConnection
- Connection to a serversequenceNumber
- The sequence number of 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)
Marks a message with the specified sequence number as deleted asynchronously
iConnection
- Connection to a serversequenceNumber
- The sequence number of 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 an asynchronous message deletion.
uniqueId
- The uid of the messageSystem.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 an asynchronous message deletion.
uniqueId
- The uid 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 an asynchronous message deletion.
uniqueId
- The uid 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)
Marks a message with the specified sequence number as deleted asynchronously
sequenceNumber
- The sequence number of messageSystem.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginDeleteMessage(int sequenceNumber, com.aspose.ms.System.AsyncCallback callback)
Marks a message with the specified sequence number as deleted asynchronously
sequenceNumber
- The sequence number of 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)
Marks a message with the specified sequence number as deleted asynchronously
sequenceNumber
- The sequence number of 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 pending asynchronous message deletion to complete.
asyncResult
- The reference to the pending asynchronous request to wait for.public void deleteMessage(IConnection iConnection, int sequenceNumber)
Marks a message with the specified sequence number as deleted
iConnection
- Connection to a serversequenceNumber
- Sequence number of a messagepublic void deleteMessage(IConnection iConnection, String uniqueId)
Marks a message with the specified sequence number as deleted
iConnection
- Connection to a serveruniqueId
- The uid of the messagepublic void deleteMessage(int sequenceNumber)
Marks a message with the specified sequence number as deleted
sequenceNumber
- Sequence number of a messagepublic void deleteMessage(String uniqueId)
Marks a message with the specified sequence number as deleted
uniqueId
- The uid of the messagepublic boolean endExistFolder(com.aspose.ms.System.IAsyncResult asyncResult)
Waits for the pending asynchronous operation to complete.
asyncResult
- The reference to the pending asynchronous request to wait for.public boolean endExistFolder(com.aspose.ms.System.IAsyncResult asyncResult, ImapFolderInfo[] folderInfo)
Waits for the pending asynchronous operation to complete.
asyncResult
- The reference to the pending asynchronous request to wait for.folderInfo
- Folder informationpublic boolean existFolder(String folderName)
Check whether this folder exists
folderName
- Name of the folderpublic boolean existFolder(String folderName, ImapFolderInfo[] folderInfo)
Check whether this folder exists, extract folder info if so
folderName
- Name of the folderfolderInfo
- Folder informationpublic com.aspose.ms.System.IAsyncResult beginFetchAttachment(IConnection iConnection, int sequenceNumber, String attachmentName)
Begins fetch an attachment.
iConnection
- Connection to a serversequenceNumber
- The sequence number of a messageattachmentName
- Attachment namepublic com.aspose.ms.System.IAsyncResult beginFetchAttachment(IConnection iConnection, int sequenceNumber, String attachmentName, com.aspose.ms.System.AsyncCallback callback)
Begins fetch an attachment.
iConnection
- Connection to a serversequenceNumber
- The sequence number of a messageattachmentName
- Attachment namecallback
- References a method to be called when a corresponding asynchronous operation completes.public com.aspose.ms.System.IAsyncResult beginFetchAttachment(IConnection iConnection, int sequenceNumber, String attachmentName, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins fetch an attachment.
iConnection
- Connection to a serversequenceNumber
- The sequence number of a messageattachmentName
- Attachment namecallback
- References a method to be called when a corresponding asynchronous operation completes.state
- The state.public com.aspose.ms.System.IAsyncResult beginFetchAttachment(int sequenceNumber, String attachmentName)
Begins fetch an attachment.
sequenceNumber
- The sequence number of a messageattachmentName
- Attachment namepublic com.aspose.ms.System.IAsyncResult beginFetchAttachment(int sequenceNumber, String attachmentName, com.aspose.ms.System.AsyncCallback callback)
Begins fetch an attachment.
sequenceNumber
- The sequence number of a messageattachmentName
- Attachment namecallback
- References a method to be called when a corresponding asynchronous operation completes.public com.aspose.ms.System.IAsyncResult beginFetchAttachment(int sequenceNumber, String attachmentName, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins fetch an attachment.
sequenceNumber
- The sequence number of a messageattachmentName
- Attachment namecallback
- References a method to be called when a corresponding asynchronous operation completes.state
- The state.public Attachment endFetchAttachment(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 Attachment fetchAttachment(IConnection iConnection, int sequenceNumber, String attachmentName)
Fetches the specified attachment
iConnection
- Connection to a serversequenceNumber
- The sequence number of a messageattachmentName
- A name of attachmentAttachment
that represents attachmentpublic Attachment fetchAttachment(int sequenceNumber, String attachmentName)
Fetches the specified attachment
sequenceNumber
- The sequence number of a messageattachmentName
- A name of attachmentAttachment
that represents attachment@Deprecated public com.aspose.ms.System.IAsyncResult beginFetchMessage(String folder, String uniqueId)
Begins an asynchronous message fetching.
folder
- Message locationuniqueId
- The uid of the messageSystem.IAsyncResult
that represents the status of an asynchronous operation.@Deprecated public com.aspose.ms.System.IAsyncResult beginFetchMessage(String folder, String uniqueId, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins an asynchronous message fetching.
folder
- Message locationuniqueId
- The uid 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.@Deprecated public MailMessage fetchMessage(String uniqueId, int fetchTimeout)
Fetches the specified message.
uniqueId
- The unique id of the message to fetch.fetchTimeout
- The fetching timout (ms).MailMessage
that represents e-mail message.com.aspose.ms.System.ArgumentException
- uniqueId
is null
or empty
.com.aspose.ms.System.ArgumentOutOfRangeException
- fetchTimeout
is negative or zero.ImapException
- The message could not be fetched for the specified time.public com.aspose.ms.System.IAsyncResult beginFetchMessage(IConnection iConnection, String uniqueId)
Begins an asynchronous message fetching.
iConnection
- Connection to a serveruniqueId
- The unique id of 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 an asynchronous message fetching.
iConnection
- Connection to a serveruniqueId
- The unique id of 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 an asynchronous message fetching.
iConnection
- Connection to a serveruniqueId
- The unique id of 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, int sequenceNumber)
Begins an asynchronous message fetching.
iConnection
- Connection to a serversequenceNumber
- The sequence number of 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 an asynchronous message fetching.
iConnection
- Connection to a serversequenceNumber
- The sequence number of 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 an asynchronous message fetching.
iConnection
- Connection to a serversequenceNumber
- The sequence number of 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, int sequenceNumber, boolean ignoreAttachment)
Begins an asynchronous message fetching.
iConnection
- Connection to a serversequenceNumber
- The sequence number of messageignoreAttachment
- A value that defines whether the attachments should not be loaded.
If it is set to true
, then only message headers, message body and attachment information are fetched.
Attachment content is not loadedSystem.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginFetchMessage(IConnection iConnection, int sequenceNumber, boolean ignoreAttachment, com.aspose.ms.System.AsyncCallback callback)
Begins an asynchronous message fetching.
iConnection
- Connection to a serversequenceNumber
- The sequence number of messageignoreAttachment
- A value that defines whether the attachments should not be loaded.
If it is set to true
, then only message headers, message body and attachment information are fetched.
Attachment content is not loadedcallback
- 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, boolean ignoreAttachment, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins an asynchronous message fetching.
iConnection
- Connection to a serversequenceNumber
- The sequence number of messageignoreAttachment
- A value that defines whether the attachments should not be loaded.
If it is set to true
, then only message headers, message body and attachment information are fetched.
Attachment content is not loadedcallback
- 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 an asynchronous message fetching.
uniqueId
- The unique id of 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 an asynchronous message fetching.
uniqueId
- The unique id of 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 an asynchronous message fetching.
uniqueId
- The unique id of 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 an asynchronous message fetching.
sequenceNumber
- The sequence number of 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 an asynchronous message fetching.
sequenceNumber
- The sequence number of 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 an asynchronous message fetching.
sequenceNumber
- The sequence number of 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, boolean ignoreAttachment)
Begins an asynchronous message fetching.
sequenceNumber
- The sequence number of messageignoreAttachment
- A value that defines whether the attachments should not be loaded.
If it is set to true
, then only message headers, message body and attachment information are fetched.
Attachment content is not loadedSystem.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginFetchMessage(int sequenceNumber, boolean ignoreAttachment, com.aspose.ms.System.AsyncCallback callback)
Begins an asynchronous message fetching.
sequenceNumber
- The sequence number of messageignoreAttachment
- A value that defines whether the attachments should not be loaded.
If it is set to true
, then only message headers, message body and attachment information are fetched.
Attachment content is not loadedcallback
- 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, boolean ignoreAttachment, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins an asynchronous message fetching.
sequenceNumber
- The sequence number of messageignoreAttachment
- A value that defines whether the attachments should not be loaded.
If it is set to true
, then only message headers, message body and attachment information are fetched.
Attachment content is not loadedcallback
- 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 pending asynchronous message fetching to complete.
asyncResult
- The reference to the pending asynchronous request to wait for.MailMessage
that represents message.public MailMessage fetchMessage(IConnection iConnection, int sequenceNumber)
Fetches the message
iConnection
- Connection to a serversequenceNumber
- The sequence number of messageMailMessage
that represents e-mail messagepublic MailMessage fetchMessage(IConnection iConnection, int sequenceNumber, boolean ignoreAttachment)
Fetches the message
iConnection
- Connection to a serversequenceNumber
- The sequence number of messageignoreAttachment
- A value that defines whether the attachments should not be loaded.
If it is set to true
, then only message headers, message body and attachment information are fetched.
Attachment content is not loadedMailMessage
that represents e-mail messagepublic MailMessage fetchMessage(IConnection iConnection, String uniqueId)
Fetches the message
iConnection
- Connection to a serveruniqueId
- The unique id of messageMailMessage
that represents e-mail messagepublic MailMessage fetchMessage(int sequenceNumber)
Fetches the message
sequenceNumber
- The sequence number of messageMailMessage
that represents e-mail messagepublic MailMessage fetchMessage(int sequenceNumber, boolean ignoreAttachment)
Fetches the message
sequenceNumber
- The sequence number of messageignoreAttachment
- A value that defines whether the attachments should not be loaded.
If it is set to true
, then only message headers, message body and attachment information are fetched.
Attachment content is not loadedMailMessage
that represents e-mail messagepublic MailMessage fetchMessage(String uniqueId)
Fetches the message
uniqueId
- The unique id of messageMailMessage
that represents e-mail message@Deprecated public com.aspose.ms.System.IAsyncResult beginListFolder(String folderName)
Begins an asynchronous folder listing.
folderName
- Name of the folder.System.IAsyncResult
that represents the status of an asynchronous operation.@Deprecated public com.aspose.ms.System.IAsyncResult beginListFolder(String folderName, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins an asynchronous folder listing.
folderName
- Name of the folder.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.@Deprecated public ImapFolderInfo endListFolder(com.aspose.ms.System.IAsyncResult asyncResult)
Waits for the pending asynchronous folder listing to complete.
asyncResult
- The reference to the pending asynchronous request to wait for.@Deprecated public ImapFolderInfo listFolder(String folderName)
Returns information about the specified folder without selecting it
folderName
- Folder to retrieve information aboutpublic com.aspose.ms.System.IAsyncResult beginGetFolderInfo(IConnection iConnection, String folderName)
Begins an asynchronous folder listing.
iConnection
- Connection to a serverfolderName
- Folder to retrieve information aboutSystem.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginGetFolderInfo(IConnection iConnection, String folderName, com.aspose.ms.System.AsyncCallback callback)
Begins an asynchronous folder listing.
iConnection
- Connection to a serverfolderName
- Folder to retrieve information aboutcallback
- 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 beginGetFolderInfo(IConnection iConnection, String folderName, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins an asynchronous folder listing.
iConnection
- Connection to a serverfolderName
- Folder to retrieve information aboutcallback
- 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 beginGetFolderInfo(String folderName)
Begins an asynchronous folder listing.
folderName
- Folder to retrieve information aboutSystem.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginGetFolderInfo(String folderName, com.aspose.ms.System.AsyncCallback callback)
Begins an asynchronous folder listing.
folderName
- Folder to retrieve information aboutcallback
- 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 beginGetFolderInfo(String folderName, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins an asynchronous folder listing.
folderName
- Folder to retrieve information aboutcallback
- 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 ImapFolderInfo endGetFolderInfo(com.aspose.ms.System.IAsyncResult asyncResult)
Waits for the pending asynchronous folder listing to complete.
asyncResult
- The reference to the pending asynchronous request to wait for.public ImapFolderInfo getFolderInfo(IConnection iConnection, String folderName)
Returns information about the specified folder without selecting it
iConnection
- Connection to a serverfolderName
- Folder to retrieve information aboutpublic ImapFolderInfo getFolderInfo(String folderName)
Returns information about the specified folder without selecting it
folderName
- Folder to retrieve information aboutpublic void startMonitoring(ImapMonitoringEventHandler callback)
Starts monitoring of message changes for Inbox folder
callback
- Specifies callback function for monitoring operationpublic void startMonitoring(String folderName, ImapMonitoringEventHandler callback)
Starts monitoring of message changes for specified folder
folderName
- specified folder for monitoring operationcallback
- Specifies callback function for monitoring operationpublic void stopMonitoring(String folderName)
Stops monitoring of message changes for specified folder.
folderName
- specified folder for monitoring operationpublic void stopMonitoring()
Stops any monitoring of changes.
public com.aspose.ms.System.IAsyncResult beginListFolders(IConnection iConnection)
Begins to get the list of folders in the mailbox
iConnection
- Connection to a serverSystem.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginListFolders(IConnection iConnection, com.aspose.ms.System.AsyncCallback callback)
Begins to get the list of folders in the mailbox
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 beginListFolders(IConnection iConnection, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins to get the list of folders in the mailbox
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 beginListFolders(IConnection iConnection, boolean loadFullInfo)
Begins to get the list of folders in the mailbox
iConnection
- Connection to a serverloadFullInfo
- If true indicates that folder information should be retrieved from a server completely, otherwise only folder names are retrieved.System.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginListFolders(IConnection iConnection, boolean loadFullInfo, com.aspose.ms.System.AsyncCallback callback)
Begins to get the list of folders in the mailbox
iConnection
- Connection to a serverloadFullInfo
- If true indicates that folder information should be retrieved from a server completely, otherwise only folder names are 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 beginListFolders(IConnection iConnection, boolean loadFullInfo, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins to get the list of folders in the mailbox
iConnection
- Connection to a serverloadFullInfo
- If true indicates that folder information should be retrieved from a server completely, otherwise only folder names are 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 beginListFolders(IConnection iConnection, String parentFolder)
Begins to get the list of subfolders in the specified folder
iConnection
- Connection to a serverparentFolder
- Name of the folderSystem.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginListFolders(IConnection iConnection, String parentFolder, com.aspose.ms.System.AsyncCallback callback)
Begins to get the list of subfolders in the specified folder
iConnection
- Connection to a serverparentFolder
- Name of the foldercallback
- 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 beginListFolders(IConnection iConnection, String parentFolder, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins to get the list of subfolders in the specified folder
iConnection
- Connection to a serverparentFolder
- Name of the foldercallback
- 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 beginListFolders(IConnection iConnection, String parentFolder, boolean loadFullInfo)
Begins to get the list of subfolders in the specified folder
iConnection
- Connection to a serverparentFolder
- Name of the folderloadFullInfo
- If true indicates that folder information should be retrieved from a server completely, otherwise only folder names are retrieved.System.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginListFolders(IConnection iConnection, String parentFolder, boolean loadFullInfo, com.aspose.ms.System.AsyncCallback callback)
Begins to get the list of subfolders in the specified folder
iConnection
- Connection to a serverparentFolder
- Name of the folderloadFullInfo
- If true indicates that folder information should be retrieved from a server completely, otherwise only folder names are 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 beginListFolders(IConnection iConnection, String parentFolder, boolean loadFullInfo, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins to get the list of subfolders in the specified folder
iConnection
- Connection to a serverparentFolder
- Name of the folderloadFullInfo
- If true indicates that folder information should be retrieved from a server completely, otherwise only folder names are 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 beginListFolders()
Begins to get the list of folders in the mailbox
System.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginListFolders(com.aspose.ms.System.AsyncCallback callback)
Begins to get the list of folders in the mailbox
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 beginListFolders(com.aspose.ms.System.AsyncCallback callback, Object state)
Begins to get the list of folders in the mailbox
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 beginListFolders(boolean loadFullInfo)
Begins to get the list of folders in the mailbox
loadFullInfo
- If true indicates that folder information should be retrieved from a server completely, otherwise only folder names are retrieved.System.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginListFolders(boolean loadFullInfo, com.aspose.ms.System.AsyncCallback callback)
Begins to get the list of folders in the mailbox
loadFullInfo
- If true indicates that folder information should be retrieved from a server completely, otherwise only folder names are 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 beginListFolders(boolean loadFullInfo, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins to get the list of folders in the mailbox
loadFullInfo
- If true indicates that folder information should be retrieved from a server completely, otherwise only folder names are 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 beginListFolders(String parentFolder)
Begins to get the list of subfolders in the specified folder
parentFolder
- Name of the folderSystem.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginListFolders(String parentFolder, com.aspose.ms.System.AsyncCallback callback)
Begins to get the list of subfolders in the specified folder
parentFolder
- Name of the foldercallback
- 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 beginListFolders(String parentFolder, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins to get the list of subfolders in the specified folder
parentFolder
- Name of the foldercallback
- 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 beginListFolders(String parentFolder, boolean loadFullInfo)
Begins to get the list of subfolders in the specified folder
parentFolder
- Name of the folderloadFullInfo
- If true indicates that folder information should be retrieved from a server completely, otherwise only folder names are retrieved.System.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginListFolders(String parentFolder, boolean loadFullInfo, com.aspose.ms.System.AsyncCallback callback)
Begins to get the list of subfolders in the specified folder
parentFolder
- Name of the folderloadFullInfo
- If true indicates that folder information should be retrieved from a server completely, otherwise only folder names are 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 beginListFolders(String parentFolder, boolean loadFullInfo, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins to get the list of subfolders in the specified folder
parentFolder
- Name of the folderloadFullInfo
- If true indicates that folder information should be retrieved from a server completely, otherwise only folder names are 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 ImapFolderInfoCollection endListFolders(com.aspose.ms.System.IAsyncResult asyncResult)
Waits for the pending asynchronous operation to complete.
asyncResult
- The reference to the pending asynchronous request to wait for.public ImapFolderInfoCollection listFolders(IConnection iConnection)
Gets the list of folders in the mailbox
iConnection
- Connection to a serverpublic ImapFolderInfoCollection listFolders(IConnection iConnection, String parentFolder)
Gets the list of subfolders in the specified folder
iConnection
- Connection to a serverparentFolder
- Name of the folderpublic ImapFolderInfoCollection listFolders(IConnection iConnection, boolean loadFullInfo)
Gets the list of folders in the mailbox
iConnection
- Connection to a serverloadFullInfo
- If true indicates that folder information should be retrieved from a server completely, otherwise only folder names are retrieved.public ImapFolderInfoCollection listFolders(IConnection iConnection, String parentFolder, boolean loadFullInfo)
Gets the list of subfolders in the specified folder
iConnection
- Connection to a serverparentFolder
- Name of the folderloadFullInfo
- If true indicates that folder information should be retrieved from a server completely, otherwise only folder names are retrieved.public ImapFolderInfoCollection listFolders()
Gets the list of folders in the mailbox
public ImapFolderInfoCollection listFolders(String parentFolder)
Gets the list of subfolders in the specified folder
parentFolder
- Name of the folderpublic ImapFolderInfoCollection listFolders(boolean loadFullInfo)
Gets the list of folders in the mailbox
loadFullInfo
- If true indicates that folder information should be retrieved from a server completely, otherwise only folder names are retrieved.public ImapFolderInfoCollection listFolders(String parentFolder, boolean loadFullInfo)
Gets the list of subfolders in the specified folder
parentFolder
- Name of the folderloadFullInfo
- If true indicates that folder information should be retrieved from a server completely, otherwise only folder names are retrieved.public com.aspose.ms.System.IAsyncResult beginListMessage(IConnection iConnection, int sequenceNumber)
Begins to get information about a message.
iConnection
- Connection to a serversequenceNumber
- The sequence number of messageSystem.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginListMessage(IConnection iConnection, int sequenceNumber, com.aspose.ms.System.AsyncCallback callback)
Begins to get information about a message.
iConnection
- Connection to a serversequenceNumber
- The sequence number of 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 beginListMessage(IConnection iConnection, int sequenceNumber, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins to get information about a message.
iConnection
- Connection to a serversequenceNumber
- The sequence number of 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 beginListMessage(IConnection iConnection, String uniqueId)
Begins to get information about a message.
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 beginListMessage(IConnection iConnection, String uniqueId, com.aspose.ms.System.AsyncCallback callback)
Begins to get information about a message.
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 beginListMessage(IConnection iConnection, String uniqueId, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins to get information about a message.
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 beginListMessage(int sequenceNumber)
Begins to get information about a message.
sequenceNumber
- The sequence number of messageSystem.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginListMessage(int sequenceNumber, com.aspose.ms.System.AsyncCallback callback)
Begins to get information about a message.
sequenceNumber
- The sequence number of 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 beginListMessage(int sequenceNumber, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins to get information about a message.
sequenceNumber
- The sequence number of 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 beginListMessage(String uniqueId)
Begins to get information about a message.
uniqueId
- The unique Id of the messageSystem.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginListMessage(String uniqueId, com.aspose.ms.System.AsyncCallback callback)
Begins to get information about a message.
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 beginListMessage(String uniqueId, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins to get information about a message.
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 ImapMessageInfo endListMessage(com.aspose.ms.System.IAsyncResult asyncResult)
Waits for the asynchronous ListMessage operation to complete.
asyncResult
- The reference to the pending asynchronous request to wait for.public ImapMessageInfo listMessage(IConnection iConnection, int sequenceNumber)
Gets information about a message.
iConnection
- Connection to a serversequenceNumber
- The sequence number of messagepublic ImapMessageInfo listMessage(IConnection iConnection, String uniqueId)
Gets information about a message.
iConnection
- Connection to a serveruniqueId
- The unique Id of the messagepublic ImapMessageInfo listMessage(int sequenceNumber)
Gets information about a message.
sequenceNumber
- The sequence number of messagepublic ImapMessageInfo listMessage(String uniqueId)
Gets information about a message.
uniqueId
- The unique Id of the messagepublic com.aspose.ms.System.IAsyncResult beginListMessages(String folderName, MailQuery query, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins getting the list of messages asynchronously
folderName
- Messages locationquery
- MailQuery
that represents search query.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, int maxNumberOfMessages, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins getting the list of messages asynchronously in the current folder
query
- MailQuery
that represents search query.maxNumberOfMessages
- Maximum number of messages.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, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins getting the list of messages asynchronously in the current folder
query
- MailQuery
that represents search query.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 getting the list of messages asynchronously in the current folder
query
- MailQuery
that represents search query.System.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginListMessages(String folderName, MailQuery query)
Begins getting the list of messages asynchronously in the current folder
folderName
- Messages locationquery
- MailQuery
that represents search query.System.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginListMessages(MailQuery query, int maxNumberOfMessages)
Begins getting the list of messages asynchronously in the current folder
query
- MailQuery
that represents search query.maxNumberOfMessages
- Maximum number of messages.System.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginListMessages(String folderName, MailQuery query, int maxNumberOfMessages)
Begins getting the list of messages asynchronously in the current folder
folderName
- Messages locationquery
- MailQuery
that represents search query.maxNumberOfMessages
- Maximum number of messages.System.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginListMessages(String folderName, MailQuery query, int maxNumberOfMessages, com.aspose.ms.System.AsyncCallback callback)
Begins getting the list of messages asynchronously in the current folder
folderName
- Messages locationquery
- MailQuery
that represents search query.maxNumberOfMessages
- Maximum number of messages.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(String folderName, MailQuery query, int maxNumberOfMessages, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins getting the list of messages asynchronously in the current folder
folderName
- Messages locationquery
- MailQuery
that represents search query.maxNumberOfMessages
- Maximum number of messages.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()
Begins getting the list of messages asynchronously in the current folder
System.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginListMessages(com.aspose.ms.System.AsyncCallback callback)
Begins getting the list of messages asynchronously in the current folder
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 getting the list of messages asynchronously in the current folder
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(String folderName)
Begins getting the list of messages asynchronously in the current folder
folderName
- Messages locationSystem.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginListMessages(String folderName, com.aspose.ms.System.AsyncCallback callback)
Begins getting the list of messages asynchronously in the current folder
folderName
- Folder to retrieve messages.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(String folderName, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins getting the list of messages asynchronously in the current folder
folderName
- Folder to retrieve messages.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 ImapMessageInfoCollection endListMessages(com.aspose.ms.System.IAsyncResult asyncResult)
Waits for the asynchronous ListMessages operation to complete.
asyncResult
- The reference to the pending asynchronous request to wait for.public ImapMessageInfoCollection listMessages(IConnection iConnection)
Gets the list of messages in the current folder
iConnection
- Connection to a serverpublic ImapMessageInfoCollection listMessages(IConnection iConnection, boolean retrieveRecursively)
Gets the list of messages in the current folder
iConnection
- Connection to a serverretrieveRecursively
- Indicates, if messages have to be retrieved recursively.public ImapMessageInfoCollection listMessages(IConnection iConnection, String folderName)
Gets the list of messages in the specified folder
iConnection
- Connection to a serverfolderName
- Folder to retrieve messages.public ImapMessageInfoCollection listMessages(IConnection iConnection, String folderName, boolean retrieveRecursively)
Gets the list of messages in the specified folder
iConnection
- Connection to a serverfolderName
- Folder to retrieve messages.retrieveRecursively
- Indicates, if messages have to be retrieved recursively.public ImapMessageInfoCollection listMessages(IConnection iConnection, int maxNumberOfMessages)
Gets the list of messages in the current folder.
iConnection
- Connection to a servermaxNumberOfMessages
- Maximum number of messages.ImapMessageInfo
representing the messages information.com.aspose.ms.System.ArgumentOutOfRangeException
- maxNumberOfMessages
is negative.public ImapMessageInfoCollection listMessages(IConnection iConnection, MailQuery query)
Gets the list of messages in the current folder.
iConnection
- Connection to a serverquery
- MailQuery
that represents search query.public ImapMessageInfoCollection listMessages(IConnection iConnection, String folderName, MailQuery query, int maxNumberOfMessages)
Gets the list of messages in the current folder.
iConnection
- Connection to a serverfolderName
- Messages locationquery
- MailQuery
that represents search query.maxNumberOfMessages
- Maximum number of messages.public ImapMessageInfoCollection listMessages(IConnection iConnection, MailQuery query, int maxNumberOfMessages)
Gets the list of messages in the current folder.
iConnection
- Connection to a serverquery
- MailQuery
that represents search query.maxNumberOfMessages
- Maximum number of messages.public ImapMessageInfoCollection listMessages()
Gets the list of messages in the current folder
public ImapMessageInfoCollection listMessages(boolean retrieveRecursively)
Gets the list of messages in the current folder
retrieveRecursively
- Indicates, if messages have to be retrieved recursively.public ImapMessageInfoCollection listMessages(String folderName)
Gets the list of messages in the specified folder
folderName
- Folder to retrieve messages.public ImapMessageInfoCollection listMessages(String folderName, boolean retrieveRecursively)
Gets the list of messages in the specified folder
folderName
- Folder to retrieve messages.retrieveRecursively
- Indicates, if messages have to be retrieved recursively.public ImapMessageInfoCollection listMessages(int maxNumberOfMessages)
Gets the list of messages in the current folder.
maxNumberOfMessages
- Maximum number of messages.ImapMessageInfo
representing the messages information.com.aspose.ms.System.ArgumentOutOfRangeException
- maxNumberOfMessages
is negative.public ImapMessageInfoCollection listMessages(MailQuery query)
Gets the list of messages in the current folder.
query
- MailQuery
that represents search query.public ImapMessageInfoCollection listMessages(String folderName, MailQuery query, int maxNumberOfMessages)
Gets the list of messages in the current folder.
folderName
- Messages locationquery
- MailQuery
that represents search query.maxNumberOfMessages
- Maximum number of messages.public ImapMessageInfoCollection listMessages(MailQuery query, int maxNumberOfMessages)
Gets the list of messages in the current folder.
query
- MailQuery
that represents search query.maxNumberOfMessages
- Maximum number of messages.public boolean parseQuery(ImapMessageInfo messageInfo, MailQuery query)
Parses the query.
messageInfo
- Message info.query
- The query.public com.aspose.ms.System.IAsyncResult beginNoop(IConnection iConnection)
Begins to execute '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 to execute '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 to execute '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 to execute '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 to execute '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 to execute '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 pending 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 beginRemoveMessageFlags(IConnection iConnection, int sequenceNumber, ImapMessageFlags flags)
Removes the flags of the message asynchronously
iConnection
- Connection to a serversequenceNumber
- The sequence number of messageflags
- The flags to be addedSystem.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginRemoveMessageFlags(IConnection iConnection, int sequenceNumber, ImapMessageFlags flags, com.aspose.ms.System.AsyncCallback callback)
Removes the flags of the message asynchronously
iConnection
- Connection to a serversequenceNumber
- The sequence number of messageflags
- The flags to be addedcallback
- 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 beginRemoveMessageFlags(IConnection iConnection, int sequenceNumber, ImapMessageFlags flags, com.aspose.ms.System.AsyncCallback callback, Object state)
Removes the flags of the message asynchronously
iConnection
- Connection to a serversequenceNumber
- The sequence number of messageflags
- The flags to be addedcallback
- 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 beginRemoveMessageFlags(IConnection iConnection, String uniqueId, ImapMessageFlags flags)
Removes the flags of the message asynchronously
iConnection
- Connection to a serveruniqueId
- Unique identifier of a messageflags
- The flags to be addedSystem.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginRemoveMessageFlags(IConnection iConnection, String uniqueId, ImapMessageFlags flags, com.aspose.ms.System.AsyncCallback callback)
Removes the flags of the message asynchronously
iConnection
- Connection to a serveruniqueId
- Unique identifier of a messageflags
- The flags to be addedcallback
- 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 beginRemoveMessageFlags(IConnection iConnection, String uniqueId, ImapMessageFlags flags, com.aspose.ms.System.AsyncCallback callback, Object state)
Removes the flags of the message asynchronously
iConnection
- Connection to a serveruniqueId
- Unique identifier of a messageflags
- The flags to be addedcallback
- 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 beginRemoveMessageFlags(int sequenceNumber, ImapMessageFlags flags)
Removes the flags of the message asynchronously
sequenceNumber
- The sequence number of messageflags
- The flags to be addedSystem.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginRemoveMessageFlags(int sequenceNumber, ImapMessageFlags flags, com.aspose.ms.System.AsyncCallback callback)
Removes the flags of the message asynchronously
sequenceNumber
- The sequence number of messageflags
- The flags to be addedcallback
- 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 beginRemoveMessageFlags(int sequenceNumber, ImapMessageFlags flags, com.aspose.ms.System.AsyncCallback callback, Object state)
Removes the flags of the message asynchronously
sequenceNumber
- The sequence number of messageflags
- The flags to be addedcallback
- 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 beginRemoveMessageFlags(String uniqueId, ImapMessageFlags flags)
Removes the flags of the message asynchronously
uniqueId
- Unique identifier of a messageflags
- The flags to be addedSystem.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginRemoveMessageFlags(String uniqueId, ImapMessageFlags flags, com.aspose.ms.System.AsyncCallback callback)
Removes the flags of the message asynchronously
uniqueId
- Unique identifier of a messageflags
- The flags to be addedcallback
- 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 beginRemoveMessageFlags(String uniqueId, ImapMessageFlags flags, com.aspose.ms.System.AsyncCallback callback, Object state)
Removes the flags of the message asynchronously
uniqueId
- Unique identifier of a messageflags
- The flags to be addedcallback
- 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 endRemoveMessageFlags(com.aspose.ms.System.IAsyncResult asyncResult)
Waits for the pending asynchronous operation to complete.
asyncResult
- The reference to the pending asynchronous request to wait for.public void removeMessageFlags(IConnection iConnection, int sequenceNumber, ImapMessageFlags flags)
Removes the flags of the message
iConnection
- Connection to a serversequenceNumber
- The sequence number of the messageflags
- The flags to be addedpublic void removeMessageFlags(IConnection iConnection, String uniqueId, ImapMessageFlags flags)
Removes the flags of the message
iConnection
- Connection to a serveruniqueId
- Unique identifier of a messageflags
- The flags to be addedpublic void removeMessageFlags(int sequenceNumber, ImapMessageFlags flags)
Removes the flags of the message
sequenceNumber
- The sequence number of the messageflags
- The flags to be addedpublic void removeMessageFlags(String uniqueId, ImapMessageFlags flags)
Removes the flags of the message
uniqueId
- Unique identifier of a messageflags
- The flags to be added@Deprecated public com.aspose.ms.System.IAsyncResult beginRenameFolder(String parentFolder, String folderName, String newFolderName)
Begins RenameFolder operation asynchronously
parentFolder
- Parent folderfolderName
- Folder to be renamednewFolderName
- New folder nameSystem.IAsyncResult
that represents the status of an asynchronous operation.@Deprecated public com.aspose.ms.System.IAsyncResult beginRenameFolder(String parentFolder, String folderName, String newFolderName, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins RenameFolder operation asynchronously
parentFolder
- Parent folderfolderName
- Folder to be renamednewFolderName
- New folder namecallback
- 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 beginRenameFolder(IConnection iConnection, String folderName, String newFolderName)
Begins RenameFolder operation asynchronously
iConnection
- Connection to a serverfolderName
- Folder to be renamednewFolderName
- New folder nameSystem.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginRenameFolder(IConnection iConnection, String folderName, String newFolderName, com.aspose.ms.System.AsyncCallback callback)
Begins RenameFolder operation asynchronously
iConnection
- Connection to a serverfolderName
- Folder to be renamednewFolderName
- New folder namecallback
- 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 beginRenameFolder(IConnection iConnection, String folderName, String newFolderName, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins RenameFolder operation asynchronously
iConnection
- Connection to a serverfolderName
- Folder to be renamednewFolderName
- New folder namecallback
- 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 beginRenameFolder(String folderName, String newFolderName)
Begins RenameFolder operation asynchronously
folderName
- Folder to be renamednewFolderName
- New folder nameSystem.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginRenameFolder(String folderName, String newFolderName, com.aspose.ms.System.AsyncCallback callback)
Begins RenameFolder operation asynchronously
folderName
- Folder to be renamednewFolderName
- New folder namecallback
- 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 beginRenameFolder(String folderName, String newFolderName, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins RenameFolder operation asynchronously
folderName
- Folder to be renamednewFolderName
- New folder namecallback
- 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 endRenameFolder(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 renameFolder(IConnection iConnection, String folderName, String newFolderName)
Renames a specified folder to a new name
iConnection
- Connection to a serverfolderName
- Folder to be renamednewFolderName
- New folder namepublic void renameFolder(String folderName, String newFolderName)
Renames a specified folder to a new name
folderName
- Folder to be renamednewFolderName
- New folder namepublic com.aspose.ms.System.IAsyncResult beginRequestCheckpoint(IConnection iConnection)
Begins request a checkpoint of the currently selected mailbox.
iConnection
- Connection to a serverSystem.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginRequestCheckpoint(IConnection iConnection, com.aspose.ms.System.AsyncCallback callback)
Begins request a checkpoint of the currently selected mailbox.
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 beginRequestCheckpoint(IConnection iConnection, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins request a checkpoint of the currently selected mailbox.
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 beginRequestCheckpoint()
Begins request a checkpoint of the currently selected mailbox.
System.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginRequestCheckpoint(com.aspose.ms.System.AsyncCallback callback)
Begins request a checkpoint of the currently selected mailbox.
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 beginRequestCheckpoint(com.aspose.ms.System.AsyncCallback callback, Object state)
Begins request a checkpoint of the currently selected mailbox.
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 endRequestCheckpoint(com.aspose.ms.System.IAsyncResult asyncResult)
Waits for the pending asynchronous operation to complete.
asyncResult
- The reference to the pending asynchronous request to wait for.public void requestCheckpoint(IConnection iConnection)
Requests a checkpoint of the currently selected mailbox.
iConnection
- Connection to a serverpublic void requestCheckpoint()
Requests a checkpoint of the currently selected mailbox.
public com.aspose.ms.System.IAsyncResult beginRestore(IConnection iConnection, String fileName, int options)
Begins to restore imap folders from the specified personal storage file.
iConnection
- Connection to a serverfileName
- A path to personal storage file.options
- Restore options.System.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginRestore(IConnection iConnection, String fileName, int options, com.aspose.ms.System.AsyncCallback callback)
Begins to restore imap folders from the specified personal storage file.
iConnection
- Connection to a serverfileName
- A path to personal storage file.options
- Restore options.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 beginRestore(IConnection iConnection, String fileName, int options, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins to restore imap folders from the specified personal storage file.
iConnection
- Connection to a serverfileName
- A path to personal storage file.options
- Restore options.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 beginRestore(IConnection iConnection, InputStream stream, int options)
Begins to restore imap folders from the given stream.
iConnection
- Connection to a serverstream
- A stream containing personal storage.options
- Restore options.System.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginRestore(IConnection iConnection, InputStream stream, int options, com.aspose.ms.System.AsyncCallback callback)
Begins to restore imap folders from the given stream.
iConnection
- Connection to a serverstream
- A stream containing personal storage.options
- Restore options.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 beginRestore(IConnection iConnection, InputStream stream, int options, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins to restore imap folders from the given stream.
iConnection
- Connection to a serverstream
- A stream containing personal storage.options
- Restore options.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 beginRestore(IConnection iConnection, PersonalStorage pst, int options)
Begins to restore imap folders from the given personal storage.
iConnection
- Connection to a serverpst
- A personal storage containing the backuped imap folders.options
- Restore options.System.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginRestore(IConnection iConnection, PersonalStorage pst, int options, com.aspose.ms.System.AsyncCallback callback)
Begins to restore imap folders from the given personal storage.
iConnection
- Connection to a serverpst
- A personal storage containing the backuped imap folders.options
- Restore options.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 beginRestore(IConnection iConnection, PersonalStorage pst, int options, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins to restore imap folders from the given personal storage.
iConnection
- Connection to a serverpst
- A personal storage containing the backuped imap folders.options
- Restore options.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 beginRestore(IConnection iConnection, String fileName, ImapFolderInfoCollection folders, int options)
Begins to restore the specified imap folders from the specified personal storage file.
iConnection
- Connection to a serverfileName
- A path to personal storage file.folders
- A folders to be restored.options
- Restore options.System.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginRestore(IConnection iConnection, String fileName, ImapFolderInfoCollection folders, int options, com.aspose.ms.System.AsyncCallback callback)
Begins to restore the specified imap folders from the specified personal storage file.
iConnection
- Connection to a serverfileName
- A path to personal storage file.folders
- A folders to be restored.options
- Restore options.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 beginRestore(IConnection iConnection, String fileName, ImapFolderInfoCollection folders, int options, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins to restore the specified imap folders from the specified personal storage file.
iConnection
- Connection to a serverfileName
- A path to personal storage file.folders
- A folders to be restored.options
- Restore options.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 beginRestore(IConnection iConnection, InputStream stream, ImapFolderInfoCollection folders, int options)
Begins to restore the specified imap folders from the given stream.
iConnection
- Connection to a serverstream
- A stream containing personal storage.folders
- A folders to be restored.options
- Restore options.System.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginRestore(IConnection iConnection, InputStream stream, ImapFolderInfoCollection folders, int options, com.aspose.ms.System.AsyncCallback callback)
Begins to restore the specified imap folders from the given stream.
iConnection
- Connection to a serverstream
- A stream containing personal storage.folders
- A folders to be restored.options
- Restore options.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 beginRestore(IConnection iConnection, InputStream stream, ImapFolderInfoCollection folders, int options, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins to restore the specified imap folders from the given stream.
iConnection
- Connection to a serverstream
- A stream containing personal storage.folders
- A folders to be restored.options
- Restore options.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 beginRestore(IConnection iConnection, PersonalStorage pst, ImapFolderInfoCollection folders, int options)
Begins to restore the specified imap folders from the given personal storage.
iConnection
- Connection to a serverpst
- A personal storage containing the backuped imap folders.folders
- A folders to be restored.options
- Restore options.System.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginRestore(IConnection iConnection, PersonalStorage pst, ImapFolderInfoCollection folders, int options, com.aspose.ms.System.AsyncCallback callback)
Begins to restore the specified imap folders from the given personal storage.
iConnection
- Connection to a serverpst
- A personal storage containing the backuped imap folders.folders
- A folders to be restored.options
- Restore options.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 beginRestore(IConnection iConnection, PersonalStorage pst, ImapFolderInfoCollection folders, int options, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins to restore the specified imap folders from the given personal storage.
iConnection
- Connection to a serverpst
- A personal storage containing the backuped imap folders.folders
- A folders to be restored.options
- Restore options.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 beginRestore(String fileName, int options)
Begins to restore imap folders from the specified personal storage file.
fileName
- A path to personal storage file.options
- Restore options.System.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginRestore(String fileName, int options, com.aspose.ms.System.AsyncCallback callback)
Begins to restore imap folders from the specified personal storage file.
fileName
- A path to personal storage file.options
- Restore options.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 beginRestore(String fileName, int options, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins to restore imap folders from the specified personal storage file.
fileName
- A path to personal storage file.options
- Restore options.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 beginRestore(InputStream stream, int options)
Begins to restore imap folders from the given stream.
stream
- A stream containing personal storage.options
- Restore options.System.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginRestore(InputStream stream, int options, com.aspose.ms.System.AsyncCallback callback)
Begins to restore imap folders from the given stream.
stream
- A stream containing personal storage.options
- Restore options.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 beginRestore(InputStream stream, int options, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins to restore imap folders from the given stream.
stream
- A stream containing personal storage.options
- Restore options.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 beginRestore(PersonalStorage pst, int options)
Begins to restore imap folders from the given personal storage.
pst
- A personal storage containing the backuped imap folders.options
- Restore options.System.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginRestore(PersonalStorage pst, int options, com.aspose.ms.System.AsyncCallback callback)
Begins to restore imap folders from the given personal storage.
pst
- A personal storage containing the backuped imap folders.options
- Restore options.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 beginRestore(PersonalStorage pst, int options, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins to restore imap folders from the given personal storage.
pst
- A personal storage containing the backuped imap folders.options
- Restore options.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 beginRestore(String fileName, ImapFolderInfoCollection folders, int options)
Begins to restore the specified imap folders from the specified personal storage file.
fileName
- A path to personal storage file.folders
- A folders to be restored.options
- Restore options.System.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginRestore(String fileName, ImapFolderInfoCollection folders, int options, com.aspose.ms.System.AsyncCallback callback)
Begins to restore the specified imap folders from the specified personal storage file.
fileName
- A path to personal storage file.folders
- A folders to be restored.options
- Restore options.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 beginRestore(String fileName, ImapFolderInfoCollection folders, int options, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins to restore the specified imap folders from the specified personal storage file.
fileName
- A path to personal storage file.folders
- A folders to be restored.options
- Restore options.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 beginRestore(InputStream stream, ImapFolderInfoCollection folders, int options)
Begins to restore the specified imap folders from the given stream.
stream
- A stream containing personal storage.folders
- A folders to be restored.options
- Restore options.System.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginRestore(InputStream stream, ImapFolderInfoCollection folders, int options, com.aspose.ms.System.AsyncCallback callback)
Begins to restore the specified imap folders from the given stream.
stream
- A stream containing personal storage.folders
- A folders to be restored.options
- Restore options.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 beginRestore(InputStream stream, ImapFolderInfoCollection folders, int options, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins to restore the specified imap folders from the given stream.
stream
- A stream containing personal storage.folders
- A folders to be restored.options
- Restore options.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 beginRestore(PersonalStorage pst, ImapFolderInfoCollection folders, int options)
Begins to restore the specified imap folders from the given personal storage.
pst
- A personal storage containing the backuped imap folders.folders
- A folders to be restored.options
- Restore options.System.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginRestore(PersonalStorage pst, ImapFolderInfoCollection folders, int options, com.aspose.ms.System.AsyncCallback callback)
Begins to restore the specified imap folders from the given personal storage.
pst
- A personal storage containing the backuped imap folders.folders
- A folders to be restored.options
- Restore options.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 beginRestore(PersonalStorage pst, ImapFolderInfoCollection folders, int options, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins to restore the specified imap folders from the given personal storage.
pst
- A personal storage containing the backuped imap folders.folders
- A folders to be restored.options
- Restore options.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 endRestore(com.aspose.ms.System.IAsyncResult asyncResult)
Waits for the pending asynchronous operation to complete.
asyncResult
- The reference to the pending asynchronous request to wait for.public void restore(IConnection iConnection, String fileName, int options)
Restores imap folders from the specified personal storage file.
iConnection
- Connection to a serverfileName
- A path to personal storage file.options
- Restore options.public void restore(IConnection iConnection, InputStream stream, int options)
Restores imap folders from the given stream.
iConnection
- Connection to a serverstream
- A stream containing personal storage.options
- Restore options.public void restore(IConnection iConnection, PersonalStorage pst, int options)
Restores imap folders from the given personal storage.
iConnection
- Connection to a serverpst
- A personal storage containing the backuped imap folders.options
- Restore options.public void restore(IConnection iConnection, String fileName, ImapFolderInfoCollection folders, int options)
Restores the specified imap folders from the specified personal storage file.
iConnection
- Connection to a serverfileName
- A path to personal storage file.folders
- A folders to be restored.options
- Restore options.public void restore(IConnection iConnection, InputStream stream, ImapFolderInfoCollection folders, int options)
Restores the specified imap folders from the given stream.
iConnection
- Connection to a serverstream
- A stream containing personal storage.folders
- A folders to be restored.options
- Restore options.public void restore(IConnection iConnection, PersonalStorage pst, ImapFolderInfoCollection folders, int options)
Restores the specified imap folders from the given personal storage.
iConnection
- Connection to a serverpst
- A personal storage containing the backuped imap folders.folders
- A folders to be restored.options
- Restore options.public void restore(String fileName, int options)
Restores imap folders from the specified personal storage file.
fileName
- A path to personal storage file.options
- Restore options.public void restore(InputStream stream, int options)
Restores imap folders from the given stream.
stream
- A stream containing personal storage.options
- Restore options.public void restore(PersonalStorage pst, int options)
Restores imap folders from the given personal storage.
pst
- A personal storage containing the backuped imap folders.options
- Restore options.public void restore(String fileName, ImapFolderInfoCollection folders, int options)
Restores the specified imap folders from the specified personal storage file.
fileName
- A path to personal storage file.folders
- A folders to be restored.options
- Restore options.public void restore(InputStream stream, ImapFolderInfoCollection folders, int options)
Restores the specified imap folders from the given stream.
stream
- A stream containing personal storage.folders
- A folders to be restored.options
- Restore options.public void restore(PersonalStorage pst, ImapFolderInfoCollection folders, int options)
Restores the specified imap folders from the given personal storage.
pst
- A personal storage containing the backuped imap folders.folders
- A folders to be restored.options
- Restore options.public com.aspose.ms.System.IAsyncResult beginSaveMessage(String parentFolder, String uniqueId, OutputStream resultStream)
Begins SaveMessage operation asynchronously
parentFolder
- Message locationuniqueId
- The unique Id of the messageresultStream
- Stream that will receive the messageSystem.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginSaveMessage(String parentFolder, String uniqueId, OutputStream resultStream, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins SaveMessage operation asynchronously
parentFolder
- Message locationuniqueId
- The unique Id of the messageresultStream
- Stream that will receive 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 beginSaveMessage(IConnection iConnection, String uniqueId, OutputStream resultStream)
Begins SaveMessage operation asynchronously
iConnection
- Connection to a serveruniqueId
- The unique Id of the messageresultStream
- Stream that will receive the messageSystem.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginSaveMessage(IConnection iConnection, String uniqueId, OutputStream resultStream, com.aspose.ms.System.AsyncCallback callback)
Begins SaveMessage operation asynchronously
iConnection
- Connection to a serveruniqueId
- The unique Id of the messageresultStream
- Stream that will receive 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 beginSaveMessage(IConnection iConnection, String uniqueId, OutputStream resultStream, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins SaveMessage operation asynchronously
iConnection
- Connection to a serveruniqueId
- The unique Id of the messageresultStream
- Stream that will receive 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 beginSaveMessage(IConnection iConnection, int sequenceNumber, OutputStream resultStream)
Begins SaveMessage operation asynchronously
iConnection
- Connection to a serversequenceNumber
- The sequence number of the messageresultStream
- Stream that will receive the messageSystem.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginSaveMessage(IConnection iConnection, int sequenceNumber, OutputStream resultStream, com.aspose.ms.System.AsyncCallback callback)
Begins SaveMessage operation asynchronously
iConnection
- Connection to a serversequenceNumber
- The sequence number of the messageresultStream
- Stream that will receive 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 beginSaveMessage(IConnection iConnection, int sequenceNumber, OutputStream resultStream, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins SaveMessage operation asynchronously
iConnection
- Connection to a serversequenceNumber
- The sequence number of the messageresultStream
- Stream that will receive 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 beginSaveMessage(IConnection iConnection, String uniqueId, String fileName)
Begins SaveMessage operation asynchronously
iConnection
- Connection to a serveruniqueId
- The unique Id of the messagefileName
- The path of the local file. This cannot be a directorySystem.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginSaveMessage(IConnection iConnection, String uniqueId, String fileName, com.aspose.ms.System.AsyncCallback callback)
Begins SaveMessage operation asynchronously
iConnection
- Connection to a serveruniqueId
- The unique Id of the messagefileName
- The path of the local file. This cannot be a directorycallback
- 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, String fileName, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins SaveMessage operation asynchronously
iConnection
- Connection to a serveruniqueId
- The unique Id of the messagefileName
- The path of the local file. This cannot be a directorycallback
- 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, int sequenceNumber, String fileName)
Begins SaveMessage operation asynchronously
iConnection
- Connection to a serversequenceNumber
- The sequence number of the messagefileName
- The path of the local file. This cannot be a directorySystem.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginSaveMessage(IConnection iConnection, int sequenceNumber, String fileName, com.aspose.ms.System.AsyncCallback callback)
Begins SaveMessage operation asynchronously
iConnection
- Connection to a serversequenceNumber
- The sequence number of the messagefileName
- The path of the local file. This cannot be a directorycallback
- 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, String fileName, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins SaveMessage operation asynchronously
iConnection
- Connection to a serversequenceNumber
- The sequence number of the messagefileName
- The path of the local file. This cannot be a directorycallback
- 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 resultStream)
Begins SaveMessage operation asynchronously
uniqueId
- The unique Id of the messageresultStream
- Stream that will receive the messageSystem.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginSaveMessage(String uniqueId, OutputStream resultStream, com.aspose.ms.System.AsyncCallback callback)
Begins SaveMessage operation asynchronously
uniqueId
- The unique Id of the messageresultStream
- Stream that will receive 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 beginSaveMessage(String uniqueId, OutputStream resultStream, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins SaveMessage operation asynchronously
uniqueId
- The unique Id of the messageresultStream
- Stream that will receive 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 beginSaveMessage(int sequenceNumber, OutputStream resultStream)
Begins SaveMessage operation asynchronously
sequenceNumber
- The sequence number of the messageresultStream
- Stream that will receive the messageSystem.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginSaveMessage(int sequenceNumber, OutputStream resultStream, com.aspose.ms.System.AsyncCallback callback)
Begins SaveMessage operation asynchronously
sequenceNumber
- The sequence number of the messageresultStream
- Stream that will receive 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 beginSaveMessage(int sequenceNumber, OutputStream resultStream, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins SaveMessage operation asynchronously
sequenceNumber
- The sequence number of the messageresultStream
- Stream that will receive 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 beginSaveMessage(String uniqueId, String fileName)
Begins SaveMessage operation asynchronously
uniqueId
- The unique Id of the messagefileName
- The path of the local file. This cannot be a directorySystem.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginSaveMessage(String uniqueId, String fileName, com.aspose.ms.System.AsyncCallback callback)
Begins SaveMessage operation asynchronously
uniqueId
- The unique Id of the messagefileName
- The path of the local file. This cannot be a directorycallback
- 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, String fileName, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins SaveMessage operation asynchronously
uniqueId
- The unique Id of the messagefileName
- The path of the local file. This cannot be a directorycallback
- 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, String fileName)
Begins SaveMessage operation asynchronously
sequenceNumber
- The sequence number of the messagefileName
- The path of the local file. This cannot be a directorySystem.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginSaveMessage(int sequenceNumber, String fileName, com.aspose.ms.System.AsyncCallback callback)
Begins SaveMessage operation asynchronously
sequenceNumber
- The sequence number of the messagefileName
- The path of the local file. This cannot be a directorycallback
- 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, String fileName, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins SaveMessage operation asynchronously
sequenceNumber
- The sequence number of the messagefileName
- The path of the local file. This cannot be a directorycallback
- 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, int sequenceNumber, OutputStream resultStream)
Downloads the message with the specified sequence number and writes its data into a supplied stream
iConnection
- Connection to a serversequenceNumber
- The sequence number of the messageresultStream
- Stream that will receive the messagepublic void saveMessage(IConnection iConnection, String uniqueId, OutputStream resultStream)
Downloads the message with the specified sequence number and writes its data into a supplied stream
iConnection
- Connection to a serveruniqueId
- The unique Id of the messageresultStream
- Stream that will receive the messagepublic void saveMessage(IConnection iConnection, String uniqueId, String fileName)
Downloads the message with the specified sequence number and writes its data into a local file
iConnection
- Connection to a serveruniqueId
- The unique Id of the messagefileName
- The path of the local file. This cannot be a directorypublic void saveMessage(IConnection iConnection, int sequenceNumber, String fileName)
Downloads the message with the specified sequence number and writes its data into a local file
iConnection
- Connection to a serversequenceNumber
- The sequence number of the messagefileName
- The path of the local file. This cannot be a directorypublic void saveMessage(int sequenceNumber, OutputStream resultStream)
Downloads the message with the specified sequence number and writes its data into a supplied stream
sequenceNumber
- The sequence number of the messageresultStream
- Stream that will receive the messagepublic void saveMessage(String uniqueId, OutputStream resultStream)
Downloads the message with the specified sequence number and writes its data into a supplied stream
uniqueId
- The unique Id of the messageresultStream
- Stream that will receive the messagepublic void saveMessage(String uniqueId, String fileName)
Downloads the message with the specified sequence number and writes its data into a local file
uniqueId
- The unique Id of the messagefileName
- The path of the local file. This cannot be a directorypublic void saveMessage(int sequenceNumber, String fileName)
Downloads the message with the specified sequence number and writes its data into a local file
sequenceNumber
- The sequence number of the messagefileName
- The path of the local file. This cannot be a directorypublic com.aspose.ms.System.IAsyncResult beginSelectFolder(IConnection iConnection, String folderName)
Begins select the specified folder asynchronously.
iConnection
- Connection to a serverfolderName
- Name of the folder.System.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginSelectFolder(IConnection iConnection, String folderName, com.aspose.ms.System.AsyncCallback callback)
Begins select the specified folder asynchronously.
iConnection
- Connection to a serverfolderName
- Name of the folder.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 beginSelectFolder(IConnection iConnection, String folderName, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins select the specified folder asynchronously.
iConnection
- Connection to a serverfolderName
- Name of the folder.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 beginSelectFolder(IConnection iConnection, String folderName, boolean readOnly, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins select the specified folder asynchronously.
iConnection
- Connection to a serverfolderName
- Name of the folder.readOnly
- Specifies whether the folder is to be selected as read-onlycallback
- 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 beginSelectFolder(String folderName)
Begins select the specified folder asynchronously.
folderName
- Name of the folder.System.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginSelectFolder(String folderName, com.aspose.ms.System.AsyncCallback callback)
Begins select the specified folder asynchronously.
folderName
- Name of the folder.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 beginSelectFolder(String folderName, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins select the specified folder asynchronously.
folderName
- Name of the folder.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 beginSelectFolder(String folderName, boolean readOnly, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins select the specified folder asynchronously.
folderName
- Name of the folder.readOnly
- Specifies whether the folder is to be selected as read-onlycallback
- 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 ImapFolderInfo endSelectFolder(com.aspose.ms.System.IAsyncResult asyncResult)
Waits for the pending asynchronous message fetching to complete.
asyncResult
- The reference to the pending asynchronous request to wait for.MailMessage
that represents message.public void selectFolder(IConnection iConnection, String folderName)
Selects the specified folder
iConnection
- Connection to a serverfolderName
- Folder to be selectedpublic void selectFolder(IConnection iConnection, String folderName, boolean readOnly)
Selects the specified folder
iConnection
- Connection to a serverfolderName
- Folder to be selectedreadOnly
- Specifies whether the folder is to be selected as read-onlypublic void selectFolder(String folderName)
Selects the specified folder
folderName
- Folder to be selectedpublic void selectFolder(String folderName, boolean readOnly)
Selects the specified folder
folderName
- Folder to be selectedreadOnly
- Specifies whether the folder is to be selected as read-onlypublic com.aspose.ms.System.IAsyncResult beginSendCustomCommand(IConnection iConnection, String customCommand)
Begins send the specified custom command to the server.
iConnection
- Connection to a servercustomCommand
- A string containing the custom command to be send.System.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginSendCustomCommand(IConnection iConnection, String customCommand, com.aspose.ms.System.AsyncCallback callback)
Begins send the specified custom command to the server.
iConnection
- Connection to a servercustomCommand
- A string containing the custom command to be send.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 beginSendCustomCommand(IConnection iConnection, String customCommand, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins send the specified custom command to the server.
iConnection
- Connection to a servercustomCommand
- A string containing the custom command to be send.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 beginSendCustomCommand(IConnection iConnection, String nextCommandPart, String commandId)
Begins send the specified custom command to the server.
iConnection
- Connection to a servernextCommandPart
- A string containing the next custom command part to be send.commandId
- A command identifier. (It's contained in the ImapResponse
returned by the SendCustomCommand(string command).)System.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginSendCustomCommand(IConnection iConnection, String nextCommandPart, String commandId, com.aspose.ms.System.AsyncCallback callback)
Begins send the specified custom command to the server.
iConnection
- Connection to a servernextCommandPart
- A string containing the next custom command part to be send.commandId
- A command identifier. (It's contained in the ImapResponse
returned by the SendCustomCommand(string 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 beginSendCustomCommand(IConnection iConnection, String nextCommandPart, String commandId, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins send the specified custom command to the server.
iConnection
- Connection to a servernextCommandPart
- A string containing the next custom command part to be send.commandId
- A command identifier. (It's contained in the ImapResponse
returned by the SendCustomCommand(string 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 com.aspose.ms.System.IAsyncResult beginSendCustomCommand(String customCommand)
Begins send the specified custom command to the server.
customCommand
- A string containing the custom command to be send.System.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginSendCustomCommand(String customCommand, com.aspose.ms.System.AsyncCallback callback)
Begins send the specified custom command to the server.
customCommand
- A string containing the custom command to be send.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 beginSendCustomCommand(String customCommand, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins send the specified custom command to the server.
customCommand
- A string containing the custom command to be send.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 beginSendCustomCommand(String nextCommandPart, String commandId)
Begins send the specified custom command to the server.
nextCommandPart
- A string containing the next custom command part to be send.commandId
- A command identifier. (It's contained in the ImapResponse
returned by the SendCustomCommand(string command).)System.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginSendCustomCommand(String nextCommandPart, String commandId, com.aspose.ms.System.AsyncCallback callback)
Begins send the specified custom command to the server.
nextCommandPart
- A string containing the next custom command part to be send.commandId
- A command identifier. (It's contained in the ImapResponse
returned by the SendCustomCommand(string 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 beginSendCustomCommand(String nextCommandPart, String commandId, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins send the specified custom command to the server.
nextCommandPart
- A string containing the next custom command part to be send.commandId
- A command identifier. (It's contained in the ImapResponse
returned by the SendCustomCommand(string 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 ImapResponse endSendCustomCommand(com.aspose.ms.System.IAsyncResult asyncResult)
Waits for the pending asynchronous operation to complete.
asyncResult
- The reference to the pending asynchronous request to wait for.ImapResponse
representing the response received from server.public ImapResponse sendCustomCommand(IConnection iConnection, String customCommand)
Send the specified custom command to the server.
iConnection
- Connection to a servercustomCommand
- A string containing the custom command to be send.ImapResponse
representing the response received from server.public ImapResponse sendCustomCommand(IConnection iConnection, String nextCommandPart, String commandId)
Send the specified custom command to the server.
iConnection
- Connection to a servernextCommandPart
- A string containing the next custom command part to be send.commandId
- A command identifier.
(It's contained in the ImapResponse
returned by the SendCustomCommand(string command).)ImapResponse
representing the response received from server.public ImapResponse sendCustomCommand(String customCommand)
Send the specified custom command to the server.
customCommand
- A string containing the custom command to be send.ImapResponse
representing the response received from server.public ImapResponse sendCustomCommand(String nextCommandPart, String commandId)
Send the specified custom command to the server.
nextCommandPart
- A string containing the next custom command part to be send.commandId
- A command identifier.
(It's contained in the ImapResponse
returned by the SendCustomCommand(string command).)ImapResponse
representing the response received from server.public com.aspose.ms.System.IAsyncResult beginSubscribeFolder(IConnection iConnection, String folderName)
Begins subscribe operation that adds the specified mailbox name to the server's set of "active" mailboxes.
iConnection
- Connection to a serverfolderName
- Name of the folderSystem.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginSubscribeFolder(IConnection iConnection, String folderName, com.aspose.ms.System.AsyncCallback callback)
Begins subscribe operation that adds the specified mailbox name to the server's set of "active" mailboxes.
iConnection
- Connection to a serverfolderName
- Name of the foldercallback
- 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 beginSubscribeFolder(IConnection iConnection, String folderName, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins subscribe operation that adds the specified mailbox name to the server's set of "active" mailboxes.
iConnection
- Connection to a serverfolderName
- Name of the foldercallback
- 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 beginSubscribeFolder(String folderName)
Begins subscribe operation that adds the specified mailbox name to the server's set of "active" mailboxes.
folderName
- Name of the folderSystem.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginSubscribeFolder(String folderName, com.aspose.ms.System.AsyncCallback callback)
Begins subscribe operation that adds the specified mailbox name to the server's set of "active" mailboxes.
folderName
- Name of the foldercallback
- 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 beginSubscribeFolder(String folderName, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins subscribe operation that adds the specified mailbox name to the server's set of "active" mailboxes.
folderName
- Name of the foldercallback
- 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 endSubscribeFolder(com.aspose.ms.System.IAsyncResult asyncResult)
Waits for the pending asynchronous operation to complete.
asyncResult
- The reference to the pending asynchronous request to wait for.public void subscribeFolder(IConnection iConnection, String folderName)
Sent the SUBSCRIBE command that adds the specified mailbox name to the server's set of "active" mailboxes.
iConnection
- Connection to a serverfolderName
- Name of the folderpublic void subscribeFolder(String folderName)
Sent the SUBSCRIBE command that adds the specified mailbox name to the server's set of "active" mailboxes.
folderName
- Name of the folderpublic com.aspose.ms.System.IAsyncResult beginUndeleteMessage(IConnection iConnection, String uniqueId)
Marks a message with the specified sequence number as not deleted.
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 beginUndeleteMessage(IConnection iConnection, String uniqueId, com.aspose.ms.System.AsyncCallback callback)
Marks a message with the specified sequence number as not deleted.
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 beginUndeleteMessage(IConnection iConnection, String uniqueId, com.aspose.ms.System.AsyncCallback callback, Object state)
Marks a message with the specified sequence number as not deleted.
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 beginUndeleteMessage(IConnection iConnection, int sequenceNumber)
Marks a message with the specified sequence number as not deleted.
iConnection
- Connection to a serversequenceNumber
- The sequence number of messageSystem.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginUndeleteMessage(IConnection iConnection, int sequenceNumber, com.aspose.ms.System.AsyncCallback callback)
Marks a message with the specified sequence number as not deleted.
iConnection
- Connection to a serversequenceNumber
- The sequence number of 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 beginUndeleteMessage(IConnection iConnection, int sequenceNumber, com.aspose.ms.System.AsyncCallback callback, Object state)
Marks a message with the specified sequence number as not deleted.
iConnection
- Connection to a serversequenceNumber
- The sequence number of 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 beginUndeleteMessage(String uniqueId)
Marks a message with the specified sequence number as not deleted.
uniqueId
- The unique Id of the messageSystem.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginUndeleteMessage(String uniqueId, com.aspose.ms.System.AsyncCallback callback)
Marks a message with the specified sequence number as not deleted.
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 beginUndeleteMessage(String uniqueId, com.aspose.ms.System.AsyncCallback callback, Object state)
Marks a message with the specified sequence number as not deleted.
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 com.aspose.ms.System.IAsyncResult beginUndeleteMessage(int sequenceNumber)
Marks a message with the specified sequence number as not deleted.
sequenceNumber
- The sequence number of messageSystem.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginUndeleteMessage(int sequenceNumber, com.aspose.ms.System.AsyncCallback callback)
Marks a message with the specified sequence number as not deleted.
sequenceNumber
- The sequence number of 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 beginUndeleteMessage(int sequenceNumber, com.aspose.ms.System.AsyncCallback callback, Object state)
Marks a message with the specified sequence number as not deleted.
sequenceNumber
- The sequence number of 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 endUndeleteMessage(com.aspose.ms.System.IAsyncResult asyncResult)
Waits for the pending asynchronous operation to complete.
asyncResult
- The reference to the pending asynchronous request to wait for.public void undeleteMessage(IConnection iConnection, int sequenceNumber)
Marks a message with the specified sequence number as not deleted
iConnection
- Connection to a serversequenceNumber
- The sequence number of the messagepublic void undeleteMessage(IConnection iConnection, String uniqueId)
Marks a message with the specified sequence number as not deleted.
iConnection
- Connection to a serveruniqueId
- The unique Id of the messagepublic void undeleteMessage(int sequenceNumber)
Marks a message with the specified sequence number as not deleted
sequenceNumber
- The sequence number of the messagepublic void undeleteMessage(String uniqueId)
Marks a message with the specified sequence number as not deleted.
uniqueId
- The unique Id of the messagepublic com.aspose.ms.System.IAsyncResult beginUnselectFolder(IConnection iConnection)
Begins permanently removes all messages marked as deleted for currently selected folder and removes selected-state for current folder.
iConnection
- Connection to a serverSystem.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginUnselectFolder(IConnection iConnection, com.aspose.ms.System.AsyncCallback callback)
Begins permanently removes all messages marked as deleted for currently selected folder and removes selected-state for current folder.
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 beginUnselectFolder(IConnection iConnection, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins permanently removes all messages marked as deleted for currently selected folder and removes selected-state for current folder.
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 beginUnselectFolder()
Begins permanently removes all messages marked as deleted for currently selected folder and removes selected-state for current folder.
System.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginUnselectFolder(com.aspose.ms.System.AsyncCallback callback)
Begins permanently removes all messages marked as deleted for currently selected folder and removes selected-state for current folder.
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 beginUnselectFolder(com.aspose.ms.System.AsyncCallback callback, Object state)
Begins permanently removes all messages marked as deleted for currently selected folder and removes selected-state for current folder.
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 endUnselectFolder(com.aspose.ms.System.IAsyncResult asyncResult)
Waits for the pending asynchronous operation to complete.
asyncResult
- The reference to the pending asynchronous request to wait for.public void unselectFolder(IConnection iConnection)
Permanently removes all messages marked as deleted for currently selected folder and removes selected-state for this folder.
iConnection
- Connection to a serverpublic void unselectFolder()
Permanently removes all messages marked as deleted for currently selected folder and removes selected-state for this folder.
public com.aspose.ms.System.IAsyncResult beginUnsubscribeFolder(IConnection iConnection, String folderName)
Begins unsubscribe operation that removes the specified mailbox name from the server's set of "active" mailboxes
iConnection
- Connection to a serverfolderName
- Name of the folderSystem.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginUnsubscribeFolder(IConnection iConnection, String folderName, com.aspose.ms.System.AsyncCallback callback)
Begins unsubscribe operation that removes the specified mailbox name from the server's set of "active" mailboxes
iConnection
- Connection to a serverfolderName
- Name of the foldercallback
- 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 beginUnsubscribeFolder(IConnection iConnection, String folderName, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins unsubscribe operation that removes the specified mailbox name from the server's set of "active" mailboxes
iConnection
- Connection to a serverfolderName
- Name of the foldercallback
- 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 beginUnsubscribeFolder(String folderName)
Begins unsubscribe operation that removes the specified mailbox name from the server's set of "active" mailboxes
folderName
- Name of the folderSystem.IAsyncResult
that represents the status of an asynchronous operation.public com.aspose.ms.System.IAsyncResult beginUnsubscribeFolder(String folderName, com.aspose.ms.System.AsyncCallback callback)
Begins unsubscribe operation that removes the specified mailbox name from the server's set of "active" mailboxes
folderName
- Name of the foldercallback
- 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 beginUnsubscribeFolder(String folderName, com.aspose.ms.System.AsyncCallback callback, Object state)
Begins unsubscribe operation that removes the specified mailbox name from the server's set of "active" mailboxes
folderName
- Name of the foldercallback
- 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 endUnsubscribeFolder(com.aspose.ms.System.IAsyncResult asyncResult)
Waits for the pending asynchronous operation to complete.
asyncResult
- The reference to the pending asynchronous request to wait for.public void unsubscribeFolder(IConnection iConnection, String folderName)
Sent the UNSUBSCRIBE command that removes the specified mailbox name from the server's set of "active" mailboxes
iConnection
- Connection to a serverfolderName
- Name of the folderpublic void unsubscribeFolder(String folderName)
Sent the UNSUBSCRIBE command that removes the specified mailbox name from the server's set of "active" mailboxes
folderName
- Name of the folderCopyright (c) 2008-2015 Aspose Pty Ltd. All Rights Reserved.