ImapClient
Inheritance: java.lang.Object, com.aspose.email.EmailClient
public final class ImapClient extends EmailClient
Allows applications to access and manipulate messages by using the Internet Message Access Protocol (IMAP).
Constructors
Methods
ImapClient()
public ImapClient()
Initializes a new instance of the ImapClient class
ImapClient(String host)
public ImapClient(String host)
Initializes a new instance of the ImapClient class
Parameters:
Parameter | Type | Description |
---|---|---|
host | java.lang.String | The host name |
ImapClient(String host, short securityOptions)
public ImapClient(String host, short securityOptions)
Initializes a new instance of the ImapClient class
Parameters:
Parameter | Type | Description |
---|---|---|
host | java.lang.String | The host name |
securityOptions | short | Security mode for a mail client |
ImapClient(String host, int port)
public ImapClient(String host, int port)
Initializes a new instance of the ImapClient class
Parameters:
Parameter | Type | Description |
---|---|---|
host | java.lang.String | The host name |
port | int | The port number |
ImapClient(String host, int port, int securityOptions)
public ImapClient(String host, int port, int securityOptions)
Initializes a new instance of the ImapClient class
Parameters:
Parameter | Type | Description |
---|---|---|
host | java.lang.String | The host name |
port | int | The port number |
securityOptions | int | Security mode for a mail client |
ImapClient(String host, String username, String password)
public ImapClient(String host, String username, String password)
Initializes a new instance of the ImapClient class
Parameters:
Parameter | Type | Description |
---|---|---|
host | java.lang.String | The host name |
username | java.lang.String | The user name |
password | java.lang.String | The password |
ImapClient(String host, String username, String password, int securityOptions)
public ImapClient(String host, String username, String password, int securityOptions)
Initializes a new instance of the ImapClient class
Parameters:
Parameter | Type | Description |
---|---|---|
host | java.lang.String | The host name |
username | java.lang.String | The user name |
password | java.lang.String | The password |
securityOptions | int | Security mode for a mail client |
ImapClient(String host, int port, String username, String password)
public ImapClient(String host, int port, String username, String password)
Initializes a new instance of the ImapClient class
Parameters:
Parameter | Type | Description |
---|---|---|
host | java.lang.String | The host name |
port | int | The port number |
username | java.lang.String | The user name |
password | java.lang.String | The password |
ImapClient(String host, int port, String username, String password, int securityOptions)
public ImapClient(String host, int port, String username, String password, int securityOptions)
Initializes a new instance of the ImapClient class
Parameters:
Parameter | Type | Description |
---|---|---|
host | java.lang.String | The host name |
port | int | The port number |
username | java.lang.String | The user name |
password | java.lang.String | The password |
securityOptions | int | Security mode for a mail client |
ImapClient(String host, int port, String username, String password, System.Net.Security.RemoteCertificateValidationCallback userCertificateValidationCallback)
public ImapClient(String host, int port, String username, String password, System.Net.Security.RemoteCertificateValidationCallback userCertificateValidationCallback)
Initializes a new instance of the ImapClient class
Parameters:
Parameter | Type | Description |
---|---|---|
host | java.lang.String | The host name |
port | int | The portnumber |
username | java.lang.String | The user name |
password | java.lang.String | The password |
userCertificateValidationCallback | com.aspose.ms.System.Net.Security.RemoteCertificateValidationCallback | System.Net.Security.RemoteCertificateValidationCallback |
ImapClient(String host, int port, String username, String password, System.Net.Security.RemoteCertificateValidationCallback userCertificateValidationCallback, int securityOptions)
public ImapClient(String host, int port, String username, String password, System.Net.Security.RemoteCertificateValidationCallback userCertificateValidationCallback, int securityOptions)
Initializes a new instance of the ImapClient class
Parameters:
Parameter | Type | Description |
---|---|---|
host | java.lang.String | The host name |
port | int | The portnumber |
username | java.lang.String | The user name |
password | java.lang.String | The password |
userCertificateValidationCallback | com.aspose.ms.System.Net.Security.RemoteCertificateValidationCallback | System.Net.Security.RemoteCertificateValidationCallback |
securityOptions | int | Security mode for a mail client |
ImapClient(String host, String username, String authInfo, boolean useOAuth)
public ImapClient(String host, String username, String authInfo, boolean useOAuth)
Initializes a new instance of the ImapClient class
Parameters:
Parameter | Type | Description |
---|---|---|
host | java.lang.String | The host name |
username | java.lang.String | The user name |
authInfo | java.lang.String | The user password or XOAUTH2 access token |
useOAuth | boolean | Defines whether SASL XOAUTH2 mechanism is used to login to the server |
ImapClient(String host, String username, String authInfo, boolean useOAuth, int securityOptions)
public ImapClient(String host, String username, String authInfo, boolean useOAuth, int securityOptions)
Initializes a new instance of the ImapClient class
Parameters:
Parameter | Type | Description |
---|---|---|
host | java.lang.String | The host name |
username | java.lang.String | The user name |
authInfo | java.lang.String | The user password or XOAUTH2 access token |
useOAuth | boolean | Defines whether SASL XOAUTH2 mechanism is used to login to the server |
securityOptions | int | Security mode for a mail client |
ImapClient(String host, int port, String username, String authInfo, boolean useOAuth)
public ImapClient(String host, int port, String username, String authInfo, boolean useOAuth)
Initializes a new instance of the ImapClient class
Parameters:
Parameter | Type | Description |
---|---|---|
host | java.lang.String | The host name |
port | int | The port number |
username | java.lang.String | The user name |
authInfo | java.lang.String | The user password or XOAUTH2 access token |
useOAuth | boolean | Defines whether SASL XOAUTH2 mechanism is used to login to the server |
ImapClient(String host, int port, String username, String authInfo, boolean useOAuth, int securityOptions)
public ImapClient(String host, int port, String username, String authInfo, boolean useOAuth, int securityOptions)
Initializes a new instance of the ImapClient class
Parameters:
Parameter | Type | Description |
---|---|---|
host | java.lang.String | The host name |
port | int | The port number |
username | java.lang.String | The user name |
authInfo | java.lang.String | The user password or XOAUTH2 access token |
useOAuth | boolean | Defines whether SASL XOAUTH2 mechanism is used to login to the server |
securityOptions | int | Security mode for a mail client |
ImapClient(String host, String username, ITokenProvider tokenProvider)
public ImapClient(String host, String username, ITokenProvider tokenProvider)
Initializes a new instance of the ImapClient class
Parameters:
Parameter | Type | Description |
---|---|---|
host | java.lang.String | The host name |
username | java.lang.String | The user name |
tokenProvider | ITokenProvider | TokenProvider allowing to retrieve access token. |
ImapClient(String host, String username, ITokenProvider tokenProvider, int securityOptions)
public ImapClient(String host, String username, ITokenProvider tokenProvider, int securityOptions)
Initializes a new instance of the ImapClient class
Parameters:
Parameter | Type | Description |
---|---|---|
host | java.lang.String | The host name |
username | java.lang.String | The user name |
tokenProvider | ITokenProvider | TokenProvider allowing to retrieve access token. |
securityOptions | int | Security mode for a mail client |
ImapClient(String host, int port, String username, ITokenProvider tokenProvider)
public ImapClient(String host, int port, String username, ITokenProvider tokenProvider)
Initializes a new instance of the ImapClient class
Parameters:
Parameter | Type | Description |
---|---|---|
host | java.lang.String | The host name |
port | int | The port number |
username | java.lang.String | The user name |
tokenProvider | ITokenProvider | TokenProvider allowing to retrieve access token. |
ImapClient(String host, int port, String username, ITokenProvider tokenProvider, int securityOptions)
public ImapClient(String host, int port, String username, ITokenProvider tokenProvider, int securityOptions)
Initializes a new instance of the ImapClient class
Parameters:
Parameter | Type | Description |
---|---|---|
host | java.lang.String | The host name |
port | int | The port number |
username | java.lang.String | The user name |
tokenProvider | ITokenProvider | TokenProvider allowing to retrieve access token. |
securityOptions | int | Security mode for a mail client |
addMessageFlags(IConnection connection, int sequenceNumber, ImapMessageFlags flags)
public final void addMessageFlags(IConnection connection, int sequenceNumber, ImapMessageFlags flags)
Adds the flags to the message
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceNumber | int | The sequence number of the message |
flags | ImapMessageFlags | The flags to be added |
addMessageFlags(IConnection connection, int sequenceNumber, ImapMessageFlags flags, long modificationSequence)
public final void addMessageFlags(IConnection connection, int sequenceNumber, ImapMessageFlags flags, long modificationSequence)
Adds the flags to the message
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceNumber | int | The sequence number of the message |
flags | ImapMessageFlags | The flags to be added |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
addMessageFlags(IConnection connection, int startSequence, int endSequence, ImapMessageFlags flags)
public final void addMessageFlags(IConnection connection, int startSequence, int endSequence, ImapMessageFlags flags)
Adds the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
startSequence | int | The starting sequence number of a message list |
endSequence | int | The ending sequence number of a message list |
flags | ImapMessageFlags | The flags to be removed |
addMessageFlags(IConnection connection, int startSequence, int endSequence, ImapMessageFlags flags, long modificationSequence)
public final void addMessageFlags(IConnection connection, int startSequence, int endSequence, ImapMessageFlags flags, long modificationSequence)
Adds the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
startSequence | int | The starting sequence number of a message list |
endSequence | int | The ending sequence number of a message list |
flags | ImapMessageFlags | The flags to be removed |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
addMessageFlags(IConnection connection, Iterable messageInfoSet, ImapMessageFlags flags)
public final void addMessageFlags(IConnection connection, Iterable<ImapMessageInfo> messageInfoSet, ImapMessageFlags flags)
Adds the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
messageInfoSet | java.lang.Iterable<com.aspose.email.ImapMessageInfo> | The set of ImapMessageInfo |
flags | ImapMessageFlags | The flags to be changed |
addMessageFlags(IConnection connection, Iterable messageInfoSet, ImapMessageFlags flags, long modificationSequence)
public final void addMessageFlags(IConnection connection, Iterable<ImapMessageInfo> messageInfoSet, ImapMessageFlags flags, long modificationSequence)
Adds the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
messageInfoSet | java.lang.Iterable<com.aspose.email.ImapMessageInfo> | The set of ImapMessageInfo |
flags | ImapMessageFlags | The flags to be changed |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
addMessageFlags(IConnection connection, String uniqueId, ImapMessageFlags flags)
public final void addMessageFlags(IConnection connection, String uniqueId, ImapMessageFlags flags)
Adds the flags to the message
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uniqueId | java.lang.String | Unique identifier of a message |
flags | ImapMessageFlags | The flags to be added |
addMessageFlags(IConnection connection, String uniqueId, ImapMessageFlags flags, long modificationSequence)
public final void addMessageFlags(IConnection connection, String uniqueId, ImapMessageFlags flags, long modificationSequence)
Adds the flags to the message
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uniqueId | java.lang.String | Unique identifier of a message |
flags | ImapMessageFlags | The flags to be added |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
addMessageFlags(IConnection connection, String startUid, String endUid, ImapMessageFlags flags)
public final void addMessageFlags(IConnection connection, String startUid, String endUid, ImapMessageFlags flags)
Adds the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
startUid | java.lang.String | The starting UID of a message list |
endUid | java.lang.String | The ending UID of a message list |
flags | ImapMessageFlags | The flags to be changed |
addMessageFlags(IConnection connection, String startUid, String endUid, ImapMessageFlags flags, long modificationSequence)
public final void addMessageFlags(IConnection connection, String startUid, String endUid, ImapMessageFlags flags, long modificationSequence)
Adds the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
startUid | java.lang.String | The starting UID of a message list |
endUid | java.lang.String | The ending UID of a message list |
flags | ImapMessageFlags | The flags to be changed |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
addMessageFlags(int sequenceNumber, ImapMessageFlags flags)
public final void addMessageFlags(int sequenceNumber, ImapMessageFlags flags)
Adds the flags to the message
Parameters:
Parameter | Type | Description |
---|---|---|
sequenceNumber | int | The sequence number of the message |
flags | ImapMessageFlags | The flags to be added |
addMessageFlags(int sequenceNumber, ImapMessageFlags flags, long modificationSequence)
public final void addMessageFlags(int sequenceNumber, ImapMessageFlags flags, long modificationSequence)
Adds the flags to the message
Parameters:
Parameter | Type | Description |
---|---|---|
sequenceNumber | int | The sequence number of the message |
flags | ImapMessageFlags | The flags to be added |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
addMessageFlags(int startSequence, int endSequence, ImapMessageFlags flags)
public final void addMessageFlags(int startSequence, int endSequence, ImapMessageFlags flags)
Adds the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
startSequence | int | The starting sequence number of a message list |
endSequence | int | The ending sequence number of a message list |
flags | ImapMessageFlags | The flags to be removed |
addMessageFlags(int startSequence, int endSequence, ImapMessageFlags flags, long modificationSequence)
public final void addMessageFlags(int startSequence, int endSequence, ImapMessageFlags flags, long modificationSequence)
Adds the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
startSequence | int | The starting sequence number of a message list |
endSequence | int | The ending sequence number of a message list |
flags | ImapMessageFlags | The flags to be removed |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
addMessageFlags(Iterable messageInfoSet, ImapMessageFlags flags)
public final void addMessageFlags(Iterable<ImapMessageInfo> messageInfoSet, ImapMessageFlags flags)
Adds the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
messageInfoSet | java.lang.Iterable<com.aspose.email.ImapMessageInfo> | The set of ImapMessageInfo |
flags | ImapMessageFlags | The flags to be changed |
addMessageFlags(Iterable messageInfoSet, ImapMessageFlags flags, long modificationSequence)
public final void addMessageFlags(Iterable<ImapMessageInfo> messageInfoSet, ImapMessageFlags flags, long modificationSequence)
Adds the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
messageInfoSet | java.lang.Iterable<com.aspose.email.ImapMessageInfo> | The set of ImapMessageInfo |
flags | ImapMessageFlags | The flags to be changed |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
addMessageFlags(String uniqueId, ImapMessageFlags flags)
public final void addMessageFlags(String uniqueId, ImapMessageFlags flags)
Adds the flags to the message
Parameters:
Parameter | Type | Description |
---|---|---|
uniqueId | java.lang.String | Unique identifier of a message |
flags | ImapMessageFlags | The flags to be added |
addMessageFlags(String uniqueId, ImapMessageFlags flags, long modificationSequence)
public final void addMessageFlags(String uniqueId, ImapMessageFlags flags, long modificationSequence)
Adds the flags to the message
Parameters:
Parameter | Type | Description |
---|---|---|
uniqueId | java.lang.String | Unique identifier of a message |
flags | ImapMessageFlags | The flags to be added |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
addMessageFlags(String startUid, String endUid, ImapMessageFlags flags)
public final void addMessageFlags(String startUid, String endUid, ImapMessageFlags flags)
Adds the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
startUid | java.lang.String | The starting UID of a message list |
endUid | java.lang.String | The ending UID of a message list |
flags | ImapMessageFlags | The flags to be changed |
addMessageFlags(String startUid, String endUid, ImapMessageFlags flags, long modificationSequence)
public final void addMessageFlags(String startUid, String endUid, ImapMessageFlags flags, long modificationSequence)
Adds the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
startUid | java.lang.String | The starting UID of a message list |
endUid | java.lang.String | The ending UID of a message list |
flags | ImapMessageFlags | The flags to be changed |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
addMessageFlagsBySequences(IConnection connection, Iterable sequenceSet, ImapMessageFlags flags)
public final void addMessageFlagsBySequences(IConnection connection, Iterable<Integer> sequenceSet, ImapMessageFlags flags)
Adds the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceSet | java.lang.Iterable<java.lang.Integer> | The set of sequence numbers for messages |
flags | ImapMessageFlags | The flags to be removed |
addMessageFlagsBySequences(IConnection connection, Iterable sequenceSet, ImapMessageFlags flags, long modificationSequence)
public final void addMessageFlagsBySequences(IConnection connection, Iterable<Integer> sequenceSet, ImapMessageFlags flags, long modificationSequence)
Adds the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceSet | java.lang.Iterable<java.lang.Integer> | The set of sequence numbers for messages |
flags | ImapMessageFlags | The flags to be removed |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
addMessageFlagsBySequences(Iterable sequenceSet, ImapMessageFlags flags)
public final void addMessageFlagsBySequences(Iterable<Integer> sequenceSet, ImapMessageFlags flags)
Adds the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
sequenceSet | java.lang.Iterable<java.lang.Integer> | The set of sequence numbers for messages |
flags | ImapMessageFlags | The flags to be removed |
addMessageFlagsBySequences(Iterable sequenceSet, ImapMessageFlags flags, long modificationSequence)
public final void addMessageFlagsBySequences(Iterable<Integer> sequenceSet, ImapMessageFlags flags, long modificationSequence)
Adds the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
sequenceSet | java.lang.Iterable<java.lang.Integer> | The set of sequence numbers for messages |
flags | ImapMessageFlags | The flags to be removed |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
addMessageFlagsByUids(IConnection connection, Iterable uidSet, ImapMessageFlags flags)
public final void addMessageFlagsByUids(IConnection connection, Iterable<String> uidSet, ImapMessageFlags flags)
Adds the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uidSet | java.lang.Iterable<java.lang.String> | The set of UID for messages |
flags | ImapMessageFlags | The flags to be changed |
addMessageFlagsByUids(IConnection connection, Iterable uidSet, ImapMessageFlags flags, long modificationSequence)
public final void addMessageFlagsByUids(IConnection connection, Iterable<String> uidSet, ImapMessageFlags flags, long modificationSequence)
Adds the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uidSet | java.lang.Iterable<java.lang.String> | The set of UID for messages |
flags | ImapMessageFlags | The flags to be changed |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
addMessageFlagsByUids(Iterable uidSet, ImapMessageFlags flags)
public final void addMessageFlagsByUids(Iterable<String> uidSet, ImapMessageFlags flags)
Adds the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
uidSet | java.lang.Iterable<java.lang.String> | The set of UID for messages |
flags | ImapMessageFlags | The flags to be changed |
addMessageFlagsByUids(Iterable uidSet, ImapMessageFlags flags, long modificationSequence)
public final void addMessageFlagsByUids(Iterable<String> uidSet, ImapMessageFlags flags, long modificationSequence)
Adds the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
uidSet | java.lang.Iterable<java.lang.String> | The set of UID for messages |
flags | ImapMessageFlags | The flags to be changed |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
appendMessage(IConnection connection, MailMessage message)
public final String appendMessage(IConnection connection, MailMessage message)
Uploads the mail message to the current folder If current folder hasn’t been specified default folder is used.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
message | MailMessage | Mail message to be upload |
Returns: java.lang.String - An unique id of appended message
appendMessage(IConnection connection, String fileName)
public final String appendMessage(IConnection connection, String fileName)
Uploads the mail message to the current folder If current folder hasn’t been specified default folder is used.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
fileName | java.lang.String | File name (*.eml) of the mail message that will be uploaded |
Returns: java.lang.String - An unique id of appended message
appendMessage(IConnection connection, String folderName, MailMessage message)
public final String appendMessage(IConnection connection, String folderName, MailMessage message)
Uploads the mail message to the specified folder
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
folderName | java.lang.String | Folder that will receive the mail message |
message | MailMessage | Mail message to be upload |
Returns: java.lang.String - An unique id of appended message
appendMessage(IConnection connection, String folderName, String fileName)
public final String appendMessage(IConnection connection, String folderName, String fileName)
Uploads the mail message to the specified folder
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
folderName | java.lang.String | Folder that will receive the mail message |
fileName | java.lang.String | File name (*.eml) of the mail message that will be uploaded |
Returns: java.lang.String - An unique id of appended message
appendMessage(MailMessage message)
public final String appendMessage(MailMessage message)
Uploads the mail message to the current folder If current folder hasn’t been specified default folder is used.
Parameters:
Parameter | Type | Description |
---|---|---|
message | MailMessage | Mail message to be upload |
Returns: java.lang.String - An unique id of appended message
appendMessage(String fileName)
public final String appendMessage(String fileName)
Uploads the mail message to the current folder If current folder hasn’t been specified default folder is used.
Parameters:
Parameter | Type | Description |
---|---|---|
fileName | java.lang.String | File name (*.eml) of the mail message that will be uploaded |
Returns: java.lang.String - An unique id of appended message
appendMessage(String folderName, MailMessage message)
public final String appendMessage(String folderName, MailMessage message)
Uploads the mail message to the specified folder
Parameters:
Parameter | Type | Description |
---|---|---|
folderName | java.lang.String | Folder that will receive the mail message |
message | MailMessage | Mail message to be upload |
Returns: java.lang.String - An unique id of appended message
appendMessage(String folderName, String fileName)
public final String appendMessage(String folderName, String fileName)
Uploads the mail message to the specified folder
Parameters:
Parameter | Type | Description |
---|---|---|
folderName | java.lang.String | Folder that will receive the mail message |
fileName | java.lang.String | File name (*.eml) of the mail message that will be uploaded |
Returns: java.lang.String - An unique id of appended message
appendMessages(IConnection connection, Iterable messages)
public final AppendMessagesResult appendMessages(IConnection connection, Iterable<MailMessage> messages)
Uploads the mail message to the current folder If current folder hasn’t been specified default folder is used.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
messages | java.lang.Iterable<com.aspose.email.MailMessage> | Enumeration of email messages to be upload |
Returns: AppendMessagesResult - An unique id of appended message
appendMessages(IConnection connection, String folderName, Iterable messages)
public final AppendMessagesResult appendMessages(IConnection connection, String folderName, Iterable<MailMessage> messages)
Uploads the mail message to the specified folder
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
folderName | java.lang.String | Folder that will receive the mail message |
messages | java.lang.Iterable<com.aspose.email.MailMessage> | Enumeration of email messages to be upload |
Returns: AppendMessagesResult - An unique id of appended message
appendMessages(Iterable messages)
public final AppendMessagesResult appendMessages(Iterable<MailMessage> messages)
Uploads the mail message to the current folder If current folder hasn’t been specified default folder is used.
Parameters:
Parameter | Type | Description |
---|---|---|
messages | java.lang.Iterable<com.aspose.email.MailMessage> | Enumeration of email messages to be upload |
Returns: AppendMessagesResult - An unique id of appended message
appendMessages(String folderName, Iterable messages)
public final AppendMessagesResult appendMessages(String folderName, Iterable<MailMessage> messages)
Uploads the mail message to the specified folder
Parameters:
Parameter | Type | Description |
---|---|---|
folderName | java.lang.String | Folder that will receive the mail message |
messages | java.lang.Iterable<com.aspose.email.MailMessage> | Enumeration of email messages to be upload |
Returns: AppendMessagesResult - An unique id of appended message
backup(IConnection connection, ImapFolderInfoCollection folders, OutputStream stream, BackupSettings options)
public final void backup(IConnection connection, ImapFolderInfoCollection folders, OutputStream stream, BackupSettings options)
Backups the content of the specified folders
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
folders | ImapFolderInfoCollection | A folders to backup |
stream | java.io.OutputStream | A stream to write into |
options | BackupSettings | A backup options |
backup(IConnection connection, ImapFolderInfoCollection folders, OutputStream stream, int options)
public final void backup(IConnection connection, ImapFolderInfoCollection folders, OutputStream stream, int options)
Backups the content of the specified folders
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
folders | ImapFolderInfoCollection | A folders to backup |
stream | java.io.OutputStream | A stream to write into |
options | int | A backup options |
backup(IConnection connection, ImapFolderInfoCollection folders, String fileName, BackupSettings options)
public final void backup(IConnection connection, ImapFolderInfoCollection folders, String fileName, BackupSettings options)
Backups the content of the specified folders
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
folders | ImapFolderInfoCollection | A folders to backup |
fileName | java.lang.String | A path to the presonal storage file |
options | BackupSettings | A backup options |
backup(IConnection connection, ImapFolderInfoCollection folders, String fileName, int options)
public final void backup(IConnection connection, ImapFolderInfoCollection folders, String fileName, int options)
Backups the content of the specified folders
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
folders | ImapFolderInfoCollection | A folders to backup |
fileName | java.lang.String | A path to the presonal storage file |
options | int | A backup options |
backup(ImapFolderInfoCollection folders, OutputStream stream, BackupSettings options)
public final void backup(ImapFolderInfoCollection folders, OutputStream stream, BackupSettings options)
Backups the content of the specified folders
Parameters:
Parameter | Type | Description |
---|---|---|
folders | ImapFolderInfoCollection | A folders to backup |
stream | java.io.OutputStream | A stream to write into |
options | BackupSettings | A backup options |
backup(ImapFolderInfoCollection folders, OutputStream stream, int options)
public final void backup(ImapFolderInfoCollection folders, OutputStream stream, int options)
Backups the content of the specified folders
Parameters:
Parameter | Type | Description |
---|---|---|
folders | ImapFolderInfoCollection | A folders to backup |
stream | java.io.OutputStream | A stream to write into |
options | int | A backup options |
backup(ImapFolderInfoCollection folders, String fileName, BackupSettings options)
public final void backup(ImapFolderInfoCollection folders, String fileName, BackupSettings options)
Backups the content of the specified folders
Parameters:
Parameter | Type | Description |
---|---|---|
folders | ImapFolderInfoCollection | A folders to backup |
fileName | java.lang.String | A path to the presonal storage file |
options | BackupSettings | A backup options |
backup(ImapFolderInfoCollection folders, String fileName, int options)
public final void backup(ImapFolderInfoCollection folders, String fileName, int options)
Backups the content of the specified folders
Parameters:
Parameter | Type | Description |
---|---|---|
folders | ImapFolderInfoCollection | A folders to backup |
fileName | java.lang.String | A path to the presonal storage file |
options | int | A backup options |
beginAddMessageFlags(IConnection connection, int sequenceNumber, ImapMessageFlags flags)
public final System.IAsyncResult beginAddMessageFlags(IConnection connection, int sequenceNumber, ImapMessageFlags flags)
Adds the flags to the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceNumber | int | The sequence number of message |
flags | ImapMessageFlags | The flags to be added |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginAddMessageFlags(IConnection connection, int sequenceNumber, ImapMessageFlags flags, System.AsyncCallback callback)
public final System.IAsyncResult beginAddMessageFlags(IConnection connection, int sequenceNumber, ImapMessageFlags flags, System.AsyncCallback callback)
Adds the flags to the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceNumber | int | The sequence number of message |
flags | ImapMessageFlags | The flags to be added |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginAddMessageFlags(IConnection connection, int sequenceNumber, ImapMessageFlags flags, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginAddMessageFlags(IConnection connection, int sequenceNumber, ImapMessageFlags flags, System.AsyncCallback callback, Object state)
Adds the flags to the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceNumber | int | The sequence number of message |
flags | ImapMessageFlags | The flags to be added |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginAddMessageFlags(IConnection connection, int sequenceNumber, ImapMessageFlags flags, long modificationSequence)
public final System.IAsyncResult beginAddMessageFlags(IConnection connection, int sequenceNumber, ImapMessageFlags flags, long modificationSequence)
Adds the flags to the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceNumber | int | The sequence number of message |
flags | ImapMessageFlags | The flags to be added |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginAddMessageFlags(IConnection connection, int sequenceNumber, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback)
public final System.IAsyncResult beginAddMessageFlags(IConnection connection, int sequenceNumber, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback)
Adds the flags to the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceNumber | int | The sequence number of message |
flags | ImapMessageFlags | The flags to be added |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginAddMessageFlags(IConnection connection, int sequenceNumber, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginAddMessageFlags(IConnection connection, int sequenceNumber, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback, Object state)
Adds the flags to the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceNumber | int | The sequence number of message |
flags | ImapMessageFlags | The flags to be added |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginAddMessageFlags(IConnection connection, int startSequence, int endSequence, ImapMessageFlags flags)
public final System.IAsyncResult beginAddMessageFlags(IConnection connection, int startSequence, int endSequence, ImapMessageFlags flags)
Adds the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
startSequence | int | The starting sequence number of a message list |
endSequence | int | The ending sequence number of a message list |
flags | ImapMessageFlags | Flag value |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginAddMessageFlags(IConnection connection, int startSequence, int endSequence, ImapMessageFlags flags, System.AsyncCallback callback)
public final System.IAsyncResult beginAddMessageFlags(IConnection connection, int startSequence, int endSequence, ImapMessageFlags flags, System.AsyncCallback callback)
Adds the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
startSequence | int | The starting sequence number of a message list |
endSequence | int | The ending sequence number of a message list |
flags | ImapMessageFlags | Flag value |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginAddMessageFlags(IConnection connection, int startSequence, int endSequence, ImapMessageFlags flags, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginAddMessageFlags(IConnection connection, int startSequence, int endSequence, ImapMessageFlags flags, System.AsyncCallback callback, Object state)
Adds the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
startSequence | int | The starting sequence number of a message list |
endSequence | int | The ending sequence number of a message list |
flags | ImapMessageFlags | Flag value |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginAddMessageFlags(IConnection connection, int startSequence, int endSequence, ImapMessageFlags flags, long modificationSequence)
public final System.IAsyncResult beginAddMessageFlags(IConnection connection, int startSequence, int endSequence, ImapMessageFlags flags, long modificationSequence)
Adds the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
startSequence | int | The starting sequence number of a message list |
endSequence | int | The ending sequence number of a message list |
flags | ImapMessageFlags | Flag value |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginAddMessageFlags(IConnection connection, int startSequence, int endSequence, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback)
public final System.IAsyncResult beginAddMessageFlags(IConnection connection, int startSequence, int endSequence, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback)
Adds the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
startSequence | int | The starting sequence number of a message list |
endSequence | int | The ending sequence number of a message list |
flags | ImapMessageFlags | Flag value |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginAddMessageFlags(IConnection connection, int startSequence, int endSequence, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginAddMessageFlags(IConnection connection, int startSequence, int endSequence, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback, Object state)
Adds the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
startSequence | int | The starting sequence number of a message list |
endSequence | int | The ending sequence number of a message list |
flags | ImapMessageFlags | Flag value |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginAddMessageFlags(IConnection connection, Iterable messageInfoSet, ImapMessageFlags flags)
public final System.IAsyncResult beginAddMessageFlags(IConnection connection, Iterable<ImapMessageInfo> messageInfoSet, ImapMessageFlags flags)
Adds the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
messageInfoSet | java.lang.Iterable<com.aspose.email.ImapMessageInfo> | The set of ImapMessageInfo |
flags | ImapMessageFlags | Flag value |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginAddMessageFlags(IConnection connection, Iterable messageInfoSet, ImapMessageFlags flags, System.AsyncCallback callback)
public final System.IAsyncResult beginAddMessageFlags(IConnection connection, Iterable<ImapMessageInfo> messageInfoSet, ImapMessageFlags flags, System.AsyncCallback callback)
Adds the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
messageInfoSet | java.lang.Iterable<com.aspose.email.ImapMessageInfo> | The set of ImapMessageInfo |
flags | ImapMessageFlags | Flag value |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginAddMessageFlags(IConnection connection, Iterable messageInfoSet, ImapMessageFlags flags, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginAddMessageFlags(IConnection connection, Iterable<ImapMessageInfo> messageInfoSet, ImapMessageFlags flags, System.AsyncCallback callback, Object state)
Adds the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
messageInfoSet | java.lang.Iterable<com.aspose.email.ImapMessageInfo> | The set of ImapMessageInfo |
flags | ImapMessageFlags | Flag value |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginAddMessageFlags(IConnection connection, Iterable messageInfoSet, ImapMessageFlags flags, long modificationSequence)
public final System.IAsyncResult beginAddMessageFlags(IConnection connection, Iterable<ImapMessageInfo> messageInfoSet, ImapMessageFlags flags, long modificationSequence)
Adds the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
messageInfoSet | java.lang.Iterable<com.aspose.email.ImapMessageInfo> | The set of ImapMessageInfo |
flags | ImapMessageFlags | Flag value |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginAddMessageFlags(IConnection connection, Iterable messageInfoSet, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback)
public final System.IAsyncResult beginAddMessageFlags(IConnection connection, Iterable<ImapMessageInfo> messageInfoSet, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback)
Adds the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
messageInfoSet | java.lang.Iterable<com.aspose.email.ImapMessageInfo> | The set of ImapMessageInfo |
flags | ImapMessageFlags | Flag value |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginAddMessageFlags(IConnection connection, Iterable messageInfoSet, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginAddMessageFlags(IConnection connection, Iterable<ImapMessageInfo> messageInfoSet, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback, Object state)
Adds the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
messageInfoSet | java.lang.Iterable<com.aspose.email.ImapMessageInfo> | The set of ImapMessageInfo |
flags | ImapMessageFlags | Flag value |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginAddMessageFlags(IConnection connection, String uniqueId, ImapMessageFlags flags)
public final System.IAsyncResult beginAddMessageFlags(IConnection connection, String uniqueId, ImapMessageFlags flags)
Adds the flags to the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uniqueId | java.lang.String | Unique identifier of a message |
flags | ImapMessageFlags | The flags to be added |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginAddMessageFlags(IConnection connection, String uniqueId, ImapMessageFlags flags, System.AsyncCallback callback)
public final System.IAsyncResult beginAddMessageFlags(IConnection connection, String uniqueId, ImapMessageFlags flags, System.AsyncCallback callback)
Adds the flags to the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uniqueId | java.lang.String | Unique identifier of a message |
flags | ImapMessageFlags | The flags to be added |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginAddMessageFlags(IConnection connection, String uniqueId, ImapMessageFlags flags, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginAddMessageFlags(IConnection connection, String uniqueId, ImapMessageFlags flags, System.AsyncCallback callback, Object state)
Adds the flags to the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uniqueId | java.lang.String | Unique identifier of a message |
flags | ImapMessageFlags | The flags to be added |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginAddMessageFlags(IConnection connection, String uniqueId, ImapMessageFlags flags, long modificationSequence)
public final System.IAsyncResult beginAddMessageFlags(IConnection connection, String uniqueId, ImapMessageFlags flags, long modificationSequence)
Adds the flags to the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uniqueId | java.lang.String | Unique identifier of a message |
flags | ImapMessageFlags | The flags to be added |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginAddMessageFlags(IConnection connection, String uniqueId, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback)
public final System.IAsyncResult beginAddMessageFlags(IConnection connection, String uniqueId, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback)
Adds the flags to the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uniqueId | java.lang.String | Unique identifier of a message |
flags | ImapMessageFlags | The flags to be added |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginAddMessageFlags(IConnection connection, String uniqueId, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginAddMessageFlags(IConnection connection, String uniqueId, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback, Object state)
Adds the flags to the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uniqueId | java.lang.String | Unique identifier of a message |
flags | ImapMessageFlags | The flags to be added |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginAddMessageFlags(IConnection connection, String startUid, String endUid, ImapMessageFlags flags)
public final System.IAsyncResult beginAddMessageFlags(IConnection connection, String startUid, String endUid, ImapMessageFlags flags)
Adds the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
startUid | java.lang.String | The starting UID of a message list |
endUid | java.lang.String | The ending UID of a message list |
flags | ImapMessageFlags | Flag value |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginAddMessageFlags(IConnection connection, String startUid, String endUid, ImapMessageFlags flags, System.AsyncCallback callback)
public final System.IAsyncResult beginAddMessageFlags(IConnection connection, String startUid, String endUid, ImapMessageFlags flags, System.AsyncCallback callback)
Adds the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
startUid | java.lang.String | The starting UID of a message list |
endUid | java.lang.String | The ending UID of a message list |
flags | ImapMessageFlags | Flag value |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginAddMessageFlags(IConnection connection, String startUid, String endUid, ImapMessageFlags flags, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginAddMessageFlags(IConnection connection, String startUid, String endUid, ImapMessageFlags flags, System.AsyncCallback callback, Object state)
Adds the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
startUid | java.lang.String | The starting UID of a message list |
endUid | java.lang.String | The ending UID of a message list |
flags | ImapMessageFlags | Flag value |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginAddMessageFlags(IConnection connection, String startUid, String endUid, ImapMessageFlags flags, long modificationSequence)
public final System.IAsyncResult beginAddMessageFlags(IConnection connection, String startUid, String endUid, ImapMessageFlags flags, long modificationSequence)
Adds the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
startUid | java.lang.String | The starting UID of a message list |
endUid | java.lang.String | The ending UID of a message list |
flags | ImapMessageFlags | Flag value |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginAddMessageFlags(IConnection connection, String startUid, String endUid, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback)
public final System.IAsyncResult beginAddMessageFlags(IConnection connection, String startUid, String endUid, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback)
Adds the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
startUid | java.lang.String | The starting UID of a message list |
endUid | java.lang.String | The ending UID of a message list |
flags | ImapMessageFlags | Flag value |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginAddMessageFlags(IConnection connection, String startUid, String endUid, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginAddMessageFlags(IConnection connection, String startUid, String endUid, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback, Object state)
Adds the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
startUid | java.lang.String | The starting UID of a message list |
endUid | java.lang.String | The ending UID of a message list |
flags | ImapMessageFlags | Flag value |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginAddMessageFlags(int sequenceNumber, ImapMessageFlags flags)
public final System.IAsyncResult beginAddMessageFlags(int sequenceNumber, ImapMessageFlags flags)
Adds the flags to the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
sequenceNumber | int | The sequence number of message |
flags | ImapMessageFlags | The flags to be added |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginAddMessageFlags(int sequenceNumber, ImapMessageFlags flags, System.AsyncCallback callback)
public final System.IAsyncResult beginAddMessageFlags(int sequenceNumber, ImapMessageFlags flags, System.AsyncCallback callback)
Adds the flags to the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
sequenceNumber | int | The sequence number of message |
flags | ImapMessageFlags | The flags to be added |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginAddMessageFlags(int sequenceNumber, ImapMessageFlags flags, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginAddMessageFlags(int sequenceNumber, ImapMessageFlags flags, System.AsyncCallback callback, Object state)
Adds the flags to the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
sequenceNumber | int | The sequence number of message |
flags | ImapMessageFlags | The flags to be added |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginAddMessageFlags(int sequenceNumber, ImapMessageFlags flags, long modificationSequence)
public final System.IAsyncResult beginAddMessageFlags(int sequenceNumber, ImapMessageFlags flags, long modificationSequence)
Adds the flags to the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
sequenceNumber | int | The sequence number of message |
flags | ImapMessageFlags | The flags to be added |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginAddMessageFlags(int sequenceNumber, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback)
public final System.IAsyncResult beginAddMessageFlags(int sequenceNumber, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback)
Adds the flags to the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
sequenceNumber | int | The sequence number of message |
flags | ImapMessageFlags | The flags to be added |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginAddMessageFlags(int sequenceNumber, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginAddMessageFlags(int sequenceNumber, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback, Object state)
Adds the flags to the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
sequenceNumber | int | The sequence number of message |
flags | ImapMessageFlags | The flags to be added |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginAddMessageFlags(int startSequence, int endSequence, ImapMessageFlags flags)
public final System.IAsyncResult beginAddMessageFlags(int startSequence, int endSequence, ImapMessageFlags flags)
Adds the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
startSequence | int | The starting sequence number of a message list |
endSequence | int | The ending sequence number of a message list |
flags | ImapMessageFlags | Flag value |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginAddMessageFlags(int startSequence, int endSequence, ImapMessageFlags flags, System.AsyncCallback callback)
public final System.IAsyncResult beginAddMessageFlags(int startSequence, int endSequence, ImapMessageFlags flags, System.AsyncCallback callback)
Adds the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
startSequence | int | The starting sequence number of a message list |
endSequence | int | The ending sequence number of a message list |
flags | ImapMessageFlags | Flag value |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginAddMessageFlags(int startSequence, int endSequence, ImapMessageFlags flags, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginAddMessageFlags(int startSequence, int endSequence, ImapMessageFlags flags, System.AsyncCallback callback, Object state)
Adds the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
startSequence | int | The starting sequence number of a message list |
endSequence | int | The ending sequence number of a message list |
flags | ImapMessageFlags | Flag value |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginAddMessageFlags(int startSequence, int endSequence, ImapMessageFlags flags, long modificationSequence)
public final System.IAsyncResult beginAddMessageFlags(int startSequence, int endSequence, ImapMessageFlags flags, long modificationSequence)
Adds the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
startSequence | int | The starting sequence number of a message list |
endSequence | int | The ending sequence number of a message list |
flags | ImapMessageFlags | Flag value |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginAddMessageFlags(int startSequence, int endSequence, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback)
public final System.IAsyncResult beginAddMessageFlags(int startSequence, int endSequence, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback)
Adds the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
startSequence | int | The starting sequence number of a message list |
endSequence | int | The ending sequence number of a message list |
flags | ImapMessageFlags | Flag value |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginAddMessageFlags(int startSequence, int endSequence, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginAddMessageFlags(int startSequence, int endSequence, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback, Object state)
Adds the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
startSequence | int | The starting sequence number of a message list |
endSequence | int | The ending sequence number of a message list |
flags | ImapMessageFlags | Flag value |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginAddMessageFlags(Iterable messageInfoSet, ImapMessageFlags flags)
public final System.IAsyncResult beginAddMessageFlags(Iterable<ImapMessageInfo> messageInfoSet, ImapMessageFlags flags)
Adds the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
messageInfoSet | java.lang.Iterable<com.aspose.email.ImapMessageInfo> | The set of ImapMessageInfo |
flags | ImapMessageFlags | Flag value |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginAddMessageFlags(Iterable messageInfoSet, ImapMessageFlags flags, System.AsyncCallback callback)
public final System.IAsyncResult beginAddMessageFlags(Iterable<ImapMessageInfo> messageInfoSet, ImapMessageFlags flags, System.AsyncCallback callback)
Adds the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
messageInfoSet | java.lang.Iterable<com.aspose.email.ImapMessageInfo> | The set of ImapMessageInfo |
flags | ImapMessageFlags | Flag value |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginAddMessageFlags(Iterable messageInfoSet, ImapMessageFlags flags, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginAddMessageFlags(Iterable<ImapMessageInfo> messageInfoSet, ImapMessageFlags flags, System.AsyncCallback callback, Object state)
Adds the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
messageInfoSet | java.lang.Iterable<com.aspose.email.ImapMessageInfo> | The set of ImapMessageInfo |
flags | ImapMessageFlags | Flag value |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginAddMessageFlags(Iterable messageInfoSet, ImapMessageFlags flags, long modificationSequence)
public final System.IAsyncResult beginAddMessageFlags(Iterable<ImapMessageInfo> messageInfoSet, ImapMessageFlags flags, long modificationSequence)
Adds the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
messageInfoSet | java.lang.Iterable<com.aspose.email.ImapMessageInfo> | The set of ImapMessageInfo |
flags | ImapMessageFlags | Flag value |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginAddMessageFlags(Iterable messageInfoSet, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback)
public final System.IAsyncResult beginAddMessageFlags(Iterable<ImapMessageInfo> messageInfoSet, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback)
Adds the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
messageInfoSet | java.lang.Iterable<com.aspose.email.ImapMessageInfo> | The set of ImapMessageInfo |
flags | ImapMessageFlags | Flag value |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginAddMessageFlags(Iterable messageInfoSet, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginAddMessageFlags(Iterable<ImapMessageInfo> messageInfoSet, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback, Object state)
Adds the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
messageInfoSet | java.lang.Iterable<com.aspose.email.ImapMessageInfo> | The set of ImapMessageInfo |
flags | ImapMessageFlags | Flag value |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginAddMessageFlags(String uniqueId, ImapMessageFlags flags)
public final System.IAsyncResult beginAddMessageFlags(String uniqueId, ImapMessageFlags flags)
Adds the flags to the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
uniqueId | java.lang.String | Unique identifier of a message |
flags | ImapMessageFlags | The flags to be added |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginAddMessageFlags(String uniqueId, ImapMessageFlags flags, System.AsyncCallback callback)
public final System.IAsyncResult beginAddMessageFlags(String uniqueId, ImapMessageFlags flags, System.AsyncCallback callback)
Adds the flags to the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
uniqueId | java.lang.String | Unique identifier of a message |
flags | ImapMessageFlags | The flags to be added |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginAddMessageFlags(String uniqueId, ImapMessageFlags flags, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginAddMessageFlags(String uniqueId, ImapMessageFlags flags, System.AsyncCallback callback, Object state)
Adds the flags to the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
uniqueId | java.lang.String | Unique identifier of a message |
flags | ImapMessageFlags | The flags to be added |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginAddMessageFlags(String uniqueId, ImapMessageFlags flags, long modificationSequence)
public final System.IAsyncResult beginAddMessageFlags(String uniqueId, ImapMessageFlags flags, long modificationSequence)
Adds the flags to the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
uniqueId | java.lang.String | Unique identifier of a message |
flags | ImapMessageFlags | The flags to be added |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginAddMessageFlags(String uniqueId, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback)
public final System.IAsyncResult beginAddMessageFlags(String uniqueId, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback)
Adds the flags to the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
uniqueId | java.lang.String | Unique identifier of a message |
flags | ImapMessageFlags | The flags to be added |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginAddMessageFlags(String uniqueId, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginAddMessageFlags(String uniqueId, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback, Object state)
Adds the flags to the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
uniqueId | java.lang.String | Unique identifier of a message |
flags | ImapMessageFlags | The flags to be added |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginAddMessageFlags(String startUid, String endUid, ImapMessageFlags flags)
public final System.IAsyncResult beginAddMessageFlags(String startUid, String endUid, ImapMessageFlags flags)
Adds the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
startUid | java.lang.String | The starting UID of a message list |
endUid | java.lang.String | The ending UID of a message list |
flags | ImapMessageFlags | Flag value |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginAddMessageFlags(String startUid, String endUid, ImapMessageFlags flags, System.AsyncCallback callback)
public final System.IAsyncResult beginAddMessageFlags(String startUid, String endUid, ImapMessageFlags flags, System.AsyncCallback callback)
Adds the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
startUid | java.lang.String | The starting UID of a message list |
endUid | java.lang.String | The ending UID of a message list |
flags | ImapMessageFlags | Flag value |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginAddMessageFlags(String startUid, String endUid, ImapMessageFlags flags, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginAddMessageFlags(String startUid, String endUid, ImapMessageFlags flags, System.AsyncCallback callback, Object state)
Adds the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
startUid | java.lang.String | The starting UID of a message list |
endUid | java.lang.String | The ending UID of a message list |
flags | ImapMessageFlags | Flag value |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginAddMessageFlags(String startUid, String endUid, ImapMessageFlags flags, long modificationSequence)
public final System.IAsyncResult beginAddMessageFlags(String startUid, String endUid, ImapMessageFlags flags, long modificationSequence)
Adds the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
startUid | java.lang.String | The starting UID of a message list |
endUid | java.lang.String | The ending UID of a message list |
flags | ImapMessageFlags | Flag value |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginAddMessageFlags(String startUid, String endUid, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback)
public final System.IAsyncResult beginAddMessageFlags(String startUid, String endUid, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback)
Adds the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
startUid | java.lang.String | The starting UID of a message list |
endUid | java.lang.String | The ending UID of a message list |
flags | ImapMessageFlags | Flag value |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginAddMessageFlags(String startUid, String endUid, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginAddMessageFlags(String startUid, String endUid, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback, Object state)
Adds the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
startUid | java.lang.String | The starting UID of a message list |
endUid | java.lang.String | The ending UID of a message list |
flags | ImapMessageFlags | Flag value |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginAddMessageFlagsBySequences(IConnection connection, Iterable sequenceSet, ImapMessageFlags flags)
public final System.IAsyncResult beginAddMessageFlagsBySequences(IConnection connection, Iterable<Integer> sequenceSet, ImapMessageFlags flags)
Adds the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceSet | java.lang.Iterable<java.lang.Integer> | The set of sequence numbers for messages |
flags | ImapMessageFlags | Flag value |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginAddMessageFlagsBySequences(IConnection connection, Iterable sequenceSet, ImapMessageFlags flags, System.AsyncCallback callback)
public final System.IAsyncResult beginAddMessageFlagsBySequences(IConnection connection, Iterable<Integer> sequenceSet, ImapMessageFlags flags, System.AsyncCallback callback)
Adds the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceSet | java.lang.Iterable<java.lang.Integer> | The set of sequence numbers for messages |
flags | ImapMessageFlags | Flag value |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginAddMessageFlagsBySequences(IConnection connection, Iterable sequenceSet, ImapMessageFlags flags, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginAddMessageFlagsBySequences(IConnection connection, Iterable<Integer> sequenceSet, ImapMessageFlags flags, System.AsyncCallback callback, Object state)
Adds the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceSet | java.lang.Iterable<java.lang.Integer> | The set of sequence numbers for messages |
flags | ImapMessageFlags | Flag value |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginAddMessageFlagsBySequences(IConnection connection, Iterable sequenceSet, ImapMessageFlags flags, long modificationSequence)
public final System.IAsyncResult beginAddMessageFlagsBySequences(IConnection connection, Iterable<Integer> sequenceSet, ImapMessageFlags flags, long modificationSequence)
Adds the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceSet | java.lang.Iterable<java.lang.Integer> | The set of sequence numbers for messages |
flags | ImapMessageFlags | Flag value |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginAddMessageFlagsBySequences(IConnection connection, Iterable sequenceSet, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback)
public final System.IAsyncResult beginAddMessageFlagsBySequences(IConnection connection, Iterable<Integer> sequenceSet, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback)
Adds the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceSet | java.lang.Iterable<java.lang.Integer> | The set of sequence numbers for messages |
flags | ImapMessageFlags | Flag value |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginAddMessageFlagsBySequences(IConnection connection, Iterable sequenceSet, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginAddMessageFlagsBySequences(IConnection connection, Iterable<Integer> sequenceSet, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback, Object state)
Adds the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceSet | java.lang.Iterable<java.lang.Integer> | The set of sequence numbers for messages |
flags | ImapMessageFlags | Flag value |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginAddMessageFlagsBySequences(Iterable sequenceSet, ImapMessageFlags flags)
public final System.IAsyncResult beginAddMessageFlagsBySequences(Iterable<Integer> sequenceSet, ImapMessageFlags flags)
Adds the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
sequenceSet | java.lang.Iterable<java.lang.Integer> | The set of sequence numbers for messages |
flags | ImapMessageFlags | Flag value |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginAddMessageFlagsBySequences(Iterable sequenceSet, ImapMessageFlags flags, System.AsyncCallback callback)
public final System.IAsyncResult beginAddMessageFlagsBySequences(Iterable<Integer> sequenceSet, ImapMessageFlags flags, System.AsyncCallback callback)
Adds the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
sequenceSet | java.lang.Iterable<java.lang.Integer> | The set of sequence numbers for messages |
flags | ImapMessageFlags | Flag value |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginAddMessageFlagsBySequences(Iterable sequenceSet, ImapMessageFlags flags, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginAddMessageFlagsBySequences(Iterable<Integer> sequenceSet, ImapMessageFlags flags, System.AsyncCallback callback, Object state)
Adds the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
sequenceSet | java.lang.Iterable<java.lang.Integer> | The set of sequence numbers for messages |
flags | ImapMessageFlags | Flag value |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginAddMessageFlagsBySequences(Iterable sequenceSet, ImapMessageFlags flags, long modificationSequence)
public final System.IAsyncResult beginAddMessageFlagsBySequences(Iterable<Integer> sequenceSet, ImapMessageFlags flags, long modificationSequence)
Adds the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
sequenceSet | java.lang.Iterable<java.lang.Integer> | The set of sequence numbers for messages |
flags | ImapMessageFlags | Flag value |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginAddMessageFlagsBySequences(Iterable sequenceSet, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback)
public final System.IAsyncResult beginAddMessageFlagsBySequences(Iterable<Integer> sequenceSet, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback)
Adds the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
sequenceSet | java.lang.Iterable<java.lang.Integer> | The set of sequence numbers for messages |
flags | ImapMessageFlags | Flag value |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginAddMessageFlagsBySequences(Iterable sequenceSet, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginAddMessageFlagsBySequences(Iterable<Integer> sequenceSet, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback, Object state)
Adds the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
sequenceSet | java.lang.Iterable<java.lang.Integer> | The set of sequence numbers for messages |
flags | ImapMessageFlags | Flag value |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginAddMessageFlagsByUids(IConnection connection, Iterable uidSet, ImapMessageFlags flags)
public final System.IAsyncResult beginAddMessageFlagsByUids(IConnection connection, Iterable<String> uidSet, ImapMessageFlags flags)
Adds the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uidSet | java.lang.Iterable<java.lang.String> | The set of UID for messages |
flags | ImapMessageFlags | Flag value |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginAddMessageFlagsByUids(IConnection connection, Iterable uidSet, ImapMessageFlags flags, System.AsyncCallback callback)
public final System.IAsyncResult beginAddMessageFlagsByUids(IConnection connection, Iterable<String> uidSet, ImapMessageFlags flags, System.AsyncCallback callback)
Adds the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uidSet | java.lang.Iterable<java.lang.String> | The set of UID for messages |
flags | ImapMessageFlags | Flag value |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginAddMessageFlagsByUids(IConnection connection, Iterable uidSet, ImapMessageFlags flags, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginAddMessageFlagsByUids(IConnection connection, Iterable<String> uidSet, ImapMessageFlags flags, System.AsyncCallback callback, Object state)
Adds the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uidSet | java.lang.Iterable<java.lang.String> | The set of UID for messages |
flags | ImapMessageFlags | Flag value |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginAddMessageFlagsByUids(IConnection connection, Iterable uidSet, ImapMessageFlags flags, long modificationSequence)
public final System.IAsyncResult beginAddMessageFlagsByUids(IConnection connection, Iterable<String> uidSet, ImapMessageFlags flags, long modificationSequence)
Adds the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uidSet | java.lang.Iterable<java.lang.String> | The set of UID for messages |
flags | ImapMessageFlags | Flag value |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginAddMessageFlagsByUids(IConnection connection, Iterable uidSet, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback)
public final System.IAsyncResult beginAddMessageFlagsByUids(IConnection connection, Iterable<String> uidSet, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback)
Adds the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uidSet | java.lang.Iterable<java.lang.String> | The set of UID for messages |
flags | ImapMessageFlags | Flag value |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginAddMessageFlagsByUids(IConnection connection, Iterable uidSet, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginAddMessageFlagsByUids(IConnection connection, Iterable<String> uidSet, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback, Object state)
Adds the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uidSet | java.lang.Iterable<java.lang.String> | The set of UID for messages |
flags | ImapMessageFlags | Flag value |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginAddMessageFlagsByUids(Iterable uidSet, ImapMessageFlags flags)
public final System.IAsyncResult beginAddMessageFlagsByUids(Iterable<String> uidSet, ImapMessageFlags flags)
Adds the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
uidSet | java.lang.Iterable<java.lang.String> | The set of UID for messages |
flags | ImapMessageFlags | Flag value |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginAddMessageFlagsByUids(Iterable uidSet, ImapMessageFlags flags, System.AsyncCallback callback)
public final System.IAsyncResult beginAddMessageFlagsByUids(Iterable<String> uidSet, ImapMessageFlags flags, System.AsyncCallback callback)
Adds the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
uidSet | java.lang.Iterable<java.lang.String> | The set of UID for messages |
flags | ImapMessageFlags | Flag value |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginAddMessageFlagsByUids(Iterable uidSet, ImapMessageFlags flags, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginAddMessageFlagsByUids(Iterable<String> uidSet, ImapMessageFlags flags, System.AsyncCallback callback, Object state)
Adds the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
uidSet | java.lang.Iterable<java.lang.String> | The set of UID for messages |
flags | ImapMessageFlags | Flag value |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginAddMessageFlagsByUids(Iterable uidSet, ImapMessageFlags flags, long modificationSequence)
public final System.IAsyncResult beginAddMessageFlagsByUids(Iterable<String> uidSet, ImapMessageFlags flags, long modificationSequence)
Adds the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
uidSet | java.lang.Iterable<java.lang.String> | The set of UID for messages |
flags | ImapMessageFlags | Flag value |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginAddMessageFlagsByUids(Iterable uidSet, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback)
public final System.IAsyncResult beginAddMessageFlagsByUids(Iterable<String> uidSet, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback)
Adds the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
uidSet | java.lang.Iterable<java.lang.String> | The set of UID for messages |
flags | ImapMessageFlags | Flag value |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginAddMessageFlagsByUids(Iterable uidSet, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginAddMessageFlagsByUids(Iterable<String> uidSet, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback, Object state)
Adds the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
uidSet | java.lang.Iterable<java.lang.String> | The set of UID for messages |
flags | ImapMessageFlags | Flag value |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginAppendMessage(IConnection connection, MailMessage message)
public final System.IAsyncResult beginAppendMessage(IConnection connection, MailMessage message)
Begins append message to the end of the specified folder If current folder hasn’t been specified default folder is used.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
message | MailMessage | Mail message to be upload |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginAppendMessage(IConnection connection, String fileName)
public final System.IAsyncResult beginAppendMessage(IConnection connection, String fileName)
Begins append message to the end of the current folder If current folder hasn’t been specified default folder is used.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
fileName | java.lang.String | File name (*.eml) of the mail message that will be uploaded |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginAppendMessage(IConnection connection, String folderName, MailMessage message)
public final System.IAsyncResult beginAppendMessage(IConnection connection, String folderName, MailMessage message)
Begins append message to the end of the specified folder
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
folderName | java.lang.String | Folder that will receive the mail message |
message | MailMessage | Mail message to be upload |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginAppendMessage(IConnection connection, String folderName, MailMessage message, System.AsyncCallback callback)
public final System.IAsyncResult beginAppendMessage(IConnection connection, String folderName, MailMessage message, System.AsyncCallback callback)
Begins append message to the end of the specified folder
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
folderName | java.lang.String | Folder that will receive the mail message |
message | MailMessage | Mail message to be upload |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginAppendMessage(IConnection connection, String folderName, MailMessage message, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginAppendMessage(IConnection connection, String folderName, MailMessage message, System.AsyncCallback callback, Object state)
Begins append message to the end of the specified folder
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
folderName | java.lang.String | Folder that will receive the mail message |
message | MailMessage | Mail message to be upload |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginAppendMessage(IConnection connection, String folderName, String fileName)
public final System.IAsyncResult beginAppendMessage(IConnection connection, String folderName, String fileName)
Begins append message to the end of the specified folder
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
folderName | java.lang.String | Folder that will receive the mail message |
fileName | java.lang.String | File name (*.eml) of the mail message that will be uploaded |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginAppendMessage(IConnection connection, String folderName, String fileName, System.AsyncCallback callback)
public final System.IAsyncResult beginAppendMessage(IConnection connection, String folderName, String fileName, System.AsyncCallback callback)
Begins append message to the end of the specified folder
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
folderName | java.lang.String | Folder that will receive the mail message |
fileName | java.lang.String | File name (*.eml) of the mail message that will be uploaded |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginAppendMessage(IConnection connection, String folderName, String fileName, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginAppendMessage(IConnection connection, String folderName, String fileName, System.AsyncCallback callback, Object state)
Begins append message to the end of the specified folder
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
folderName | java.lang.String | Folder that will receive the mail message |
fileName | java.lang.String | File name (*.eml) of the mail message that will be uploaded |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginAppendMessage(MailMessage message)
public final 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.
Parameters:
Parameter | Type | Description |
---|---|---|
message | MailMessage | Mail message to be upload |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginAppendMessage(String fileName)
public final 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.
Parameters:
Parameter | Type | Description |
---|---|---|
fileName | java.lang.String | File name (*.eml) of the mail message that will be uploaded |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginAppendMessage(String folderName, MailMessage message)
public final System.IAsyncResult beginAppendMessage(String folderName, MailMessage message)
Begins append message to the end of the specified folder
Parameters:
Parameter | Type | Description |
---|---|---|
folderName | java.lang.String | Folder that will receive the mail message |
message | MailMessage | Mail message to be upload |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginAppendMessage(String folderName, MailMessage message, System.AsyncCallback callback)
public final System.IAsyncResult beginAppendMessage(String folderName, MailMessage message, System.AsyncCallback callback)
Begins append message to the end of the specified folder
Parameters:
Parameter | Type | Description |
---|---|---|
folderName | java.lang.String | Folder that will receive the mail message |
message | MailMessage | Mail message to be upload |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginAppendMessage(String folderName, MailMessage message, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginAppendMessage(String folderName, MailMessage message, System.AsyncCallback callback, Object state)
Begins append message to the end of the specified folder
Parameters:
Parameter | Type | Description |
---|---|---|
folderName | java.lang.String | Folder that will receive the mail message |
message | MailMessage | Mail message to be upload |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginAppendMessage(String folderName, String fileName)
public final System.IAsyncResult beginAppendMessage(String folderName, String fileName)
Begins append message to the end of the specified folder
Parameters:
Parameter | Type | Description |
---|---|---|
folderName | java.lang.String | Folder that will receive the mail message |
fileName | java.lang.String | File name (*.eml) of the mail message that will be uploaded |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginAppendMessage(String folderName, String fileName, System.AsyncCallback callback)
public final System.IAsyncResult beginAppendMessage(String folderName, String fileName, System.AsyncCallback callback)
Begins append message to the end of the specified folder
Parameters:
Parameter | Type | Description |
---|---|---|
folderName | java.lang.String | Folder that will receive the mail message |
fileName | java.lang.String | File name (*.eml) of the mail message that will be uploaded |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginAppendMessage(String folderName, String fileName, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginAppendMessage(String folderName, String fileName, System.AsyncCallback callback, Object state)
Begins append message to the end of the specified folder
Parameters:
Parameter | Type | Description |
---|---|---|
folderName | java.lang.String | Folder that will receive the mail message |
fileName | java.lang.String | File name (*.eml) of the mail message that will be uploaded |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginAppendMessages(IConnection connection, Iterable messages)
public final System.IAsyncResult beginAppendMessages(IConnection connection, Iterable<MailMessage> messages)
Begins append message to the end of the specified folder If current folder hasn’t been specified default folder is used.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
messages | java.lang.Iterable<com.aspose.email.MailMessage> | Enumeration of email messages to be upload |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginAppendMessages(IConnection connection, String folderName, Iterable messages)
public final System.IAsyncResult beginAppendMessages(IConnection connection, String folderName, Iterable<MailMessage> messages)
Begins append message to the end of the specified folder
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
folderName | java.lang.String | Folder that will receive the mail message |
messages | java.lang.Iterable<com.aspose.email.MailMessage> | Enumeration of email messages to be upload |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginAppendMessages(IConnection connection, String folderName, Iterable messages, System.AsyncCallback callback)
public final System.IAsyncResult beginAppendMessages(IConnection connection, String folderName, Iterable<MailMessage> messages, System.AsyncCallback callback)
Begins append message to the end of the specified folder
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
folderName | java.lang.String | Folder that will receive the mail message |
messages | java.lang.Iterable<com.aspose.email.MailMessage> | Enumeration of email messages to be upload |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginAppendMessages(IConnection connection, String folderName, Iterable messages, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginAppendMessages(IConnection connection, String folderName, Iterable<MailMessage> messages, System.AsyncCallback callback, Object state)
Begins append message to the end of the specified folder
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
folderName | java.lang.String | Folder that will receive the mail message |
messages | java.lang.Iterable<com.aspose.email.MailMessage> | Enumeration of email messages to be upload |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginAppendMessages(Iterable messages)
public final System.IAsyncResult beginAppendMessages(Iterable<MailMessage> messages)
Begins append message to the end of the specified folder If current folder hasn’t been specified default folder is used.
Parameters:
Parameter | Type | Description |
---|---|---|
messages | java.lang.Iterable<com.aspose.email.MailMessage> | Enumeration of email messages to be upload |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginAppendMessages(String folderName, Iterable messages)
public final System.IAsyncResult beginAppendMessages(String folderName, Iterable<MailMessage> messages)
Begins append message to the end of the specified folder
Parameters:
Parameter | Type | Description |
---|---|---|
folderName | java.lang.String | Folder that will receive the mail message |
messages | java.lang.Iterable<com.aspose.email.MailMessage> | Enumeration of email messages to be upload |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginAppendMessages(String folderName, Iterable messages, System.AsyncCallback callback)
public final System.IAsyncResult beginAppendMessages(String folderName, Iterable<MailMessage> messages, System.AsyncCallback callback)
Begins append message to the end of the specified folder
Parameters:
Parameter | Type | Description |
---|---|---|
folderName | java.lang.String | Folder that will receive the mail message |
messages | java.lang.Iterable<com.aspose.email.MailMessage> | Enumeration of email messages to be upload |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginAppendMessages(String folderName, Iterable messages, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginAppendMessages(String folderName, Iterable<MailMessage> messages, System.AsyncCallback callback, Object state)
Begins append message to the end of the specified folder
Parameters:
Parameter | Type | Description |
---|---|---|
folderName | java.lang.String | Folder that will receive the mail message |
messages | java.lang.Iterable<com.aspose.email.MailMessage> | Enumeration of email messages to be upload |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginAppendMessagesByName(IConnection connection, Iterable fileNames)
public final System.IAsyncResult beginAppendMessagesByName(IConnection connection, Iterable<String> fileNames)
Begins append message to the end of the current folder If current folder hasn’t been specified default folder is used.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
fileNames | java.lang.Iterable<java.lang.String> | File names (*.eml) of an email messages that will be uploaded |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginAppendMessagesByName(IConnection connection, String folderName, Iterable fileNames)
public final System.IAsyncResult beginAppendMessagesByName(IConnection connection, String folderName, Iterable<String> fileNames)
Begins append message to the end of the specified folder
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
folderName | java.lang.String | Folder that will receive the mail message |
fileNames | java.lang.Iterable<java.lang.String> | File names (*.eml) of an email messages that will be uploaded |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginAppendMessagesByName(IConnection connection, String folderName, Iterable fileNames, System.AsyncCallback callback)
public final System.IAsyncResult beginAppendMessagesByName(IConnection connection, String folderName, Iterable<String> fileNames, System.AsyncCallback callback)
Begins append message to the end of the specified folder
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
folderName | java.lang.String | Folder that will receive the mail message |
fileNames | java.lang.Iterable<java.lang.String> | File names (*.eml) of an email messages that will be uploaded |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginAppendMessagesByName(IConnection connection, String folderName, Iterable fileNames, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginAppendMessagesByName(IConnection connection, String folderName, Iterable<String> fileNames, System.AsyncCallback callback, Object state)
Begins append message to the end of the specified folder
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
folderName | java.lang.String | Folder that will receive the mail message |
fileNames | java.lang.Iterable<java.lang.String> | File names (*.eml) of an email messages that will be uploaded |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginAppendMessagesByName(Iterable fileNames)
public final System.IAsyncResult beginAppendMessagesByName(Iterable<String> fileNames)
Begins append message to the end of the current folder If current folder hasn’t been specified default folder is used.
Parameters:
Parameter | Type | Description |
---|---|---|
fileNames | java.lang.Iterable<java.lang.String> | File names (*.eml) of an email messages that will be uploaded |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginAppendMessagesByName(String folderName, Iterable fileNames)
public final System.IAsyncResult beginAppendMessagesByName(String folderName, Iterable<String> fileNames)
Begins append message to the end of the specified folder
Parameters:
Parameter | Type | Description |
---|---|---|
folderName | java.lang.String | Folder that will receive the mail message |
fileNames | java.lang.Iterable<java.lang.String> | File names (*.eml) of an email messages that will be uploaded |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginAppendMessagesByName(String folderName, Iterable fileNames, System.AsyncCallback callback)
public final System.IAsyncResult beginAppendMessagesByName(String folderName, Iterable<String> fileNames, System.AsyncCallback callback)
Begins append message to the end of the specified folder
Parameters:
Parameter | Type | Description |
---|---|---|
folderName | java.lang.String | Folder that will receive the mail message |
fileNames | java.lang.Iterable<java.lang.String> | File names (*.eml) of an email messages that will be uploaded |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginAppendMessagesByName(String folderName, Iterable fileNames, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginAppendMessagesByName(String folderName, Iterable<String> fileNames, System.AsyncCallback callback, Object state)
Begins append message to the end of the specified folder
Parameters:
Parameter | Type | Description |
---|---|---|
folderName | java.lang.String | Folder that will receive the mail message |
fileNames | java.lang.Iterable<java.lang.String> | File names (*.eml) of an email messages that will be uploaded |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginBackup(IConnection connection, ImapFolderInfoCollection folders, OutputStream stream, BackupSettings options)
public final System.IAsyncResult beginBackup(IConnection connection, ImapFolderInfoCollection folders, OutputStream stream, BackupSettings options)
Begins to backup the content of the specified folders
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
folders | ImapFolderInfoCollection | A folders to backup |
stream | java.io.OutputStream | A stream to write into |
options | BackupSettings | A backup options |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginBackup(IConnection connection, ImapFolderInfoCollection folders, OutputStream stream, BackupSettings options, System.AsyncCallback callback)
public final System.IAsyncResult beginBackup(IConnection connection, ImapFolderInfoCollection folders, OutputStream stream, BackupSettings options, System.AsyncCallback callback)
Begins to backup the content of the specified folders
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
folders | ImapFolderInfoCollection | A folders to backup |
stream | java.io.OutputStream | A stream to write into |
options | BackupSettings | A backup options |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginBackup(IConnection connection, ImapFolderInfoCollection folders, OutputStream stream, BackupSettings options, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginBackup(IConnection connection, ImapFolderInfoCollection folders, OutputStream stream, BackupSettings options, System.AsyncCallback callback, Object state)
Begins to backup the content of the specified folders
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
folders | ImapFolderInfoCollection | A folders to backup |
stream | java.io.OutputStream | A stream to write into |
options | BackupSettings | A backup options |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginBackup(IConnection connection, ImapFolderInfoCollection folders, OutputStream stream, int options)
public final System.IAsyncResult beginBackup(IConnection connection, ImapFolderInfoCollection folders, OutputStream stream, int options)
Begins to backup the content of the specified folders
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
folders | ImapFolderInfoCollection | A folders to backup |
stream | java.io.OutputStream | A stream to write into |
options | int | A backup options |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginBackup(IConnection connection, ImapFolderInfoCollection folders, OutputStream stream, int options, System.AsyncCallback callback)
public final System.IAsyncResult beginBackup(IConnection connection, ImapFolderInfoCollection folders, OutputStream stream, int options, System.AsyncCallback callback)
Begins to backup the content of the specified folders
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
folders | ImapFolderInfoCollection | A folders to backup |
stream | java.io.OutputStream | A stream to write into |
options | int | A backup options |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginBackup(IConnection connection, ImapFolderInfoCollection folders, OutputStream stream, int options, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginBackup(IConnection connection, ImapFolderInfoCollection folders, OutputStream stream, int options, System.AsyncCallback callback, Object state)
Begins to backup the content of the specified folders
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
folders | ImapFolderInfoCollection | A folders to backup |
stream | java.io.OutputStream | A stream to write into |
options | int | A backup options |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginBackup(IConnection connection, ImapFolderInfoCollection folders, String fileName, BackupSettings options)
public final System.IAsyncResult beginBackup(IConnection connection, ImapFolderInfoCollection folders, String fileName, BackupSettings options)
Begins to backup the content of the specified folders
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
folders | ImapFolderInfoCollection | A folders to backup |
fileName | java.lang.String | A path to the presonal storage file |
options | BackupSettings | A backup options |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginBackup(IConnection connection, ImapFolderInfoCollection folders, String fileName, BackupSettings options, System.AsyncCallback callback)
public final System.IAsyncResult beginBackup(IConnection connection, ImapFolderInfoCollection folders, String fileName, BackupSettings options, System.AsyncCallback callback)
Begins to backup the content of the specified folders
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
folders | ImapFolderInfoCollection | A folders to backup |
fileName | java.lang.String | A path to the presonal storage file |
options | BackupSettings | A backup options |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginBackup(IConnection connection, ImapFolderInfoCollection folders, String fileName, BackupSettings options, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginBackup(IConnection connection, ImapFolderInfoCollection folders, String fileName, BackupSettings options, System.AsyncCallback callback, Object state)
Begins to backup the content of the specified folders
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
folders | ImapFolderInfoCollection | A folders to backup |
fileName | java.lang.String | A path to the presonal storage file |
options | BackupSettings | A backup options |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginBackup(IConnection connection, ImapFolderInfoCollection folders, String fileName, int options)
public final System.IAsyncResult beginBackup(IConnection connection, ImapFolderInfoCollection folders, String fileName, int options)
Begins to backup the content of the specified folders
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
folders | ImapFolderInfoCollection | A folders to backup |
fileName | java.lang.String | A path to the presonal storage file |
options | int | A backup options |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginBackup(IConnection connection, ImapFolderInfoCollection folders, String fileName, int options, System.AsyncCallback callback)
public final System.IAsyncResult beginBackup(IConnection connection, ImapFolderInfoCollection folders, String fileName, int options, System.AsyncCallback callback)
Begins to backup the content of the specified folders
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
folders | ImapFolderInfoCollection | A folders to backup |
fileName | java.lang.String | A path to the presonal storage file |
options | int | A backup options |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginBackup(IConnection connection, ImapFolderInfoCollection folders, String fileName, int options, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginBackup(IConnection connection, ImapFolderInfoCollection folders, String fileName, int options, System.AsyncCallback callback, Object state)
Begins to backup the content of the specified folders
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
folders | ImapFolderInfoCollection | A folders to backup |
fileName | java.lang.String | A path to the presonal storage file |
options | int | A backup options |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginBackup(ImapFolderInfoCollection folders, OutputStream stream, BackupSettings options)
public final System.IAsyncResult beginBackup(ImapFolderInfoCollection folders, OutputStream stream, BackupSettings options)
Begins to backup the content of the specified folders
Parameters:
Parameter | Type | Description |
---|---|---|
folders | ImapFolderInfoCollection | A folders to backup |
stream | java.io.OutputStream | A stream to write into |
options | BackupSettings | A backup options |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginBackup(ImapFolderInfoCollection folders, OutputStream stream, BackupSettings options, System.AsyncCallback callback)
public final System.IAsyncResult beginBackup(ImapFolderInfoCollection folders, OutputStream stream, BackupSettings options, System.AsyncCallback callback)
Begins to backup the content of the specified folders
Parameters:
Parameter | Type | Description |
---|---|---|
folders | ImapFolderInfoCollection | A folders to backup |
stream | java.io.OutputStream | A stream to write into |
options | BackupSettings | A backup options |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginBackup(ImapFolderInfoCollection folders, OutputStream stream, BackupSettings options, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginBackup(ImapFolderInfoCollection folders, OutputStream stream, BackupSettings options, System.AsyncCallback callback, Object state)
Begins to backup the content of the specified folders
Parameters:
Parameter | Type | Description |
---|---|---|
folders | ImapFolderInfoCollection | A folders to backup |
stream | java.io.OutputStream | A stream to write into |
options | BackupSettings | A backup options |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginBackup(ImapFolderInfoCollection folders, OutputStream stream, int options)
public final System.IAsyncResult beginBackup(ImapFolderInfoCollection folders, OutputStream stream, int options)
Begins to backup the content of the specified folders
Parameters:
Parameter | Type | Description |
---|---|---|
folders | ImapFolderInfoCollection | A folders to backup |
stream | java.io.OutputStream | A stream to write into |
options | int | A backup options |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginBackup(ImapFolderInfoCollection folders, OutputStream stream, int options, System.AsyncCallback callback)
public final System.IAsyncResult beginBackup(ImapFolderInfoCollection folders, OutputStream stream, int options, System.AsyncCallback callback)
Begins to backup the content of the specified folders
Parameters:
Parameter | Type | Description |
---|---|---|
folders | ImapFolderInfoCollection | A folders to backup |
stream | java.io.OutputStream | A stream to write into |
options | int | A backup options |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginBackup(ImapFolderInfoCollection folders, OutputStream stream, int options, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginBackup(ImapFolderInfoCollection folders, OutputStream stream, int options, System.AsyncCallback callback, Object state)
Begins to backup the content of the specified folders
Parameters:
Parameter | Type | Description |
---|---|---|
folders | ImapFolderInfoCollection | A folders to backup |
stream | java.io.OutputStream | A stream to write into |
options | int | A backup options |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginBackup(ImapFolderInfoCollection folders, String fileName, BackupSettings options)
public final System.IAsyncResult beginBackup(ImapFolderInfoCollection folders, String fileName, BackupSettings options)
Begins to backup the content of the specified folders
Parameters:
Parameter | Type | Description |
---|---|---|
folders | ImapFolderInfoCollection | A folders to backup |
fileName | java.lang.String | A path to the presonal storage file |
options | BackupSettings | A backup options |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginBackup(ImapFolderInfoCollection folders, String fileName, BackupSettings options, System.AsyncCallback callback)
public final System.IAsyncResult beginBackup(ImapFolderInfoCollection folders, String fileName, BackupSettings options, System.AsyncCallback callback)
Begins to backup the content of the specified folders
Parameters:
Parameter | Type | Description |
---|---|---|
folders | ImapFolderInfoCollection | A folders to backup |
fileName | java.lang.String | A path to the presonal storage file |
options | BackupSettings | A backup options |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginBackup(ImapFolderInfoCollection folders, String fileName, BackupSettings options, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginBackup(ImapFolderInfoCollection folders, String fileName, BackupSettings options, System.AsyncCallback callback, Object state)
Begins to backup the content of the specified folders
Parameters:
Parameter | Type | Description |
---|---|---|
folders | ImapFolderInfoCollection | A folders to backup |
fileName | java.lang.String | A path to the presonal storage file |
options | BackupSettings | A backup options |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginBackup(ImapFolderInfoCollection folders, String fileName, int options)
public final System.IAsyncResult beginBackup(ImapFolderInfoCollection folders, String fileName, int options)
Begins to backup the content of the specified folders
Parameters:
Parameter | Type | Description |
---|---|---|
folders | ImapFolderInfoCollection | A folders to backup |
fileName | java.lang.String | A path to the presonal storage file |
options | int | A backup options |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginBackup(ImapFolderInfoCollection folders, String fileName, int options, System.AsyncCallback callback)
public final System.IAsyncResult beginBackup(ImapFolderInfoCollection folders, String fileName, int options, System.AsyncCallback callback)
Begins to backup the content of the specified folders
Parameters:
Parameter | Type | Description |
---|---|---|
folders | ImapFolderInfoCollection | A folders to backup |
fileName | java.lang.String | A path to the presonal storage file |
options | int | A backup options |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginBackup(ImapFolderInfoCollection folders, String fileName, int options, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginBackup(ImapFolderInfoCollection folders, String fileName, int options, System.AsyncCallback callback, Object state)
Begins to backup the content of the specified folders
Parameters:
Parameter | Type | Description |
---|---|---|
folders | ImapFolderInfoCollection | A folders to backup |
fileName | java.lang.String | A path to the presonal storage file |
options | int | A backup options |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginChangeMessageFlags(IConnection connection, int sequenceNumber, ImapMessageFlags flags)
public final System.IAsyncResult beginChangeMessageFlags(IConnection connection, int sequenceNumber, ImapMessageFlags flags)
Changes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceNumber | int | Sequence number of a message |
flags | ImapMessageFlags | Flag value |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginChangeMessageFlags(IConnection connection, int sequenceNumber, ImapMessageFlags flags, System.AsyncCallback callback)
public final System.IAsyncResult beginChangeMessageFlags(IConnection connection, int sequenceNumber, ImapMessageFlags flags, System.AsyncCallback callback)
Changes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceNumber | int | Sequence number of a message |
flags | ImapMessageFlags | Flag value |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginChangeMessageFlags(IConnection connection, int sequenceNumber, ImapMessageFlags flags, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginChangeMessageFlags(IConnection connection, int sequenceNumber, ImapMessageFlags flags, System.AsyncCallback callback, Object state)
Changes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceNumber | int | Sequence number of a message |
flags | ImapMessageFlags | Flag value |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginChangeMessageFlags(IConnection connection, int sequenceNumber, ImapMessageFlags flags, long modificationSequence)
public final System.IAsyncResult beginChangeMessageFlags(IConnection connection, int sequenceNumber, ImapMessageFlags flags, long modificationSequence)
Changes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceNumber | int | Sequence number of a message |
flags | ImapMessageFlags | Flag value |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginChangeMessageFlags(IConnection connection, int sequenceNumber, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback)
public final System.IAsyncResult beginChangeMessageFlags(IConnection connection, int sequenceNumber, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback)
Changes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceNumber | int | Sequence number of a message |
flags | ImapMessageFlags | Flag value |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginChangeMessageFlags(IConnection connection, int sequenceNumber, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginChangeMessageFlags(IConnection connection, int sequenceNumber, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback, Object state)
Changes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceNumber | int | Sequence number of a message |
flags | ImapMessageFlags | Flag value |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginChangeMessageFlags(IConnection connection, int startSequence, int endSequence, ImapMessageFlags flags)
public final System.IAsyncResult beginChangeMessageFlags(IConnection connection, int startSequence, int endSequence, ImapMessageFlags flags)
Changes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
startSequence | int | The starting sequence number of a message list |
endSequence | int | The ending sequence number of a message list |
flags | ImapMessageFlags | Flag value |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginChangeMessageFlags(IConnection connection, int startSequence, int endSequence, ImapMessageFlags flags, System.AsyncCallback callback)
public final System.IAsyncResult beginChangeMessageFlags(IConnection connection, int startSequence, int endSequence, ImapMessageFlags flags, System.AsyncCallback callback)
Changes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
startSequence | int | The starting sequence number of a message list |
endSequence | int | The ending sequence number of a message list |
flags | ImapMessageFlags | Flag value |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginChangeMessageFlags(IConnection connection, int startSequence, int endSequence, ImapMessageFlags flags, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginChangeMessageFlags(IConnection connection, int startSequence, int endSequence, ImapMessageFlags flags, System.AsyncCallback callback, Object state)
Changes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
startSequence | int | The starting sequence number of a message list |
endSequence | int | The ending sequence number of a message list |
flags | ImapMessageFlags | Flag value |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginChangeMessageFlags(IConnection connection, int startSequence, int endSequence, ImapMessageFlags flags, long modificationSequence)
public final System.IAsyncResult beginChangeMessageFlags(IConnection connection, int startSequence, int endSequence, ImapMessageFlags flags, long modificationSequence)
Changes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
startSequence | int | The starting sequence number of a message list |
endSequence | int | The ending sequence number of a message list |
flags | ImapMessageFlags | Flag value |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginChangeMessageFlags(IConnection connection, int startSequence, int endSequence, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback)
public final System.IAsyncResult beginChangeMessageFlags(IConnection connection, int startSequence, int endSequence, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback)
Changes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
startSequence | int | The starting sequence number of a message list |
endSequence | int | The ending sequence number of a message list |
flags | ImapMessageFlags | Flag value |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginChangeMessageFlags(IConnection connection, int startSequence, int endSequence, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginChangeMessageFlags(IConnection connection, int startSequence, int endSequence, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback, Object state)
Changes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
startSequence | int | The starting sequence number of a message list |
endSequence | int | The ending sequence number of a message list |
flags | ImapMessageFlags | Flag value |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginChangeMessageFlags(IConnection connection, Iterable messageInfoSet, ImapMessageFlags flags)
public final System.IAsyncResult beginChangeMessageFlags(IConnection connection, Iterable<ImapMessageInfo> messageInfoSet, ImapMessageFlags flags)
Changes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
messageInfoSet | java.lang.Iterable<com.aspose.email.ImapMessageInfo> | The set of ImapMessageInfo |
flags | ImapMessageFlags | Flag value |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginChangeMessageFlags(IConnection connection, Iterable messageInfoSet, ImapMessageFlags flags, System.AsyncCallback callback)
public final System.IAsyncResult beginChangeMessageFlags(IConnection connection, Iterable<ImapMessageInfo> messageInfoSet, ImapMessageFlags flags, System.AsyncCallback callback)
Changes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
messageInfoSet | java.lang.Iterable<com.aspose.email.ImapMessageInfo> | The set of ImapMessageInfo |
flags | ImapMessageFlags | Flag value |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginChangeMessageFlags(IConnection connection, Iterable messageInfoSet, ImapMessageFlags flags, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginChangeMessageFlags(IConnection connection, Iterable<ImapMessageInfo> messageInfoSet, ImapMessageFlags flags, System.AsyncCallback callback, Object state)
Changes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
messageInfoSet | java.lang.Iterable<com.aspose.email.ImapMessageInfo> | The set of ImapMessageInfo |
flags | ImapMessageFlags | Flag value |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginChangeMessageFlags(IConnection connection, Iterable messageInfoSet, ImapMessageFlags flags, long modificationSequence)
public final System.IAsyncResult beginChangeMessageFlags(IConnection connection, Iterable<ImapMessageInfo> messageInfoSet, ImapMessageFlags flags, long modificationSequence)
Changes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
messageInfoSet | java.lang.Iterable<com.aspose.email.ImapMessageInfo> | The set of ImapMessageInfo |
flags | ImapMessageFlags | Flag value |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginChangeMessageFlags(IConnection connection, Iterable messageInfoSet, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback)
public final System.IAsyncResult beginChangeMessageFlags(IConnection connection, Iterable<ImapMessageInfo> messageInfoSet, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback)
Changes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
messageInfoSet | java.lang.Iterable<com.aspose.email.ImapMessageInfo> | The set of ImapMessageInfo |
flags | ImapMessageFlags | Flag value |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginChangeMessageFlags(IConnection connection, Iterable messageInfoSet, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginChangeMessageFlags(IConnection connection, Iterable<ImapMessageInfo> messageInfoSet, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback, Object state)
Changes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
messageInfoSet | java.lang.Iterable<com.aspose.email.ImapMessageInfo> | The set of ImapMessageInfo |
flags | ImapMessageFlags | Flag value |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginChangeMessageFlags(IConnection connection, String uniqueId, ImapMessageFlags flags)
public final System.IAsyncResult beginChangeMessageFlags(IConnection connection, String uniqueId, ImapMessageFlags flags)
Changes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uniqueId | java.lang.String | Unique identifier of a message |
flags | ImapMessageFlags | Flag value |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginChangeMessageFlags(IConnection connection, String uniqueId, ImapMessageFlags flags, System.AsyncCallback callback)
public final System.IAsyncResult beginChangeMessageFlags(IConnection connection, String uniqueId, ImapMessageFlags flags, System.AsyncCallback callback)
Changes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uniqueId | java.lang.String | Unique identifier of a message |
flags | ImapMessageFlags | Flag value |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginChangeMessageFlags(IConnection connection, String uniqueId, ImapMessageFlags flags, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginChangeMessageFlags(IConnection connection, String uniqueId, ImapMessageFlags flags, System.AsyncCallback callback, Object state)
Changes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uniqueId | java.lang.String | Unique identifier of a message |
flags | ImapMessageFlags | Flag value |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginChangeMessageFlags(IConnection connection, String uniqueId, ImapMessageFlags flags, long modificationSequence)
public final System.IAsyncResult beginChangeMessageFlags(IConnection connection, String uniqueId, ImapMessageFlags flags, long modificationSequence)
Changes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uniqueId | java.lang.String | Unique identifier of a message |
flags | ImapMessageFlags | Flag value |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginChangeMessageFlags(IConnection connection, String uniqueId, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback)
public final System.IAsyncResult beginChangeMessageFlags(IConnection connection, String uniqueId, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback)
Changes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uniqueId | java.lang.String | Unique identifier of a message |
flags | ImapMessageFlags | Flag value |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginChangeMessageFlags(IConnection connection, String uniqueId, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginChangeMessageFlags(IConnection connection, String uniqueId, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback, Object state)
Changes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uniqueId | java.lang.String | Unique identifier of a message |
flags | ImapMessageFlags | Flag value |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginChangeMessageFlags(IConnection connection, String startUid, String endUid, ImapMessageFlags flags)
public final System.IAsyncResult beginChangeMessageFlags(IConnection connection, String startUid, String endUid, ImapMessageFlags flags)
Changes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
startUid | java.lang.String | The starting UID of a message list |
endUid | java.lang.String | The ending UID of a message list |
flags | ImapMessageFlags | Flag value |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginChangeMessageFlags(IConnection connection, String startUid, String endUid, ImapMessageFlags flags, System.AsyncCallback callback)
public final System.IAsyncResult beginChangeMessageFlags(IConnection connection, String startUid, String endUid, ImapMessageFlags flags, System.AsyncCallback callback)
Changes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
startUid | java.lang.String | The starting UID of a message list |
endUid | java.lang.String | The ending UID of a message list |
flags | ImapMessageFlags | Flag value |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginChangeMessageFlags(IConnection connection, String startUid, String endUid, ImapMessageFlags flags, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginChangeMessageFlags(IConnection connection, String startUid, String endUid, ImapMessageFlags flags, System.AsyncCallback callback, Object state)
Changes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
startUid | java.lang.String | The starting UID of a message list |
endUid | java.lang.String | The ending UID of a message list |
flags | ImapMessageFlags | Flag value |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginChangeMessageFlags(IConnection connection, String startUid, String endUid, ImapMessageFlags flags, long modificationSequence)
public final System.IAsyncResult beginChangeMessageFlags(IConnection connection, String startUid, String endUid, ImapMessageFlags flags, long modificationSequence)
Changes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
startUid | java.lang.String | The starting UID of a message list |
endUid | java.lang.String | The ending UID of a message list |
flags | ImapMessageFlags | Flag value |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginChangeMessageFlags(IConnection connection, String startUid, String endUid, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback)
public final System.IAsyncResult beginChangeMessageFlags(IConnection connection, String startUid, String endUid, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback)
Changes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
startUid | java.lang.String | The starting UID of a message list |
endUid | java.lang.String | The ending UID of a message list |
flags | ImapMessageFlags | Flag value |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginChangeMessageFlags(IConnection connection, String startUid, String endUid, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginChangeMessageFlags(IConnection connection, String startUid, String endUid, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback, Object state)
Changes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
startUid | java.lang.String | The starting UID of a message list |
endUid | java.lang.String | The ending UID of a message list |
flags | ImapMessageFlags | Flag value |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginChangeMessageFlags(int sequenceNumber, ImapMessageFlags flags)
public final System.IAsyncResult beginChangeMessageFlags(int sequenceNumber, ImapMessageFlags flags)
Changes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
sequenceNumber | int | Sequence number of a message |
flags | ImapMessageFlags | Flag value |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginChangeMessageFlags(int sequenceNumber, ImapMessageFlags flags, System.AsyncCallback callback)
public final System.IAsyncResult beginChangeMessageFlags(int sequenceNumber, ImapMessageFlags flags, System.AsyncCallback callback)
Changes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
sequenceNumber | int | Sequence number of a message |
flags | ImapMessageFlags | Flag value |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginChangeMessageFlags(int sequenceNumber, ImapMessageFlags flags, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginChangeMessageFlags(int sequenceNumber, ImapMessageFlags flags, System.AsyncCallback callback, Object state)
Changes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
sequenceNumber | int | Sequence number of a message |
flags | ImapMessageFlags | Flag value |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginChangeMessageFlags(int sequenceNumber, ImapMessageFlags flags, long modificationSequence)
public final System.IAsyncResult beginChangeMessageFlags(int sequenceNumber, ImapMessageFlags flags, long modificationSequence)
Changes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
sequenceNumber | int | Sequence number of a message |
flags | ImapMessageFlags | Flag value |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginChangeMessageFlags(int sequenceNumber, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback)
public final System.IAsyncResult beginChangeMessageFlags(int sequenceNumber, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback)
Changes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
sequenceNumber | int | Sequence number of a message |
flags | ImapMessageFlags | Flag value |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginChangeMessageFlags(int sequenceNumber, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginChangeMessageFlags(int sequenceNumber, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback, Object state)
Changes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
sequenceNumber | int | Sequence number of a message |
flags | ImapMessageFlags | Flag value |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginChangeMessageFlags(int startSequence, int endSequence, ImapMessageFlags flags)
public final System.IAsyncResult beginChangeMessageFlags(int startSequence, int endSequence, ImapMessageFlags flags)
Changes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
startSequence | int | The starting sequence number of a message list |
endSequence | int | The ending sequence number of a message list |
flags | ImapMessageFlags | Flag value |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginChangeMessageFlags(int startSequence, int endSequence, ImapMessageFlags flags, System.AsyncCallback callback)
public final System.IAsyncResult beginChangeMessageFlags(int startSequence, int endSequence, ImapMessageFlags flags, System.AsyncCallback callback)
Changes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
startSequence | int | The starting sequence number of a message list |
endSequence | int | The ending sequence number of a message list |
flags | ImapMessageFlags | Flag value |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginChangeMessageFlags(int startSequence, int endSequence, ImapMessageFlags flags, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginChangeMessageFlags(int startSequence, int endSequence, ImapMessageFlags flags, System.AsyncCallback callback, Object state)
Changes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
startSequence | int | The starting sequence number of a message list |
endSequence | int | The ending sequence number of a message list |
flags | ImapMessageFlags | Flag value |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginChangeMessageFlags(int startSequence, int endSequence, ImapMessageFlags flags, long modificationSequence)
public final System.IAsyncResult beginChangeMessageFlags(int startSequence, int endSequence, ImapMessageFlags flags, long modificationSequence)
Changes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
startSequence | int | The starting sequence number of a message list |
endSequence | int | The ending sequence number of a message list |
flags | ImapMessageFlags | Flag value |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginChangeMessageFlags(int startSequence, int endSequence, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback)
public final System.IAsyncResult beginChangeMessageFlags(int startSequence, int endSequence, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback)
Changes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
startSequence | int | The starting sequence number of a message list |
endSequence | int | The ending sequence number of a message list |
flags | ImapMessageFlags | Flag value |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginChangeMessageFlags(int startSequence, int endSequence, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginChangeMessageFlags(int startSequence, int endSequence, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback, Object state)
Changes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
startSequence | int | The starting sequence number of a message list |
endSequence | int | The ending sequence number of a message list |
flags | ImapMessageFlags | Flag value |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginChangeMessageFlags(Iterable messageInfoSet, ImapMessageFlags flags)
public final System.IAsyncResult beginChangeMessageFlags(Iterable<ImapMessageInfo> messageInfoSet, ImapMessageFlags flags)
Changes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
messageInfoSet | java.lang.Iterable<com.aspose.email.ImapMessageInfo> | The set of ImapMessageInfo |
flags | ImapMessageFlags | Flag value |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginChangeMessageFlags(Iterable messageInfoSet, ImapMessageFlags flags, System.AsyncCallback callback)
public final System.IAsyncResult beginChangeMessageFlags(Iterable<ImapMessageInfo> messageInfoSet, ImapMessageFlags flags, System.AsyncCallback callback)
Changes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
messageInfoSet | java.lang.Iterable<com.aspose.email.ImapMessageInfo> | The set of ImapMessageInfo |
flags | ImapMessageFlags | Flag value |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginChangeMessageFlags(Iterable messageInfoSet, ImapMessageFlags flags, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginChangeMessageFlags(Iterable<ImapMessageInfo> messageInfoSet, ImapMessageFlags flags, System.AsyncCallback callback, Object state)
Changes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
messageInfoSet | java.lang.Iterable<com.aspose.email.ImapMessageInfo> | The set of ImapMessageInfo |
flags | ImapMessageFlags | Flag value |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginChangeMessageFlags(Iterable messageInfoSet, ImapMessageFlags flags, long modificationSequence)
public final System.IAsyncResult beginChangeMessageFlags(Iterable<ImapMessageInfo> messageInfoSet, ImapMessageFlags flags, long modificationSequence)
Changes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
messageInfoSet | java.lang.Iterable<com.aspose.email.ImapMessageInfo> | The set of ImapMessageInfo |
flags | ImapMessageFlags | Flag value |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginChangeMessageFlags(Iterable messageInfoSet, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback)
public final System.IAsyncResult beginChangeMessageFlags(Iterable<ImapMessageInfo> messageInfoSet, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback)
Changes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
messageInfoSet | java.lang.Iterable<com.aspose.email.ImapMessageInfo> | The set of ImapMessageInfo |
flags | ImapMessageFlags | Flag value |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginChangeMessageFlags(Iterable messageInfoSet, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginChangeMessageFlags(Iterable<ImapMessageInfo> messageInfoSet, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback, Object state)
Changes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
messageInfoSet | java.lang.Iterable<com.aspose.email.ImapMessageInfo> | The set of ImapMessageInfo |
flags | ImapMessageFlags | Flag value |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginChangeMessageFlags(String uniqueId, ImapMessageFlags flags)
public final System.IAsyncResult beginChangeMessageFlags(String uniqueId, ImapMessageFlags flags)
Changes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
uniqueId | java.lang.String | Unique identifier of a message |
flags | ImapMessageFlags | Flag value |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginChangeMessageFlags(String uniqueId, ImapMessageFlags flags, System.AsyncCallback callback)
public final System.IAsyncResult beginChangeMessageFlags(String uniqueId, ImapMessageFlags flags, System.AsyncCallback callback)
Changes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
uniqueId | java.lang.String | Unique identifier of a message |
flags | ImapMessageFlags | Flag value |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginChangeMessageFlags(String uniqueId, ImapMessageFlags flags, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginChangeMessageFlags(String uniqueId, ImapMessageFlags flags, System.AsyncCallback callback, Object state)
Changes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
uniqueId | java.lang.String | Unique identifier of a message |
flags | ImapMessageFlags | Flag value |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginChangeMessageFlags(String uniqueId, ImapMessageFlags flags, long modificationSequence)
public final System.IAsyncResult beginChangeMessageFlags(String uniqueId, ImapMessageFlags flags, long modificationSequence)
Changes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
uniqueId | java.lang.String | Unique identifier of a message |
flags | ImapMessageFlags | Flag value |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginChangeMessageFlags(String uniqueId, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback)
public final System.IAsyncResult beginChangeMessageFlags(String uniqueId, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback)
Changes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
uniqueId | java.lang.String | Unique identifier of a message |
flags | ImapMessageFlags | Flag value |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginChangeMessageFlags(String uniqueId, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginChangeMessageFlags(String uniqueId, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback, Object state)
Changes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
uniqueId | java.lang.String | Unique identifier of a message |
flags | ImapMessageFlags | Flag value |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginChangeMessageFlags(String startUid, String endUid, ImapMessageFlags flags)
public final System.IAsyncResult beginChangeMessageFlags(String startUid, String endUid, ImapMessageFlags flags)
Changes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
startUid | java.lang.String | The starting UID of a message list |
endUid | java.lang.String | The ending UID of a message list |
flags | ImapMessageFlags | Flag value |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginChangeMessageFlags(String startUid, String endUid, ImapMessageFlags flags, System.AsyncCallback callback)
public final System.IAsyncResult beginChangeMessageFlags(String startUid, String endUid, ImapMessageFlags flags, System.AsyncCallback callback)
Changes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
startUid | java.lang.String | The starting UID of a message list |
endUid | java.lang.String | The ending UID of a message list |
flags | ImapMessageFlags | Flag value |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginChangeMessageFlags(String startUid, String endUid, ImapMessageFlags flags, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginChangeMessageFlags(String startUid, String endUid, ImapMessageFlags flags, System.AsyncCallback callback, Object state)
Changes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
startUid | java.lang.String | The starting UID of a message list |
endUid | java.lang.String | The ending UID of a message list |
flags | ImapMessageFlags | Flag value |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginChangeMessageFlags(String startUid, String endUid, ImapMessageFlags flags, long modificationSequence)
public final System.IAsyncResult beginChangeMessageFlags(String startUid, String endUid, ImapMessageFlags flags, long modificationSequence)
Changes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
startUid | java.lang.String | The starting UID of a message list |
endUid | java.lang.String | The ending UID of a message list |
flags | ImapMessageFlags | Flag value |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginChangeMessageFlags(String startUid, String endUid, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback)
public final System.IAsyncResult beginChangeMessageFlags(String startUid, String endUid, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback)
Changes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
startUid | java.lang.String | The starting UID of a message list |
endUid | java.lang.String | The ending UID of a message list |
flags | ImapMessageFlags | Flag value |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginChangeMessageFlags(String startUid, String endUid, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginChangeMessageFlags(String startUid, String endUid, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback, Object state)
Changes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
startUid | java.lang.String | The starting UID of a message list |
endUid | java.lang.String | The ending UID of a message list |
flags | ImapMessageFlags | Flag value |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginChangeMessageFlagsBySequences(IConnection connection, Iterable sequenceSet, ImapMessageFlags flags)
public final System.IAsyncResult beginChangeMessageFlagsBySequences(IConnection connection, Iterable<Integer> sequenceSet, ImapMessageFlags flags)
Changes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceSet | java.lang.Iterable<java.lang.Integer> | The set of sequence numbers for messages |
flags | ImapMessageFlags | Flag value |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginChangeMessageFlagsBySequences(IConnection connection, Iterable sequenceSet, ImapMessageFlags flags, System.AsyncCallback callback)
public final System.IAsyncResult beginChangeMessageFlagsBySequences(IConnection connection, Iterable<Integer> sequenceSet, ImapMessageFlags flags, System.AsyncCallback callback)
Changes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceSet | java.lang.Iterable<java.lang.Integer> | The set of sequence numbers for messages |
flags | ImapMessageFlags | Flag value |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginChangeMessageFlagsBySequences(IConnection connection, Iterable sequenceSet, ImapMessageFlags flags, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginChangeMessageFlagsBySequences(IConnection connection, Iterable<Integer> sequenceSet, ImapMessageFlags flags, System.AsyncCallback callback, Object state)
Changes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceSet | java.lang.Iterable<java.lang.Integer> | The set of sequence numbers for messages |
flags | ImapMessageFlags | Flag value |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginChangeMessageFlagsBySequences(IConnection connection, Iterable sequenceSet, ImapMessageFlags flags, long modificationSequence)
public final System.IAsyncResult beginChangeMessageFlagsBySequences(IConnection connection, Iterable<Integer> sequenceSet, ImapMessageFlags flags, long modificationSequence)
Changes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceSet | java.lang.Iterable<java.lang.Integer> | The set of sequence numbers for messages |
flags | ImapMessageFlags | Flag value |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginChangeMessageFlagsBySequences(IConnection connection, Iterable sequenceSet, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback)
public final System.IAsyncResult beginChangeMessageFlagsBySequences(IConnection connection, Iterable<Integer> sequenceSet, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback)
Changes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceSet | java.lang.Iterable<java.lang.Integer> | The set of sequence numbers for messages |
flags | ImapMessageFlags | Flag value |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginChangeMessageFlagsBySequences(IConnection connection, Iterable sequenceSet, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginChangeMessageFlagsBySequences(IConnection connection, Iterable<Integer> sequenceSet, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback, Object state)
Changes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceSet | java.lang.Iterable<java.lang.Integer> | The set of sequence numbers for messages |
flags | ImapMessageFlags | Flag value |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginChangeMessageFlagsBySequences(Iterable sequenceSet, ImapMessageFlags flags)
public final System.IAsyncResult beginChangeMessageFlagsBySequences(Iterable<Integer> sequenceSet, ImapMessageFlags flags)
Changes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
sequenceSet | java.lang.Iterable<java.lang.Integer> | The set of sequence numbers for messages |
flags | ImapMessageFlags | Flag value |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginChangeMessageFlagsBySequences(Iterable sequenceSet, ImapMessageFlags flags, System.AsyncCallback callback)
public final System.IAsyncResult beginChangeMessageFlagsBySequences(Iterable<Integer> sequenceSet, ImapMessageFlags flags, System.AsyncCallback callback)
Changes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
sequenceSet | java.lang.Iterable<java.lang.Integer> | The set of sequence numbers for messages |
flags | ImapMessageFlags | Flag value |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginChangeMessageFlagsBySequences(Iterable sequenceSet, ImapMessageFlags flags, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginChangeMessageFlagsBySequences(Iterable<Integer> sequenceSet, ImapMessageFlags flags, System.AsyncCallback callback, Object state)
Changes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
sequenceSet | java.lang.Iterable<java.lang.Integer> | The set of sequence numbers for messages |
flags | ImapMessageFlags | Flag value |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginChangeMessageFlagsBySequences(Iterable sequenceSet, ImapMessageFlags flags, long modificationSequence)
public final System.IAsyncResult beginChangeMessageFlagsBySequences(Iterable<Integer> sequenceSet, ImapMessageFlags flags, long modificationSequence)
Changes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
sequenceSet | java.lang.Iterable<java.lang.Integer> | The set of sequence numbers for messages |
flags | ImapMessageFlags | Flag value |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginChangeMessageFlagsBySequences(Iterable sequenceSet, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback)
public final System.IAsyncResult beginChangeMessageFlagsBySequences(Iterable<Integer> sequenceSet, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback)
Changes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
sequenceSet | java.lang.Iterable<java.lang.Integer> | The set of sequence numbers for messages |
flags | ImapMessageFlags | Flag value |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginChangeMessageFlagsBySequences(Iterable sequenceSet, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginChangeMessageFlagsBySequences(Iterable<Integer> sequenceSet, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback, Object state)
Changes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
sequenceSet | java.lang.Iterable<java.lang.Integer> | The set of sequence numbers for messages |
flags | ImapMessageFlags | Flag value |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginChangeMessageFlagsByUids(IConnection connection, Iterable uidSet, ImapMessageFlags flags)
public final System.IAsyncResult beginChangeMessageFlagsByUids(IConnection connection, Iterable<String> uidSet, ImapMessageFlags flags)
Changes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uidSet | java.lang.Iterable<java.lang.String> | The set of UID for messages |
flags | ImapMessageFlags | Flag value |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginChangeMessageFlagsByUids(IConnection connection, Iterable uidSet, ImapMessageFlags flags, System.AsyncCallback callback)
public final System.IAsyncResult beginChangeMessageFlagsByUids(IConnection connection, Iterable<String> uidSet, ImapMessageFlags flags, System.AsyncCallback callback)
Changes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uidSet | java.lang.Iterable<java.lang.String> | The set of UID for messages |
flags | ImapMessageFlags | Flag value |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginChangeMessageFlagsByUids(IConnection connection, Iterable uidSet, ImapMessageFlags flags, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginChangeMessageFlagsByUids(IConnection connection, Iterable<String> uidSet, ImapMessageFlags flags, System.AsyncCallback callback, Object state)
Changes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uidSet | java.lang.Iterable<java.lang.String> | The set of UID for messages |
flags | ImapMessageFlags | Flag value |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginChangeMessageFlagsByUids(IConnection connection, Iterable uidSet, ImapMessageFlags flags, long modificationSequence)
public final System.IAsyncResult beginChangeMessageFlagsByUids(IConnection connection, Iterable<String> uidSet, ImapMessageFlags flags, long modificationSequence)
Changes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uidSet | java.lang.Iterable<java.lang.String> | The set of UID for messages |
flags | ImapMessageFlags | Flag value |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginChangeMessageFlagsByUids(IConnection connection, Iterable uidSet, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback)
public final System.IAsyncResult beginChangeMessageFlagsByUids(IConnection connection, Iterable<String> uidSet, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback)
Changes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uidSet | java.lang.Iterable<java.lang.String> | The set of UID for messages |
flags | ImapMessageFlags | Flag value |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginChangeMessageFlagsByUids(IConnection connection, Iterable uidSet, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginChangeMessageFlagsByUids(IConnection connection, Iterable<String> uidSet, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback, Object state)
Changes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uidSet | java.lang.Iterable<java.lang.String> | The set of UID for messages |
flags | ImapMessageFlags | Flag value |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginChangeMessageFlagsByUids(Iterable uidSet, ImapMessageFlags flags)
public final System.IAsyncResult beginChangeMessageFlagsByUids(Iterable<String> uidSet, ImapMessageFlags flags)
Changes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
uidSet | java.lang.Iterable<java.lang.String> | The set of UID for messages |
flags | ImapMessageFlags | Flag value |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginChangeMessageFlagsByUids(Iterable uidSet, ImapMessageFlags flags, System.AsyncCallback callback)
public final System.IAsyncResult beginChangeMessageFlagsByUids(Iterable<String> uidSet, ImapMessageFlags flags, System.AsyncCallback callback)
Changes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
uidSet | java.lang.Iterable<java.lang.String> | The set of UID for messages |
flags | ImapMessageFlags | Flag value |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginChangeMessageFlagsByUids(Iterable uidSet, ImapMessageFlags flags, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginChangeMessageFlagsByUids(Iterable<String> uidSet, ImapMessageFlags flags, System.AsyncCallback callback, Object state)
Changes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
uidSet | java.lang.Iterable<java.lang.String> | The set of UID for messages |
flags | ImapMessageFlags | Flag value |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginChangeMessageFlagsByUids(Iterable uidSet, ImapMessageFlags flags, long modificationSequence)
public final System.IAsyncResult beginChangeMessageFlagsByUids(Iterable<String> uidSet, ImapMessageFlags flags, long modificationSequence)
Changes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
uidSet | java.lang.Iterable<java.lang.String> | The set of UID for messages |
flags | ImapMessageFlags | Flag value |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginChangeMessageFlagsByUids(Iterable uidSet, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback)
public final System.IAsyncResult beginChangeMessageFlagsByUids(Iterable<String> uidSet, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback)
Changes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
uidSet | java.lang.Iterable<java.lang.String> | The set of UID for messages |
flags | ImapMessageFlags | Flag value |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginChangeMessageFlagsByUids(Iterable uidSet, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginChangeMessageFlagsByUids(Iterable<String> uidSet, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback, Object state)
Changes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
uidSet | java.lang.Iterable<java.lang.String> | The set of UID for messages |
flags | ImapMessageFlags | Flag value |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginClientCapabilities(IConnection connection, String[] capabilityNames)
public final System.IAsyncResult beginClientCapabilities(IConnection connection, String[] capabilityNames)
Notifies server which extensions are supported by client asyncronously. Please note, this operation works only in case if server supports RFC5161 See more https://tools.ietf.org/html/rfc5161
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
capabilityNames | java.lang.String[] | Array of capabilities which are supported by client |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginClientCapabilities(IConnection connection, String[] capabilityNames, System.AsyncCallback callback)
public final System.IAsyncResult beginClientCapabilities(IConnection connection, String[] capabilityNames, System.AsyncCallback callback)
Notifies server which extensions are supported by client asyncronously. Please note, this operation works only in case if server supports RFC5161 See more https://tools.ietf.org/html/rfc5161
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
capabilityNames | java.lang.String[] | Array of capabilities which are supported by client |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginClientCapabilities(IConnection connection, String[] capabilityNames, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginClientCapabilities(IConnection connection, String[] capabilityNames, System.AsyncCallback callback, Object state)
Notifies server which extensions are supported by client asyncronously. Please note, this operation works only in case if server supports RFC5161 See more https://tools.ietf.org/html/rfc5161
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
capabilityNames | java.lang.String[] | Array of capabilities which are supported by client |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginClientCapabilities(String[] capabilityNames)
public final System.IAsyncResult beginClientCapabilities(String[] capabilityNames)
Notifies server which extensions are supported by client asyncronously. Please note, this operation works only in case if server supports RFC5161 See more https://tools.ietf.org/html/rfc5161
Parameters:
Parameter | Type | Description |
---|---|---|
capabilityNames | java.lang.String[] | Array of capabilities which are supported by client |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginClientCapabilities(String[] capabilityNames, System.AsyncCallback callback)
public final System.IAsyncResult beginClientCapabilities(String[] capabilityNames, System.AsyncCallback callback)
Notifies server which extensions are supported by client asyncronously. Please note, this operation works only in case if server supports RFC5161 See more https://tools.ietf.org/html/rfc5161
Parameters:
Parameter | Type | Description |
---|---|---|
capabilityNames | java.lang.String[] | Array of capabilities which are supported by client |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginClientCapabilities(String[] capabilityNames, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginClientCapabilities(String[] capabilityNames, System.AsyncCallback callback, Object state)
Notifies server which extensions are supported by client asyncronously. Please note, this operation works only in case if server supports RFC5161 See more https://tools.ietf.org/html/rfc5161
Parameters:
Parameter | Type | Description |
---|---|---|
capabilityNames | java.lang.String[] | Array of capabilities which are supported by client |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginCommitDeletes()
public final System.IAsyncResult beginCommitDeletes()
Begins to commit the deletions
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginCommitDeletes(IConnection connection)
public final System.IAsyncResult beginCommitDeletes(IConnection connection)
Begins to commit the deletions
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginCommitDeletes(IConnection connection, System.AsyncCallback callback)
public final System.IAsyncResult beginCommitDeletes(IConnection connection, System.AsyncCallback callback)
Begins to commit the deletions
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginCommitDeletes(IConnection connection, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginCommitDeletes(IConnection connection, System.AsyncCallback callback, Object state)
Begins to commit the deletions
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginCommitDeletes(IConnection connection, int sleep)
public final System.IAsyncResult beginCommitDeletes(IConnection connection, int sleep)
Begins to commit the deletions
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sleep | int | Wait time complete the operation in milliseconds |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginCommitDeletes(IConnection connection, int sleep, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginCommitDeletes(IConnection connection, int sleep, System.AsyncCallback callback, Object state)
Begins to commit the deletions
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sleep | int | Wait time complete the operation in milliseconds |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginCommitDeletes(IConnection connection, Iterable uidSet)
public final System.IAsyncResult beginCommitDeletes(IConnection connection, Iterable<String> uidSet)
Begins to commit the deletions This method works only if server supports UIDPLUS extension. Please, read more https://tools.ietf.org/html/rfc4315
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uidSet | java.lang.Iterable<java.lang.String> | Set of unique identifiers for messages |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginCommitDeletes(IConnection connection, Iterable uidSet, System.AsyncCallback callback)
public final System.IAsyncResult beginCommitDeletes(IConnection connection, Iterable<String> uidSet, System.AsyncCallback callback)
Begins to commit the deletions This method works only if server supports UIDPLUS extension. Please, read more https://tools.ietf.org/html/rfc4315
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uidSet | java.lang.Iterable<java.lang.String> | Set of unique identifiers for messages |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginCommitDeletes(IConnection connection, Iterable uidSet, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginCommitDeletes(IConnection connection, Iterable<String> uidSet, System.AsyncCallback callback, Object state)
Begins to commit the deletions This method works only if server supports UIDPLUS extension. Please, read more https://tools.ietf.org/html/rfc4315
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uidSet | java.lang.Iterable<java.lang.String> | Set of unique identifiers for messages |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginCommitDeletes(IConnection connection, String uniqueId)
public final System.IAsyncResult beginCommitDeletes(IConnection connection, String uniqueId)
Begins to commit the deletions This method works only if server supports UIDPLUS extension. Please, read more https://tools.ietf.org/html/rfc4315
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uniqueId | java.lang.String | The uid of a message |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginCommitDeletes(IConnection connection, String uniqueId, System.AsyncCallback callback)
public final System.IAsyncResult beginCommitDeletes(IConnection connection, String uniqueId, System.AsyncCallback callback)
Begins to commit the deletions This method works only if server supports UIDPLUS extension. Please, read more https://tools.ietf.org/html/rfc4315
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uniqueId | java.lang.String | The uid of a message |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginCommitDeletes(IConnection connection, String uniqueId, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginCommitDeletes(IConnection connection, String uniqueId, System.AsyncCallback callback, Object state)
Begins to commit the deletions This method works only if server supports UIDPLUS extension. Please, read more https://tools.ietf.org/html/rfc4315
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uniqueId | java.lang.String | The uid of a message |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginCommitDeletes(IConnection connection, String startUid, String endUid)
public final System.IAsyncResult beginCommitDeletes(IConnection connection, String startUid, String endUid)
Begins to commit the deletions This method works only if server supports UIDPLUS extension. Please, read more https://tools.ietf.org/html/rfc4315
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
startUid | java.lang.String | The starting UID of a message list |
endUid | java.lang.String | The ending UID of a message list |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginCommitDeletes(IConnection connection, String startUid, String endUid, System.AsyncCallback callback)
public final System.IAsyncResult beginCommitDeletes(IConnection connection, String startUid, String endUid, System.AsyncCallback callback)
Begins to commit the deletions This method works only if server supports UIDPLUS extension. Please, read more https://tools.ietf.org/html/rfc4315
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
startUid | java.lang.String | The starting UID of a message list |
endUid | java.lang.String | The ending UID of a message list |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginCommitDeletes(IConnection connection, String startUid, String endUid, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginCommitDeletes(IConnection connection, String startUid, String endUid, System.AsyncCallback callback, Object state)
Begins to commit the deletions This method works only if server supports UIDPLUS extension. Please, read more https://tools.ietf.org/html/rfc4315
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
startUid | java.lang.String | The starting UID of a message list |
endUid | java.lang.String | The ending UID of a message list |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginCommitDeletes(System.AsyncCallback callback)
public final System.IAsyncResult beginCommitDeletes(System.AsyncCallback callback)
Begins to commit the deletions
Parameters:
Parameter | Type | Description |
---|---|---|
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginCommitDeletes(System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginCommitDeletes(System.AsyncCallback callback, Object state)
Begins to commit the deletions
Parameters:
Parameter | Type | Description |
---|---|---|
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginCommitDeletes(int sleep)
public final System.IAsyncResult beginCommitDeletes(int sleep)
Begins to commit the deletions
Parameters:
Parameter | Type | Description |
---|---|---|
sleep | int | Wait time complete the operation in milliseconds |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginCommitDeletes(int sleep, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginCommitDeletes(int sleep, System.AsyncCallback callback, Object state)
Begins to commit the deletions
Parameters:
Parameter | Type | Description |
---|---|---|
sleep | int | Wait time complete the operation in milliseconds |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginCommitDeletes(Iterable uidSet)
public final System.IAsyncResult beginCommitDeletes(Iterable<String> uidSet)
Begins to commit the deletions This method works only if server supports UIDPLUS extension. Please, read more https://tools.ietf.org/html/rfc4315
Parameters:
Parameter | Type | Description |
---|---|---|
uidSet | java.lang.Iterable<java.lang.String> | Set of unique identifiers for messages |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginCommitDeletes(Iterable uidSet, System.AsyncCallback callback)
public final System.IAsyncResult beginCommitDeletes(Iterable<String> uidSet, System.AsyncCallback callback)
Begins to commit the deletions This method works only if server supports UIDPLUS extension. Please, read more https://tools.ietf.org/html/rfc4315
Parameters:
Parameter | Type | Description |
---|---|---|
uidSet | java.lang.Iterable<java.lang.String> | Set of unique identifiers for messages |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginCommitDeletes(Iterable uidSet, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginCommitDeletes(Iterable<String> uidSet, System.AsyncCallback callback, Object state)
Begins to commit the deletions This method works only if server supports UIDPLUS extension. Please, read more https://tools.ietf.org/html/rfc4315
Parameters:
Parameter | Type | Description |
---|---|---|
uidSet | java.lang.Iterable<java.lang.String> | Set of unique identifiers for messages |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginCommitDeletes(String uniqueId)
public final System.IAsyncResult beginCommitDeletes(String uniqueId)
Begins to commit the deletions This method works only if server supports UIDPLUS extension. Please, read more https://tools.ietf.org/html/rfc4315
Parameters:
Parameter | Type | Description |
---|---|---|
uniqueId | java.lang.String | The uid of a message |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginCommitDeletes(String uniqueId, System.AsyncCallback callback)
public final System.IAsyncResult beginCommitDeletes(String uniqueId, System.AsyncCallback callback)
Begins to commit the deletions This method works only if server supports UIDPLUS extension. Please, read more https://tools.ietf.org/html/rfc4315
Parameters:
Parameter | Type | Description |
---|---|---|
uniqueId | java.lang.String | The uid of a message |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginCommitDeletes(String uniqueId, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginCommitDeletes(String uniqueId, System.AsyncCallback callback, Object state)
Begins to commit the deletions This method works only if server supports UIDPLUS extension. Please, read more https://tools.ietf.org/html/rfc4315
Parameters:
Parameter | Type | Description |
---|---|---|
uniqueId | java.lang.String | The uid of a message |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginCommitDeletes(String startUid, String endUid)
public final System.IAsyncResult beginCommitDeletes(String startUid, String endUid)
Begins to commit the deletions This method works only if server supports UIDPLUS extension. Please, read more https://tools.ietf.org/html/rfc4315
Parameters:
Parameter | Type | Description |
---|---|---|
startUid | java.lang.String | The starting UID of a message list |
endUid | java.lang.String | The ending UID of a message list |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginCommitDeletes(String startUid, String endUid, System.AsyncCallback callback)
public final System.IAsyncResult beginCommitDeletes(String startUid, String endUid, System.AsyncCallback callback)
Begins to commit the deletions This method works only if server supports UIDPLUS extension. Please, read more https://tools.ietf.org/html/rfc4315
Parameters:
Parameter | Type | Description |
---|---|---|
startUid | java.lang.String | The starting UID of a message list |
endUid | java.lang.String | The ending UID of a message list |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginCommitDeletes(String startUid, String endUid, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginCommitDeletes(String startUid, String endUid, System.AsyncCallback callback, Object state)
Begins to commit the deletions This method works only if server supports UIDPLUS extension. Please, read more https://tools.ietf.org/html/rfc4315
Parameters:
Parameter | Type | Description |
---|---|---|
startUid | java.lang.String | The starting UID of a message list |
endUid | java.lang.String | The ending UID of a message list |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginCopyMessage(IConnection connection, int sequenceNumber, String folderName)
public final System.IAsyncResult beginCopyMessage(IConnection connection, int sequenceNumber, String folderName)
Begins an asynchronous copying.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceNumber | int | The sequence number of message |
folderName | java.lang.String | Name of the folder. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginCopyMessage(IConnection connection, int sequenceNumber, String folderName, System.AsyncCallback callback)
public final System.IAsyncResult beginCopyMessage(IConnection connection, int sequenceNumber, String folderName, System.AsyncCallback callback)
Begins an asynchronous copying.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceNumber | int | The sequence number of message |
folderName | java.lang.String | Name of the folder. |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginCopyMessage(IConnection connection, int sequenceNumber, String folderName, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginCopyMessage(IConnection connection, int sequenceNumber, String folderName, System.AsyncCallback callback, Object state)
Begins an asynchronous copying.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceNumber | int | The sequence number of message |
folderName | java.lang.String | Name of the folder. |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginCopyMessage(IConnection connection, String uniqueId, String folderName)
public final System.IAsyncResult beginCopyMessage(IConnection connection, String uniqueId, String folderName)
Begins an asynchronous copying.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uniqueId | java.lang.String | The unique Id of the message |
folderName | java.lang.String | Name of the folder. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginCopyMessage(IConnection connection, String uniqueId, String folderName, System.AsyncCallback callback)
public final System.IAsyncResult beginCopyMessage(IConnection connection, String uniqueId, String folderName, System.AsyncCallback callback)
Begins an asynchronous copying.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uniqueId | java.lang.String | The unique Id of the message |
folderName | java.lang.String | Name of the folder. |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginCopyMessage(IConnection connection, String uniqueId, String folderName, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginCopyMessage(IConnection connection, String uniqueId, String folderName, System.AsyncCallback callback, Object state)
Begins an asynchronous copying.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uniqueId | java.lang.String | The unique Id of the message |
folderName | java.lang.String | Name of the folder. |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginCopyMessage(int sequenceNumber, String folderName)
public final System.IAsyncResult beginCopyMessage(int sequenceNumber, String folderName)
Begins an asynchronous copying.
Parameters:
Parameter | Type | Description |
---|---|---|
sequenceNumber | int | The sequence number of message |
folderName | java.lang.String | Name of the folder. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginCopyMessage(int sequenceNumber, String folderName, System.AsyncCallback callback)
public final System.IAsyncResult beginCopyMessage(int sequenceNumber, String folderName, System.AsyncCallback callback)
Begins an asynchronous copying.
Parameters:
Parameter | Type | Description |
---|---|---|
sequenceNumber | int | The sequence number of message |
folderName | java.lang.String | Name of the folder. |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginCopyMessage(int sequenceNumber, String folderName, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginCopyMessage(int sequenceNumber, String folderName, System.AsyncCallback callback, Object state)
Begins an asynchronous copying.
Parameters:
Parameter | Type | Description |
---|---|---|
sequenceNumber | int | The sequence number of message |
folderName | java.lang.String | Name of the folder. |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginCopyMessage(String uniqueId, String folderName)
public final System.IAsyncResult beginCopyMessage(String uniqueId, String folderName)
Begins an asynchronous copying.
Parameters:
Parameter | Type | Description |
---|---|---|
uniqueId | java.lang.String | The unique Id of the message |
folderName | java.lang.String | Name of the folder. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginCopyMessage(String uniqueId, String folderName, System.AsyncCallback callback)
public final System.IAsyncResult beginCopyMessage(String uniqueId, String folderName, System.AsyncCallback callback)
Begins an asynchronous copying.
Parameters:
Parameter | Type | Description |
---|---|---|
uniqueId | java.lang.String | The unique Id of the message |
folderName | java.lang.String | Name of the folder. |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginCopyMessage(String uniqueId, String folderName, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginCopyMessage(String uniqueId, String folderName, System.AsyncCallback callback, Object state)
Begins an asynchronous copying.
Parameters:
Parameter | Type | Description |
---|---|---|
uniqueId | java.lang.String | The unique Id of the message |
folderName | java.lang.String | Name of the folder. |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginCopyMessages(IConnection connection, int startSequence, int endSequence, String folderName)
public final System.IAsyncResult beginCopyMessages(IConnection connection, int startSequence, int endSequence, String folderName)
Begins copy operation asynchronously.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
startSequence | int | The starting sequence number of a message list |
endSequence | int | The ending sequence number of a message list |
folderName | java.lang.String | Folder name where a message is to be moved |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginCopyMessages(IConnection connection, int startSequence, int endSequence, String folderName, System.AsyncCallback callback)
public final System.IAsyncResult beginCopyMessages(IConnection connection, int startSequence, int endSequence, String folderName, System.AsyncCallback callback)
Begins copy operation asynchronously.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
startSequence | int | The starting sequence number of a message list |
endSequence | int | The ending sequence number of a message list |
folderName | java.lang.String | Folder name where a message is to be moved |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginCopyMessages(IConnection connection, int startSequence, int endSequence, String folderName, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginCopyMessages(IConnection connection, int startSequence, int endSequence, String folderName, System.AsyncCallback callback, Object state)
Begins copy operation asynchronously.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
startSequence | int | The starting sequence number of a message list |
endSequence | int | The ending sequence number of a message list |
folderName | java.lang.String | Folder name where a message is to be moved |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginCopyMessages(IConnection connection, Iterable messageInfoSet, String folderName)
public final System.IAsyncResult beginCopyMessages(IConnection connection, Iterable<ImapMessageInfo> messageInfoSet, String folderName)
Begins copy operation asynchronously.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
messageInfoSet | java.lang.Iterable<com.aspose.email.ImapMessageInfo> | The set of ImapMessageInfo |
folderName | java.lang.String | Folder name where a message is to be moved |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginCopyMessages(IConnection connection, Iterable messageInfoSet, String folderName, System.AsyncCallback callback)
public final System.IAsyncResult beginCopyMessages(IConnection connection, Iterable<ImapMessageInfo> messageInfoSet, String folderName, System.AsyncCallback callback)
Begins copy operation asynchronously.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
messageInfoSet | java.lang.Iterable<com.aspose.email.ImapMessageInfo> | The set of ImapMessageInfo |
folderName | java.lang.String | Folder name where a message is to be moved |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginCopyMessages(IConnection connection, Iterable messageInfoSet, String folderName, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginCopyMessages(IConnection connection, Iterable<ImapMessageInfo> messageInfoSet, String folderName, System.AsyncCallback callback, Object state)
Begins copy operation asynchronously.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
messageInfoSet | java.lang.Iterable<com.aspose.email.ImapMessageInfo> | The set of ImapMessageInfo |
folderName | java.lang.String | Folder name where a message is to be moved |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginCopyMessages(IConnection connection, String startUid, String endUid, String folderName)
public final System.IAsyncResult beginCopyMessages(IConnection connection, String startUid, String endUid, String folderName)
Begins copy operation asynchronously.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
startUid | java.lang.String | The starting UID of a message list |
endUid | java.lang.String | The ending UID of a message list |
folderName | java.lang.String | Folder name where a message is to be moved |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginCopyMessages(IConnection connection, String startUid, String endUid, String folderName, System.AsyncCallback callback)
public final System.IAsyncResult beginCopyMessages(IConnection connection, String startUid, String endUid, String folderName, System.AsyncCallback callback)
Begins copy operation asynchronously.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
startUid | java.lang.String | The starting UID of a message list |
endUid | java.lang.String | The ending UID of a message list |
folderName | java.lang.String | Folder name where a message is to be moved |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginCopyMessages(IConnection connection, String startUid, String endUid, String folderName, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginCopyMessages(IConnection connection, String startUid, String endUid, String folderName, System.AsyncCallback callback, Object state)
Begins copy operation asynchronously.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
startUid | java.lang.String | The starting UID of a message list |
endUid | java.lang.String | The ending UID of a message list |
folderName | java.lang.String | Folder name where a message is to be moved |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginCopyMessages(int startSequence, int endSequence, String folderName)
public final System.IAsyncResult beginCopyMessages(int startSequence, int endSequence, String folderName)
Begins copy operation asynchronously.
Parameters:
Parameter | Type | Description |
---|---|---|
startSequence | int | The starting sequence number of a message list |
endSequence | int | The ending sequence number of a message list |
folderName | java.lang.String | Folder name where a message is to be moved |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginCopyMessages(int startSequence, int endSequence, String folderName, System.AsyncCallback callback)
public final System.IAsyncResult beginCopyMessages(int startSequence, int endSequence, String folderName, System.AsyncCallback callback)
Begins copy operation asynchronously.
Parameters:
Parameter | Type | Description |
---|---|---|
startSequence | int | The starting sequence number of a message list |
endSequence | int | The ending sequence number of a message list |
folderName | java.lang.String | Folder name where a message is to be moved |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginCopyMessages(int startSequence, int endSequence, String folderName, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginCopyMessages(int startSequence, int endSequence, String folderName, System.AsyncCallback callback, Object state)
Begins copy operation asynchronously.
Parameters:
Parameter | Type | Description |
---|---|---|
startSequence | int | The starting sequence number of a message list |
endSequence | int | The ending sequence number of a message list |
folderName | java.lang.String | Folder name where a message is to be moved |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginCopyMessages(Iterable messageInfoSet, String folderName)
public final System.IAsyncResult beginCopyMessages(Iterable<ImapMessageInfo> messageInfoSet, String folderName)
Begins copy operation asynchronously.
Parameters:
Parameter | Type | Description |
---|---|---|
messageInfoSet | java.lang.Iterable<com.aspose.email.ImapMessageInfo> | The set of ImapMessageInfo |
folderName | java.lang.String | Folder name where a message is to be moved |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginCopyMessages(Iterable messageInfoSet, String folderName, System.AsyncCallback callback)
public final System.IAsyncResult beginCopyMessages(Iterable<ImapMessageInfo> messageInfoSet, String folderName, System.AsyncCallback callback)
Begins copy operation asynchronously.
Parameters:
Parameter | Type | Description |
---|---|---|
messageInfoSet | java.lang.Iterable<com.aspose.email.ImapMessageInfo> | The set of ImapMessageInfo |
folderName | java.lang.String | Folder name where a message is to be moved |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginCopyMessages(Iterable messageInfoSet, String folderName, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginCopyMessages(Iterable<ImapMessageInfo> messageInfoSet, String folderName, System.AsyncCallback callback, Object state)
Begins copy operation asynchronously.
Parameters:
Parameter | Type | Description |
---|---|---|
messageInfoSet | java.lang.Iterable<com.aspose.email.ImapMessageInfo> | The set of ImapMessageInfo |
folderName | java.lang.String | Folder name where a message is to be moved |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginCopyMessages(String startUid, String endUid, String folderName)
public final System.IAsyncResult beginCopyMessages(String startUid, String endUid, String folderName)
Begins copy operation asynchronously.
Parameters:
Parameter | Type | Description |
---|---|---|
startUid | java.lang.String | The starting UID of a message list |
endUid | java.lang.String | The ending UID of a message list |
folderName | java.lang.String | Folder name where a message is to be moved |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginCopyMessages(String startUid, String endUid, String folderName, System.AsyncCallback callback)
public final System.IAsyncResult beginCopyMessages(String startUid, String endUid, String folderName, System.AsyncCallback callback)
Begins copy operation asynchronously.
Parameters:
Parameter | Type | Description |
---|---|---|
startUid | java.lang.String | The starting UID of a message list |
endUid | java.lang.String | The ending UID of a message list |
folderName | java.lang.String | Folder name where a message is to be moved |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginCopyMessages(String startUid, String endUid, String folderName, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginCopyMessages(String startUid, String endUid, String folderName, System.AsyncCallback callback, Object state)
Begins copy operation asynchronously.
Parameters:
Parameter | Type | Description |
---|---|---|
startUid | java.lang.String | The starting UID of a message list |
endUid | java.lang.String | The ending UID of a message list |
folderName | java.lang.String | Folder name where a message is to be moved |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginCopyMessagesBySequences(IConnection connection, Iterable sequenceSet, String folderName)
public final System.IAsyncResult beginCopyMessagesBySequences(IConnection connection, Iterable<Integer> sequenceSet, String folderName)
Begins copy operation asynchronously.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceSet | java.lang.Iterable<java.lang.Integer> | The set of sequence numbers for messages |
folderName | java.lang.String | Folder name where a message is to be moved |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginCopyMessagesBySequences(IConnection connection, Iterable sequenceSet, String folderName, System.AsyncCallback callback)
public final System.IAsyncResult beginCopyMessagesBySequences(IConnection connection, Iterable<Integer> sequenceSet, String folderName, System.AsyncCallback callback)
Begins copy operation asynchronously.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceSet | java.lang.Iterable<java.lang.Integer> | The set of sequence numbers for messages |
folderName | java.lang.String | Folder name where a message is to be moved |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginCopyMessagesBySequences(IConnection connection, Iterable sequenceSet, String folderName, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginCopyMessagesBySequences(IConnection connection, Iterable<Integer> sequenceSet, String folderName, System.AsyncCallback callback, Object state)
Begins copy operation asynchronously.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceSet | java.lang.Iterable<java.lang.Integer> | The set of sequence numbers for messages |
folderName | java.lang.String | Folder name where a message is to be moved |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginCopyMessagesBySequences(Iterable sequenceSet, String folderName)
public final System.IAsyncResult beginCopyMessagesBySequences(Iterable<Integer> sequenceSet, String folderName)
Begins copy operation asynchronously.
Parameters:
Parameter | Type | Description |
---|---|---|
sequenceSet | java.lang.Iterable<java.lang.Integer> | The set of sequence numbers for messages |
folderName | java.lang.String | Folder name where a message is to be moved |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginCopyMessagesBySequences(Iterable sequenceSet, String folderName, System.AsyncCallback callback)
public final System.IAsyncResult beginCopyMessagesBySequences(Iterable<Integer> sequenceSet, String folderName, System.AsyncCallback callback)
Begins copy operation asynchronously.
Parameters:
Parameter | Type | Description |
---|---|---|
sequenceSet | java.lang.Iterable<java.lang.Integer> | The set of sequence numbers for messages |
folderName | java.lang.String | Folder name where a message is to be moved |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginCopyMessagesBySequences(Iterable sequenceSet, String folderName, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginCopyMessagesBySequences(Iterable<Integer> sequenceSet, String folderName, System.AsyncCallback callback, Object state)
Begins copy operation asynchronously.
Parameters:
Parameter | Type | Description |
---|---|---|
sequenceSet | java.lang.Iterable<java.lang.Integer> | The set of sequence numbers for messages |
folderName | java.lang.String | Folder name where a message is to be moved |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginCopyMessagesByUids(IConnection connection, Iterable uidSet, String folderName)
public final System.IAsyncResult beginCopyMessagesByUids(IConnection connection, Iterable<String> uidSet, String folderName)
Begins copy operation asynchronously.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uidSet | java.lang.Iterable<java.lang.String> | The set of UID for messages |
folderName | java.lang.String | Folder name where a message is to be moved |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginCopyMessagesByUids(IConnection connection, Iterable uidSet, String folderName, System.AsyncCallback callback)
public final System.IAsyncResult beginCopyMessagesByUids(IConnection connection, Iterable<String> uidSet, String folderName, System.AsyncCallback callback)
Begins copy operation asynchronously.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uidSet | java.lang.Iterable<java.lang.String> | The set of UID for messages |
folderName | java.lang.String | Folder name where a message is to be moved |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginCopyMessagesByUids(IConnection connection, Iterable uidSet, String folderName, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginCopyMessagesByUids(IConnection connection, Iterable<String> uidSet, String folderName, System.AsyncCallback callback, Object state)
Begins copy operation asynchronously.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uidSet | java.lang.Iterable<java.lang.String> | The set of UID for messages |
folderName | java.lang.String | Folder name where a message is to be moved |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginCopyMessagesByUids(Iterable uidSet, String folderName)
public final System.IAsyncResult beginCopyMessagesByUids(Iterable<String> uidSet, String folderName)
Begins copy operation asynchronously.
Parameters:
Parameter | Type | Description |
---|---|---|
uidSet | java.lang.Iterable<java.lang.String> | The set of UID for messages |
folderName | java.lang.String | Folder name where a message is to be moved |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginCopyMessagesByUids(Iterable uidSet, String folderName, System.AsyncCallback callback)
public final System.IAsyncResult beginCopyMessagesByUids(Iterable<String> uidSet, String folderName, System.AsyncCallback callback)
Begins copy operation asynchronously.
Parameters:
Parameter | Type | Description |
---|---|---|
uidSet | java.lang.Iterable<java.lang.String> | The set of UID for messages |
folderName | java.lang.String | Folder name where a message is to be moved |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginCopyMessagesByUids(Iterable uidSet, String folderName, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginCopyMessagesByUids(Iterable<String> uidSet, String folderName, System.AsyncCallback callback, Object state)
Begins copy operation asynchronously.
Parameters:
Parameter | Type | Description |
---|---|---|
uidSet | java.lang.Iterable<java.lang.String> | The set of UID for messages |
folderName | java.lang.String | Folder name where a message is to be moved |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginCreateFolder(IConnection connection, String folderName)
public final System.IAsyncResult beginCreateFolder(IConnection connection, String folderName)
Begins an asynchronous folder creation.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
folderName | java.lang.String | Name of the folder. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginCreateFolder(IConnection connection, String folderName, System.AsyncCallback callback)
public final System.IAsyncResult beginCreateFolder(IConnection connection, String folderName, System.AsyncCallback callback)
Begins an asynchronous folder creation.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
folderName | java.lang.String | Name of the folder. |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginCreateFolder(IConnection connection, String folderName, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginCreateFolder(IConnection connection, String folderName, System.AsyncCallback callback, Object state)
Begins an asynchronous folder creation.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
folderName | java.lang.String | Name of the folder. |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginCreateFolder(String folderName)
public final System.IAsyncResult beginCreateFolder(String folderName)
Begins an asynchronous folder creation.
Parameters:
Parameter | Type | Description |
---|---|---|
folderName | java.lang.String | Name of the folder. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginCreateFolder(String folderName, System.AsyncCallback callback)
public final System.IAsyncResult beginCreateFolder(String folderName, System.AsyncCallback callback)
Begins an asynchronous folder creation.
Parameters:
Parameter | Type | Description |
---|---|---|
folderName | java.lang.String | Name of the folder. |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginCreateFolder(String folderName, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginCreateFolder(String folderName, System.AsyncCallback callback, Object state)
Begins an asynchronous folder creation.
Parameters:
Parameter | Type | Description |
---|---|---|
folderName | java.lang.String | Name of the folder. |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteFolder(IConnection connection, String folderName)
public final System.IAsyncResult beginDeleteFolder(IConnection connection, String folderName)
Begins an asynchronous folder deletion.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
folderName | java.lang.String | Name of the folder. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteFolder(IConnection connection, String folderName, System.AsyncCallback callback)
public final System.IAsyncResult beginDeleteFolder(IConnection connection, String folderName, System.AsyncCallback callback)
Begins an asynchronous folder deletion.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
folderName | java.lang.String | Name of the folder. |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteFolder(IConnection connection, String folderName, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginDeleteFolder(IConnection connection, String folderName, System.AsyncCallback callback, Object state)
Begins an asynchronous folder deletion.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
folderName | java.lang.String | Name of the folder. |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteFolder(String folderName)
public final System.IAsyncResult beginDeleteFolder(String folderName)
Begins an asynchronous folder deletion.
Parameters:
Parameter | Type | Description |
---|---|---|
folderName | java.lang.String | Name of the folder. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteFolder(String folderName, System.AsyncCallback callback)
public final System.IAsyncResult beginDeleteFolder(String folderName, System.AsyncCallback callback)
Begins an asynchronous folder deletion.
Parameters:
Parameter | Type | Description |
---|---|---|
folderName | java.lang.String | Name of the folder. |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteFolder(String folderName, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginDeleteFolder(String folderName, System.AsyncCallback callback, Object state)
Begins an asynchronous folder deletion.
Parameters:
Parameter | Type | Description |
---|---|---|
folderName | java.lang.String | Name of the folder. |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteMessage(IConnection connection, int sequenceNumber)
public final System.IAsyncResult beginDeleteMessage(IConnection connection, int sequenceNumber)
Marks a message with the specified sequence number as deleted asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceNumber | int | The sequence number of message |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteMessage(IConnection connection, int sequenceNumber, System.AsyncCallback callback)
public final System.IAsyncResult beginDeleteMessage(IConnection connection, int sequenceNumber, System.AsyncCallback callback)
Marks a message with the specified sequence number as deleted asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceNumber | int | The sequence number of message |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteMessage(IConnection connection, int sequenceNumber, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginDeleteMessage(IConnection connection, int sequenceNumber, System.AsyncCallback callback, Object state)
Marks a message with the specified sequence number as deleted asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceNumber | int | The sequence number of message |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteMessage(IConnection connection, int sequenceNumber, long modificationSequence)
public final System.IAsyncResult beginDeleteMessage(IConnection connection, int sequenceNumber, long modificationSequence)
Marks a message with the specified sequence number as deleted asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceNumber | int | The sequence number of message |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteMessage(IConnection connection, int sequenceNumber, long modificationSequence, System.AsyncCallback callback)
public final System.IAsyncResult beginDeleteMessage(IConnection connection, int sequenceNumber, long modificationSequence, System.AsyncCallback callback)
Marks a message with the specified sequence number as deleted asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceNumber | int | The sequence number of message |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteMessage(IConnection connection, int sequenceNumber, long modificationSequence, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginDeleteMessage(IConnection connection, int sequenceNumber, long modificationSequence, System.AsyncCallback callback, Object state)
Marks a message with the specified sequence number as deleted asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceNumber | int | The sequence number of message |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteMessage(IConnection connection, String uniqueId)
public final System.IAsyncResult beginDeleteMessage(IConnection connection, String uniqueId)
Begins an asynchronous message deletion.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uniqueId | java.lang.String | The uid of the message |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteMessage(IConnection connection, String uniqueId, boolean commitNow)
public final System.IAsyncResult beginDeleteMessage(IConnection connection, String uniqueId, boolean commitNow)
Begins an asynchronous message deletion. This method works only if server supports UIDPLUS extension. Please, read more https://tools.ietf.org/html/rfc4315
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uniqueId | java.lang.String | The uid of the message |
commitNow | boolean | Defines whether message must be commited now. Please, read more https://tools.ietf.org/html/rfc4315 |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteMessage(IConnection connection, String uniqueId, boolean commitNow, System.AsyncCallback callback)
public final System.IAsyncResult beginDeleteMessage(IConnection connection, String uniqueId, boolean commitNow, System.AsyncCallback callback)
Begins an asynchronous message deletion. This method works only if server supports UIDPLUS extension. Please, read more https://tools.ietf.org/html/rfc4315
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uniqueId | java.lang.String | The uid of the message |
commitNow | boolean | Defines whether message must be commited now. Please, read more https://tools.ietf.org/html/rfc4315 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteMessage(IConnection connection, String uniqueId, boolean commitNow, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginDeleteMessage(IConnection connection, String uniqueId, boolean commitNow, System.AsyncCallback callback, Object state)
Begins an asynchronous message deletion. This method works only if server supports UIDPLUS extension. Please, read more https://tools.ietf.org/html/rfc4315
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uniqueId | java.lang.String | The uid of the message |
commitNow | boolean | Defines whether message must be commited now. Please, read more https://tools.ietf.org/html/rfc4315 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteMessage(IConnection connection, String uniqueId, System.AsyncCallback callback)
public final System.IAsyncResult beginDeleteMessage(IConnection connection, String uniqueId, System.AsyncCallback callback)
Begins an asynchronous message deletion.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uniqueId | java.lang.String | The uid of the message |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteMessage(IConnection connection, String uniqueId, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginDeleteMessage(IConnection connection, String uniqueId, System.AsyncCallback callback, Object state)
Begins an asynchronous message deletion.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uniqueId | java.lang.String | The uid of the message |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteMessage(IConnection connection, String uniqueId, long modificationSequence)
public final System.IAsyncResult beginDeleteMessage(IConnection connection, String uniqueId, long modificationSequence)
Begins an asynchronous message deletion.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uniqueId | java.lang.String | The uid of the message |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteMessage(IConnection connection, String uniqueId, long modificationSequence, boolean commitNow)
public final System.IAsyncResult beginDeleteMessage(IConnection connection, String uniqueId, long modificationSequence, boolean commitNow)
Begins an asynchronous message deletion. This method works only if server supports UIDPLUS extension. Please, read more https://tools.ietf.org/html/rfc4315
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uniqueId | java.lang.String | The uid of the message |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
commitNow | boolean | Defines whether message must be commited now. Please, read more https://tools.ietf.org/html/rfc4315 |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteMessage(IConnection connection, String uniqueId, long modificationSequence, boolean commitNow, System.AsyncCallback callback)
public final System.IAsyncResult beginDeleteMessage(IConnection connection, String uniqueId, long modificationSequence, boolean commitNow, System.AsyncCallback callback)
Begins an asynchronous message deletion. This method works only if server supports UIDPLUS extension. Please, read more https://tools.ietf.org/html/rfc4315
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uniqueId | java.lang.String | The uid of the message |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
commitNow | boolean | Defines whether message must be commited now. Please, read more https://tools.ietf.org/html/rfc4315 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteMessage(IConnection connection, String uniqueId, long modificationSequence, boolean commitNow, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginDeleteMessage(IConnection connection, String uniqueId, long modificationSequence, boolean commitNow, System.AsyncCallback callback, Object state)
Begins an asynchronous message deletion. This method works only if server supports UIDPLUS extension. Please, read more https://tools.ietf.org/html/rfc4315
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uniqueId | java.lang.String | The uid of the message |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
commitNow | boolean | Defines whether message must be commited now. Please, read more https://tools.ietf.org/html/rfc4315 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteMessage(IConnection connection, String uniqueId, long modificationSequence, System.AsyncCallback callback)
public final System.IAsyncResult beginDeleteMessage(IConnection connection, String uniqueId, long modificationSequence, System.AsyncCallback callback)
Begins an asynchronous message deletion.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uniqueId | java.lang.String | The uid of the message |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteMessage(IConnection connection, String uniqueId, long modificationSequence, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginDeleteMessage(IConnection connection, String uniqueId, long modificationSequence, System.AsyncCallback callback, Object state)
Begins an asynchronous message deletion.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uniqueId | java.lang.String | The uid of the message |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteMessage(int sequenceNumber)
public final System.IAsyncResult beginDeleteMessage(int sequenceNumber)
Marks a message with the specified sequence number as deleted asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
sequenceNumber | int | The sequence number of message |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteMessage(int sequenceNumber, System.AsyncCallback callback)
public final System.IAsyncResult beginDeleteMessage(int sequenceNumber, System.AsyncCallback callback)
Marks a message with the specified sequence number as deleted asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
sequenceNumber | int | The sequence number of message |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteMessage(int sequenceNumber, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginDeleteMessage(int sequenceNumber, System.AsyncCallback callback, Object state)
Marks a message with the specified sequence number as deleted asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
sequenceNumber | int | The sequence number of message |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteMessage(int sequenceNumber, long modificationSequence)
public final System.IAsyncResult beginDeleteMessage(int sequenceNumber, long modificationSequence)
Marks a message with the specified sequence number as deleted asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
sequenceNumber | int | The sequence number of message |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteMessage(int sequenceNumber, long modificationSequence, System.AsyncCallback callback)
public final System.IAsyncResult beginDeleteMessage(int sequenceNumber, long modificationSequence, System.AsyncCallback callback)
Marks a message with the specified sequence number as deleted asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
sequenceNumber | int | The sequence number of message |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteMessage(int sequenceNumber, long modificationSequence, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginDeleteMessage(int sequenceNumber, long modificationSequence, System.AsyncCallback callback, Object state)
Marks a message with the specified sequence number as deleted asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
sequenceNumber | int | The sequence number of message |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteMessage(String uniqueId)
public final System.IAsyncResult beginDeleteMessage(String uniqueId)
Begins an asynchronous message deletion.
Parameters:
Parameter | Type | Description |
---|---|---|
uniqueId | java.lang.String | The uid of the message |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteMessage(String uniqueId, boolean commitNow)
public final System.IAsyncResult beginDeleteMessage(String uniqueId, boolean commitNow)
Begins an asynchronous message deletion. This method works only if server supports UIDPLUS extension. Please, read more https://tools.ietf.org/html/rfc4315
Parameters:
Parameter | Type | Description |
---|---|---|
uniqueId | java.lang.String | The uid of the message |
commitNow | boolean | Defines whether message must be commited now. Please, read more https://tools.ietf.org/html/rfc4315 |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteMessage(String uniqueId, boolean commitNow, System.AsyncCallback callback)
public final System.IAsyncResult beginDeleteMessage(String uniqueId, boolean commitNow, System.AsyncCallback callback)
Begins an asynchronous message deletion. This method works only if server supports UIDPLUS extension. Please, read more https://tools.ietf.org/html/rfc4315
Parameters:
Parameter | Type | Description |
---|---|---|
uniqueId | java.lang.String | The uid of the message |
commitNow | boolean | Defines whether message must be commited now. Please, read more https://tools.ietf.org/html/rfc4315 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteMessage(String uniqueId, boolean commitNow, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginDeleteMessage(String uniqueId, boolean commitNow, System.AsyncCallback callback, Object state)
Begins an asynchronous message deletion. This method works only if server supports UIDPLUS extension. Please, read more https://tools.ietf.org/html/rfc4315
Parameters:
Parameter | Type | Description |
---|---|---|
uniqueId | java.lang.String | The uid of the message |
commitNow | boolean | Defines whether message must be commited now. Please, read more https://tools.ietf.org/html/rfc4315 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteMessage(String uniqueId, System.AsyncCallback callback)
public final System.IAsyncResult beginDeleteMessage(String uniqueId, System.AsyncCallback callback)
Begins an asynchronous message deletion.
Parameters:
Parameter | Type | Description |
---|---|---|
uniqueId | java.lang.String | The uid of the message |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteMessage(String uniqueId, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginDeleteMessage(String uniqueId, System.AsyncCallback callback, Object state)
Begins an asynchronous message deletion.
Parameters:
Parameter | Type | Description |
---|---|---|
uniqueId | java.lang.String | The uid of the message |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteMessage(String uniqueId, long modificationSequence)
public final System.IAsyncResult beginDeleteMessage(String uniqueId, long modificationSequence)
Begins an asynchronous message deletion.
Parameters:
Parameter | Type | Description |
---|---|---|
uniqueId | java.lang.String | The uid of the message |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteMessage(String uniqueId, long modificationSequence, boolean commitNow)
public final System.IAsyncResult beginDeleteMessage(String uniqueId, long modificationSequence, boolean commitNow)
Begins an asynchronous message deletion. This method works only if server supports UIDPLUS extension. Please, read more https://tools.ietf.org/html/rfc4315
Parameters:
Parameter | Type | Description |
---|---|---|
uniqueId | java.lang.String | The uid of the message |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
commitNow | boolean | Defines whether message must be commited now. Please, read more https://tools.ietf.org/html/rfc4315 |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteMessage(String uniqueId, long modificationSequence, boolean commitNow, System.AsyncCallback callback)
public final System.IAsyncResult beginDeleteMessage(String uniqueId, long modificationSequence, boolean commitNow, System.AsyncCallback callback)
Begins an asynchronous message deletion. This method works only if server supports UIDPLUS extension. Please, read more https://tools.ietf.org/html/rfc4315
Parameters:
Parameter | Type | Description |
---|---|---|
uniqueId | java.lang.String | The uid of the message |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
commitNow | boolean | Defines whether message must be commited now. Please, read more https://tools.ietf.org/html/rfc4315 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteMessage(String uniqueId, long modificationSequence, boolean commitNow, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginDeleteMessage(String uniqueId, long modificationSequence, boolean commitNow, System.AsyncCallback callback, Object state)
Begins an asynchronous message deletion. This method works only if server supports UIDPLUS extension. Please, read more https://tools.ietf.org/html/rfc4315
Parameters:
Parameter | Type | Description |
---|---|---|
uniqueId | java.lang.String | The uid of the message |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
commitNow | boolean | Defines whether message must be commited now. Please, read more https://tools.ietf.org/html/rfc4315 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteMessage(String uniqueId, long modificationSequence, System.AsyncCallback callback)
public final System.IAsyncResult beginDeleteMessage(String uniqueId, long modificationSequence, System.AsyncCallback callback)
Begins an asynchronous message deletion.
Parameters:
Parameter | Type | Description |
---|---|---|
uniqueId | java.lang.String | The uid of the message |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteMessage(String uniqueId, long modificationSequence, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginDeleteMessage(String uniqueId, long modificationSequence, System.AsyncCallback callback, Object state)
Begins an asynchronous message deletion.
Parameters:
Parameter | Type | Description |
---|---|---|
uniqueId | java.lang.String | The uid of the message |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteMessages(IConnection connection, int startSequence, int endSequence)
public final System.IAsyncResult beginDeleteMessages(IConnection connection, int startSequence, int endSequence)
Marks a message with the specified sequence number as deleted asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
startSequence | int | The starting sequence number of a message list |
endSequence | int | The ending sequence number of a message list |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteMessages(IConnection connection, int startSequence, int endSequence, System.AsyncCallback callback)
public final System.IAsyncResult beginDeleteMessages(IConnection connection, int startSequence, int endSequence, System.AsyncCallback callback)
Marks a message with the specified sequence number as deleted asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
startSequence | int | The starting sequence number of a message list |
endSequence | int | The ending sequence number of a message list |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteMessages(IConnection connection, int startSequence, int endSequence, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginDeleteMessages(IConnection connection, int startSequence, int endSequence, System.AsyncCallback callback, Object state)
Marks a message with the specified sequence number as deleted asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
startSequence | int | The starting sequence number of a message list |
endSequence | int | The ending sequence number of a message list |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteMessages(IConnection connection, int startSequence, int endSequence, long modificationSequence)
public final System.IAsyncResult beginDeleteMessages(IConnection connection, int startSequence, int endSequence, long modificationSequence)
Marks a message with the specified sequence number as deleted asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
startSequence | int | The starting sequence number of a message list |
endSequence | int | The ending sequence number of a message list |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteMessages(IConnection connection, int startSequence, int endSequence, long modificationSequence, System.AsyncCallback callback)
public final System.IAsyncResult beginDeleteMessages(IConnection connection, int startSequence, int endSequence, long modificationSequence, System.AsyncCallback callback)
Marks a message with the specified sequence number as deleted asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
startSequence | int | The starting sequence number of a message list |
endSequence | int | The ending sequence number of a message list |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteMessages(IConnection connection, int startSequence, int endSequence, long modificationSequence, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginDeleteMessages(IConnection connection, int startSequence, int endSequence, long modificationSequence, System.AsyncCallback callback, Object state)
Marks a message with the specified sequence number as deleted asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
startSequence | int | The starting sequence number of a message list |
endSequence | int | The ending sequence number of a message list |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteMessages(IConnection connection, Iterable messageInfoSet)
public final System.IAsyncResult beginDeleteMessages(IConnection connection, Iterable<ImapMessageInfo> messageInfoSet)
Begins an asynchronous message deletion.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
messageInfoSet | java.lang.Iterable<com.aspose.email.ImapMessageInfo> | The set of ImapMessageInfo for deletion |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteMessages(IConnection connection, Iterable messageInfoSet, boolean commitNow)
public final System.IAsyncResult beginDeleteMessages(IConnection connection, Iterable<ImapMessageInfo> messageInfoSet, boolean commitNow)
Begins an asynchronous message deletion. This method works only if server supports UIDPLUS extension. Please, read more https://tools.ietf.org/html/rfc4315
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
messageInfoSet | java.lang.Iterable<com.aspose.email.ImapMessageInfo> | The set of ImapMessageInfo for deletion |
commitNow | boolean | Defines whether message must be commited now. Please, read more https://tools.ietf.org/html/rfc4315 |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteMessages(IConnection connection, Iterable messageInfoSet, boolean commitNow, System.AsyncCallback callback)
public final System.IAsyncResult beginDeleteMessages(IConnection connection, Iterable<ImapMessageInfo> messageInfoSet, boolean commitNow, System.AsyncCallback callback)
Begins an asynchronous message deletion. This method works only if server supports UIDPLUS extension. Please, read more https://tools.ietf.org/html/rfc4315
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
messageInfoSet | java.lang.Iterable<com.aspose.email.ImapMessageInfo> | The set of ImapMessageInfo for deletion |
commitNow | boolean | Defines whether message must be commited now. Please, read more https://tools.ietf.org/html/rfc4315 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteMessages(IConnection connection, Iterable messageInfoSet, boolean commitNow, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginDeleteMessages(IConnection connection, Iterable<ImapMessageInfo> messageInfoSet, boolean commitNow, System.AsyncCallback callback, Object state)
Begins an asynchronous message deletion. This method works only if server supports UIDPLUS extension. Please, read more https://tools.ietf.org/html/rfc4315
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
messageInfoSet | java.lang.Iterable<com.aspose.email.ImapMessageInfo> | The set of ImapMessageInfo for deletion |
commitNow | boolean | Defines whether message must be commited now. Please, read more https://tools.ietf.org/html/rfc4315 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteMessages(IConnection connection, Iterable messageInfoSet, System.AsyncCallback callback)
public final System.IAsyncResult beginDeleteMessages(IConnection connection, Iterable<ImapMessageInfo> messageInfoSet, System.AsyncCallback callback)
Begins an asynchronous message deletion.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
messageInfoSet | java.lang.Iterable<com.aspose.email.ImapMessageInfo> | The set of ImapMessageInfo for deletion |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteMessages(IConnection connection, Iterable messageInfoSet, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginDeleteMessages(IConnection connection, Iterable<ImapMessageInfo> messageInfoSet, System.AsyncCallback callback, Object state)
Begins an asynchronous message deletion.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
messageInfoSet | java.lang.Iterable<com.aspose.email.ImapMessageInfo> | The set of ImapMessageInfo for deletion |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteMessages(IConnection connection, Iterable messageInfoSet, long modificationSequence)
public final System.IAsyncResult beginDeleteMessages(IConnection connection, Iterable<ImapMessageInfo> messageInfoSet, long modificationSequence)
Begins an asynchronous message deletion.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
messageInfoSet | java.lang.Iterable<com.aspose.email.ImapMessageInfo> | The set of ImapMessageInfo for deletion |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteMessages(IConnection connection, Iterable messageInfoSet, long modificationSequence, boolean commitNow)
public final System.IAsyncResult beginDeleteMessages(IConnection connection, Iterable<ImapMessageInfo> messageInfoSet, long modificationSequence, boolean commitNow)
Begins an asynchronous message deletion. This method works only if server supports UIDPLUS extension. Please, read more https://tools.ietf.org/html/rfc4315
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
messageInfoSet | java.lang.Iterable<com.aspose.email.ImapMessageInfo> | The set of ImapMessageInfo for deletion |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
commitNow | boolean | Defines whether message must be commited now. Please, read more https://tools.ietf.org/html/rfc4315 |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteMessages(IConnection connection, Iterable messageInfoSet, long modificationSequence, boolean commitNow, System.AsyncCallback callback)
public final System.IAsyncResult beginDeleteMessages(IConnection connection, Iterable<ImapMessageInfo> messageInfoSet, long modificationSequence, boolean commitNow, System.AsyncCallback callback)
Begins an asynchronous message deletion. This method works only if server supports UIDPLUS extension. Please, read more https://tools.ietf.org/html/rfc4315
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
messageInfoSet | java.lang.Iterable<com.aspose.email.ImapMessageInfo> | The set of ImapMessageInfo for deletion |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
commitNow | boolean | Defines whether message must be commited now. Please, read more https://tools.ietf.org/html/rfc4315 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteMessages(IConnection connection, Iterable messageInfoSet, long modificationSequence, boolean commitNow, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginDeleteMessages(IConnection connection, Iterable<ImapMessageInfo> messageInfoSet, long modificationSequence, boolean commitNow, System.AsyncCallback callback, Object state)
Begins an asynchronous message deletion. This method works only if server supports UIDPLUS extension. Please, read more https://tools.ietf.org/html/rfc4315
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
messageInfoSet | java.lang.Iterable<com.aspose.email.ImapMessageInfo> | The set of ImapMessageInfo for deletion |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
commitNow | boolean | Defines whether message must be commited now. Please, read more https://tools.ietf.org/html/rfc4315 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteMessages(IConnection connection, Iterable messageInfoSet, long modificationSequence, System.AsyncCallback callback)
public final System.IAsyncResult beginDeleteMessages(IConnection connection, Iterable<ImapMessageInfo> messageInfoSet, long modificationSequence, System.AsyncCallback callback)
Begins an asynchronous message deletion.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
messageInfoSet | java.lang.Iterable<com.aspose.email.ImapMessageInfo> | The set of ImapMessageInfo for deletion |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteMessages(IConnection connection, Iterable messageInfoSet, long modificationSequence, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginDeleteMessages(IConnection connection, Iterable<ImapMessageInfo> messageInfoSet, long modificationSequence, System.AsyncCallback callback, Object state)
Begins an asynchronous message deletion.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
messageInfoSet | java.lang.Iterable<com.aspose.email.ImapMessageInfo> | The set of ImapMessageInfo for deletion |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteMessages(IConnection connection, String startUid, String endUid)
public final System.IAsyncResult beginDeleteMessages(IConnection connection, String startUid, String endUid)
Begins an asynchronous message deletion.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
startUid | java.lang.String | The starting UID of a message list |
endUid | java.lang.String | The ending UID of a message list |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteMessages(IConnection connection, String startUid, String endUid, boolean commitNow)
public final System.IAsyncResult beginDeleteMessages(IConnection connection, String startUid, String endUid, boolean commitNow)
Begins an asynchronous message deletion. This method works only if server supports UIDPLUS extension. Please, read more https://tools.ietf.org/html/rfc4315
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
startUid | java.lang.String | The starting UID of a message list |
endUid | java.lang.String | The ending UID of a message list |
commitNow | boolean | Defines whether message must be commited now. Please, read more https://tools.ietf.org/html/rfc4315 |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteMessages(IConnection connection, String startUid, String endUid, boolean commitNow, System.AsyncCallback callback)
public final System.IAsyncResult beginDeleteMessages(IConnection connection, String startUid, String endUid, boolean commitNow, System.AsyncCallback callback)
Begins an asynchronous message deletion. This method works only if server supports UIDPLUS extension. Please, read more https://tools.ietf.org/html/rfc4315
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
startUid | java.lang.String | The starting UID of a message list |
endUid | java.lang.String | The ending UID of a message list |
commitNow | boolean | Defines whether message must be commited now. Please, read more https://tools.ietf.org/html/rfc4315 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteMessages(IConnection connection, String startUid, String endUid, boolean commitNow, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginDeleteMessages(IConnection connection, String startUid, String endUid, boolean commitNow, System.AsyncCallback callback, Object state)
Begins an asynchronous message deletion. This method works only if server supports UIDPLUS extension. Please, read more https://tools.ietf.org/html/rfc4315
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
startUid | java.lang.String | The starting UID of a message list |
endUid | java.lang.String | The ending UID of a message list |
commitNow | boolean | Defines whether message must be commited now. Please, read more https://tools.ietf.org/html/rfc4315 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteMessages(IConnection connection, String startUid, String endUid, System.AsyncCallback callback)
public final System.IAsyncResult beginDeleteMessages(IConnection connection, String startUid, String endUid, System.AsyncCallback callback)
Begins an asynchronous message deletion.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
startUid | java.lang.String | The starting UID of a message list |
endUid | java.lang.String | The ending UID of a message list |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteMessages(IConnection connection, String startUid, String endUid, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginDeleteMessages(IConnection connection, String startUid, String endUid, System.AsyncCallback callback, Object state)
Begins an asynchronous message deletion.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
startUid | java.lang.String | The starting UID of a message list |
endUid | java.lang.String | The ending UID of a message list |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteMessages(IConnection connection, String startUid, String endUid, long modificationSequence)
public final System.IAsyncResult beginDeleteMessages(IConnection connection, String startUid, String endUid, long modificationSequence)
Begins an asynchronous message deletion.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
startUid | java.lang.String | The starting UID of a message list |
endUid | java.lang.String | The ending UID of a message list |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteMessages(IConnection connection, String startUid, String endUid, long modificationSequence, boolean commitNow)
public final System.IAsyncResult beginDeleteMessages(IConnection connection, String startUid, String endUid, long modificationSequence, boolean commitNow)
Begins an asynchronous message deletion. This method works only if server supports UIDPLUS extension. Please, read more https://tools.ietf.org/html/rfc4315
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
startUid | java.lang.String | The starting UID of a message list |
endUid | java.lang.String | The ending UID of a message list |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
commitNow | boolean | Defines whether message must be commited now. Please, read more https://tools.ietf.org/html/rfc4315 |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteMessages(IConnection connection, String startUid, String endUid, long modificationSequence, boolean commitNow, System.AsyncCallback callback)
public final System.IAsyncResult beginDeleteMessages(IConnection connection, String startUid, String endUid, long modificationSequence, boolean commitNow, System.AsyncCallback callback)
Begins an asynchronous message deletion. This method works only if server supports UIDPLUS extension. Please, read more https://tools.ietf.org/html/rfc4315
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
startUid | java.lang.String | The starting UID of a message list |
endUid | java.lang.String | The ending UID of a message list |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
commitNow | boolean | Defines whether message must be commited now. Please, read more https://tools.ietf.org/html/rfc4315 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteMessages(IConnection connection, String startUid, String endUid, long modificationSequence, boolean commitNow, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginDeleteMessages(IConnection connection, String startUid, String endUid, long modificationSequence, boolean commitNow, System.AsyncCallback callback, Object state)
Begins an asynchronous message deletion. This method works only if server supports UIDPLUS extension. Please, read more https://tools.ietf.org/html/rfc4315
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
startUid | java.lang.String | The starting UID of a message list |
endUid | java.lang.String | The ending UID of a message list |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
commitNow | boolean | Defines whether message must be commited now. Please, read more https://tools.ietf.org/html/rfc4315 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteMessages(IConnection connection, String startUid, String endUid, long modificationSequence, System.AsyncCallback callback)
public final System.IAsyncResult beginDeleteMessages(IConnection connection, String startUid, String endUid, long modificationSequence, System.AsyncCallback callback)
Begins an asynchronous message deletion.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
startUid | java.lang.String | The starting UID of a message list |
endUid | java.lang.String | The ending UID of a message list |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteMessages(IConnection connection, String startUid, String endUid, long modificationSequence, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginDeleteMessages(IConnection connection, String startUid, String endUid, long modificationSequence, System.AsyncCallback callback, Object state)
Begins an asynchronous message deletion.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
startUid | java.lang.String | The starting UID of a message list |
endUid | java.lang.String | The ending UID of a message list |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteMessages(int startSequence, int endSequence)
public final System.IAsyncResult beginDeleteMessages(int startSequence, int endSequence)
Marks a message with the specified sequence number as deleted asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
startSequence | int | The starting sequence number of a message list |
endSequence | int | The ending sequence number of a message list |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteMessages(int startSequence, int endSequence, System.AsyncCallback callback)
public final System.IAsyncResult beginDeleteMessages(int startSequence, int endSequence, System.AsyncCallback callback)
Marks a message with the specified sequence number as deleted asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
startSequence | int | The starting sequence number of a message list |
endSequence | int | The ending sequence number of a message list |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteMessages(int startSequence, int endSequence, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginDeleteMessages(int startSequence, int endSequence, System.AsyncCallback callback, Object state)
Marks a message with the specified sequence number as deleted asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
startSequence | int | The starting sequence number of a message list |
endSequence | int | The ending sequence number of a message list |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteMessages(int startSequence, int endSequence, long modificationSequence)
public final System.IAsyncResult beginDeleteMessages(int startSequence, int endSequence, long modificationSequence)
Marks a message with the specified sequence number as deleted asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
startSequence | int | The starting sequence number of a message list |
endSequence | int | The ending sequence number of a message list |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteMessages(int startSequence, int endSequence, long modificationSequence, System.AsyncCallback callback)
public final System.IAsyncResult beginDeleteMessages(int startSequence, int endSequence, long modificationSequence, System.AsyncCallback callback)
Marks a message with the specified sequence number as deleted asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
startSequence | int | The starting sequence number of a message list |
endSequence | int | The ending sequence number of a message list |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteMessages(int startSequence, int endSequence, long modificationSequence, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginDeleteMessages(int startSequence, int endSequence, long modificationSequence, System.AsyncCallback callback, Object state)
Marks a message with the specified sequence number as deleted asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
startSequence | int | The starting sequence number of a message list |
endSequence | int | The ending sequence number of a message list |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteMessages(Iterable messageInfoSet)
public final System.IAsyncResult beginDeleteMessages(Iterable<ImapMessageInfo> messageInfoSet)
Begins an asynchronous message deletion.
Parameters:
Parameter | Type | Description |
---|---|---|
messageInfoSet | java.lang.Iterable<com.aspose.email.ImapMessageInfo> | The set of ImapMessageInfo for deletion |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteMessages(Iterable messageInfoSet, boolean commitNow)
public final System.IAsyncResult beginDeleteMessages(Iterable<ImapMessageInfo> messageInfoSet, boolean commitNow)
Begins an asynchronous messages deletion. This method works only if server supports UIDPLUS extension. Please, read more https://tools.ietf.org/html/rfc4315
Parameters:
Parameter | Type | Description |
---|---|---|
messageInfoSet | java.lang.Iterable<com.aspose.email.ImapMessageInfo> | The set of ImapMessageInfo for deletion |
commitNow | boolean | Defines whether message must be commited now. Please, read more https://tools.ietf.org/html/rfc4315 |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteMessages(Iterable messageInfoSet, boolean commitNow, System.AsyncCallback callback)
public final System.IAsyncResult beginDeleteMessages(Iterable<ImapMessageInfo> messageInfoSet, boolean commitNow, System.AsyncCallback callback)
Begins an asynchronous message deletion. This method works only if server supports UIDPLUS extension. Please, read more https://tools.ietf.org/html/rfc4315
Parameters:
Parameter | Type | Description |
---|---|---|
messageInfoSet | java.lang.Iterable<com.aspose.email.ImapMessageInfo> | The set of ImapMessageInfo for deletion |
commitNow | boolean | Defines whether message must be commited now. Please, read more https://tools.ietf.org/html/rfc4315 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteMessages(Iterable messageInfoSet, boolean commitNow, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginDeleteMessages(Iterable<ImapMessageInfo> messageInfoSet, boolean commitNow, System.AsyncCallback callback, Object state)
Begins an asynchronous message deletion. This method works only if server supports UIDPLUS extension. Please, read more https://tools.ietf.org/html/rfc4315
Parameters:
Parameter | Type | Description |
---|---|---|
messageInfoSet | java.lang.Iterable<com.aspose.email.ImapMessageInfo> | The set of ImapMessageInfo for deletion |
commitNow | boolean | Defines whether message must be commited now. Please, read more https://tools.ietf.org/html/rfc4315 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteMessages(Iterable messageInfoSet, System.AsyncCallback callback)
public final System.IAsyncResult beginDeleteMessages(Iterable<ImapMessageInfo> messageInfoSet, System.AsyncCallback callback)
Begins an asynchronous message deletion.
Parameters:
Parameter | Type | Description |
---|---|---|
messageInfoSet | java.lang.Iterable<com.aspose.email.ImapMessageInfo> | The set of ImapMessageInfo for deletion |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteMessages(Iterable messageInfoSet, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginDeleteMessages(Iterable<ImapMessageInfo> messageInfoSet, System.AsyncCallback callback, Object state)
Begins an asynchronous message deletion.
Parameters:
Parameter | Type | Description |
---|---|---|
messageInfoSet | java.lang.Iterable<com.aspose.email.ImapMessageInfo> | The set of ImapMessageInfo for deletion |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteMessages(Iterable messageInfoSet, long modificationSequence)
public final System.IAsyncResult beginDeleteMessages(Iterable<ImapMessageInfo> messageInfoSet, long modificationSequence)
Begins an asynchronous message deletion.
Parameters:
Parameter | Type | Description |
---|---|---|
messageInfoSet | java.lang.Iterable<com.aspose.email.ImapMessageInfo> | The set of ImapMessageInfo for deletion |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteMessages(Iterable messageInfoSet, long modificationSequence, boolean commitNow)
public final System.IAsyncResult beginDeleteMessages(Iterable<ImapMessageInfo> messageInfoSet, long modificationSequence, boolean commitNow)
Begins an asynchronous message deletion. This method works only if server supports UIDPLUS extension. Please, read more https://tools.ietf.org/html/rfc4315
Parameters:
Parameter | Type | Description |
---|---|---|
messageInfoSet | java.lang.Iterable<com.aspose.email.ImapMessageInfo> | The set of ImapMessageInfo for deletion |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
commitNow | boolean | Defines whether message must be commited now. Please, read more https://tools.ietf.org/html/rfc4315 |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteMessages(Iterable messageInfoSet, long modificationSequence, boolean commitNow, System.AsyncCallback callback)
public final System.IAsyncResult beginDeleteMessages(Iterable<ImapMessageInfo> messageInfoSet, long modificationSequence, boolean commitNow, System.AsyncCallback callback)
Begins an asynchronous message deletion. This method works only if server supports UIDPLUS extension. Please, read more https://tools.ietf.org/html/rfc4315
Parameters:
Parameter | Type | Description |
---|---|---|
messageInfoSet | java.lang.Iterable<com.aspose.email.ImapMessageInfo> | The set of ImapMessageInfo for deletion |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
commitNow | boolean | Defines whether message must be commited now. Please, read more https://tools.ietf.org/html/rfc4315 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteMessages(Iterable messageInfoSet, long modificationSequence, boolean commitNow, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginDeleteMessages(Iterable<ImapMessageInfo> messageInfoSet, long modificationSequence, boolean commitNow, System.AsyncCallback callback, Object state)
Begins an asynchronous message deletion. This method works only if server supports UIDPLUS extension. Please, read more https://tools.ietf.org/html/rfc4315
Parameters:
Parameter | Type | Description |
---|---|---|
messageInfoSet | java.lang.Iterable<com.aspose.email.ImapMessageInfo> | The set of ImapMessageInfo for deletion |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
commitNow | boolean | Defines whether message must be commited now. Please, read more https://tools.ietf.org/html/rfc4315 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteMessages(Iterable messageInfoSet, long modificationSequence, System.AsyncCallback callback)
public final System.IAsyncResult beginDeleteMessages(Iterable<ImapMessageInfo> messageInfoSet, long modificationSequence, System.AsyncCallback callback)
Begins an asynchronous message deletion.
Parameters:
Parameter | Type | Description |
---|---|---|
messageInfoSet | java.lang.Iterable<com.aspose.email.ImapMessageInfo> | The set of ImapMessageInfo for deletion |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteMessages(Iterable messageInfoSet, long modificationSequence, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginDeleteMessages(Iterable<ImapMessageInfo> messageInfoSet, long modificationSequence, System.AsyncCallback callback, Object state)
Begins an asynchronous message deletion.
Parameters:
Parameter | Type | Description |
---|---|---|
messageInfoSet | java.lang.Iterable<com.aspose.email.ImapMessageInfo> | The set of ImapMessageInfo for deletion |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteMessages(String startUid, String endUid)
public final System.IAsyncResult beginDeleteMessages(String startUid, String endUid)
Begins an asynchronous message deletion.
Parameters:
Parameter | Type | Description |
---|---|---|
startUid | java.lang.String | The starting UID of a message list |
endUid | java.lang.String | The ending UID of a message list |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteMessages(String startUid, String endUid, boolean commitNow)
public final System.IAsyncResult beginDeleteMessages(String startUid, String endUid, boolean commitNow)
Begins an asynchronous messages deletion. This method works only if server supports UIDPLUS extension. Please, read more https://tools.ietf.org/html/rfc4315
Parameters:
Parameter | Type | Description |
---|---|---|
startUid | java.lang.String | The starting UID of a message list |
endUid | java.lang.String | The ending UID of a message list |
commitNow | boolean | Defines whether message must be commited now. Please, read more https://tools.ietf.org/html/rfc4315 |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteMessages(String startUid, String endUid, boolean commitNow, System.AsyncCallback callback)
public final System.IAsyncResult beginDeleteMessages(String startUid, String endUid, boolean commitNow, System.AsyncCallback callback)
Begins an asynchronous message deletion. This method works only if server supports UIDPLUS extension. Please, read more https://tools.ietf.org/html/rfc4315
Parameters:
Parameter | Type | Description |
---|---|---|
startUid | java.lang.String | The starting UID of a message list |
endUid | java.lang.String | The ending UID of a message list |
commitNow | boolean | Defines whether message must be commited now. Please, read more https://tools.ietf.org/html/rfc4315 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteMessages(String startUid, String endUid, boolean commitNow, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginDeleteMessages(String startUid, String endUid, boolean commitNow, System.AsyncCallback callback, Object state)
Begins an asynchronous message deletion. This method works only if server supports UIDPLUS extension. Please, read more https://tools.ietf.org/html/rfc4315
Parameters:
Parameter | Type | Description |
---|---|---|
startUid | java.lang.String | The starting UID of a message list |
endUid | java.lang.String | The ending UID of a message list |
commitNow | boolean | Defines whether message must be commited now. Please, read more https://tools.ietf.org/html/rfc4315 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteMessages(String startUid, String endUid, System.AsyncCallback callback)
public final System.IAsyncResult beginDeleteMessages(String startUid, String endUid, System.AsyncCallback callback)
Begins an asynchronous message deletion.
Parameters:
Parameter | Type | Description |
---|---|---|
startUid | java.lang.String | The starting UID of a message list |
endUid | java.lang.String | The ending UID of a message list |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteMessages(String startUid, String endUid, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginDeleteMessages(String startUid, String endUid, System.AsyncCallback callback, Object state)
Begins an asynchronous message deletion.
Parameters:
Parameter | Type | Description |
---|---|---|
startUid | java.lang.String | The starting UID of a message list |
endUid | java.lang.String | The ending UID of a message list |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteMessages(String startUid, String endUid, long modificationSequence)
public final System.IAsyncResult beginDeleteMessages(String startUid, String endUid, long modificationSequence)
Begins an asynchronous message deletion.
Parameters:
Parameter | Type | Description |
---|---|---|
startUid | java.lang.String | The starting UID of a message list |
endUid | java.lang.String | The ending UID of a message list |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteMessages(String startUid, String endUid, long modificationSequence, boolean commitNow)
public final System.IAsyncResult beginDeleteMessages(String startUid, String endUid, long modificationSequence, boolean commitNow)
Begins an asynchronous message deletion. This method works only if server supports UIDPLUS extension. Please, read more https://tools.ietf.org/html/rfc4315
Parameters:
Parameter | Type | Description |
---|---|---|
startUid | java.lang.String | The starting UID of a message list |
endUid | java.lang.String | The ending UID of a message list |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
commitNow | boolean | Defines whether message must be commited now. Please, read more https://tools.ietf.org/html/rfc4315 |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteMessages(String startUid, String endUid, long modificationSequence, boolean commitNow, System.AsyncCallback callback)
public final System.IAsyncResult beginDeleteMessages(String startUid, String endUid, long modificationSequence, boolean commitNow, System.AsyncCallback callback)
Begins an asynchronous message deletion. This method works only if server supports UIDPLUS extension. Please, read more https://tools.ietf.org/html/rfc4315
Parameters:
Parameter | Type | Description |
---|---|---|
startUid | java.lang.String | The starting UID of a message list |
endUid | java.lang.String | The ending UID of a message list |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
commitNow | boolean | Defines whether message must be commited now. Please, read more https://tools.ietf.org/html/rfc4315 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteMessages(String startUid, String endUid, long modificationSequence, boolean commitNow, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginDeleteMessages(String startUid, String endUid, long modificationSequence, boolean commitNow, System.AsyncCallback callback, Object state)
Begins an asynchronous message deletion. This method works only if server supports UIDPLUS extension. Please, read more https://tools.ietf.org/html/rfc4315
Parameters:
Parameter | Type | Description |
---|---|---|
startUid | java.lang.String | The starting UID of a message list |
endUid | java.lang.String | The ending UID of a message list |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
commitNow | boolean | Defines whether message must be commited now. Please, read more https://tools.ietf.org/html/rfc4315 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteMessages(String startUid, String endUid, long modificationSequence, System.AsyncCallback callback)
public final System.IAsyncResult beginDeleteMessages(String startUid, String endUid, long modificationSequence, System.AsyncCallback callback)
Begins an asynchronous message deletion.
Parameters:
Parameter | Type | Description |
---|---|---|
startUid | java.lang.String | The starting UID of a message list |
endUid | java.lang.String | The ending UID of a message list |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteMessages(String startUid, String endUid, long modificationSequence, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginDeleteMessages(String startUid, String endUid, long modificationSequence, System.AsyncCallback callback, Object state)
Begins an asynchronous message deletion.
Parameters:
Parameter | Type | Description |
---|---|---|
startUid | java.lang.String | The starting UID of a message list |
endUid | java.lang.String | The ending UID of a message list |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteMessagesBySequences(IConnection connection, Iterable sequenceSet)
public final System.IAsyncResult beginDeleteMessagesBySequences(IConnection connection, Iterable<Integer> sequenceSet)
Marks a message with the specified sequence number as deleted asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceSet | java.lang.Iterable<java.lang.Integer> | The set of sequence numbers for messages |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteMessagesBySequences(IConnection connection, Iterable sequenceSet, System.AsyncCallback callback)
public final System.IAsyncResult beginDeleteMessagesBySequences(IConnection connection, Iterable<Integer> sequenceSet, System.AsyncCallback callback)
Marks a message with the specified sequence number as deleted asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceSet | java.lang.Iterable<java.lang.Integer> | The set of sequence numbers for messages |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteMessagesBySequences(IConnection connection, Iterable sequenceSet, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginDeleteMessagesBySequences(IConnection connection, Iterable<Integer> sequenceSet, System.AsyncCallback callback, Object state)
Marks a message with the specified sequence number as deleted asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceSet | java.lang.Iterable<java.lang.Integer> | The set of sequence numbers for messages |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteMessagesBySequences(IConnection connection, Iterable sequenceSet, long modificationSequence)
public final System.IAsyncResult beginDeleteMessagesBySequences(IConnection connection, Iterable<Integer> sequenceSet, long modificationSequence)
Marks a message with the specified sequence number as deleted asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceSet | java.lang.Iterable<java.lang.Integer> | The set of sequence numbers for messages |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteMessagesBySequences(IConnection connection, Iterable sequenceSet, long modificationSequence, System.AsyncCallback callback)
public final System.IAsyncResult beginDeleteMessagesBySequences(IConnection connection, Iterable<Integer> sequenceSet, long modificationSequence, System.AsyncCallback callback)
Marks a message with the specified sequence number as deleted asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceSet | java.lang.Iterable<java.lang.Integer> | The set of sequence numbers for messages |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteMessagesBySequences(IConnection connection, Iterable sequenceSet, long modificationSequence, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginDeleteMessagesBySequences(IConnection connection, Iterable<Integer> sequenceSet, long modificationSequence, System.AsyncCallback callback, Object state)
Marks a message with the specified sequence number as deleted asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceSet | java.lang.Iterable<java.lang.Integer> | The set of sequence numbers for messages |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteMessagesBySequences(Iterable sequenceSet)
public final System.IAsyncResult beginDeleteMessagesBySequences(Iterable<Integer> sequenceSet)
Marks a message with the specified sequence number as deleted asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
sequenceSet | java.lang.Iterable<java.lang.Integer> | The set of sequence numbers for messages |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteMessagesBySequences(Iterable sequenceSet, System.AsyncCallback callback)
public final System.IAsyncResult beginDeleteMessagesBySequences(Iterable<Integer> sequenceSet, System.AsyncCallback callback)
Marks a message with the specified sequence number as deleted asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
sequenceSet | java.lang.Iterable<java.lang.Integer> | The set of sequence numbers for messages |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteMessagesBySequences(Iterable sequenceSet, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginDeleteMessagesBySequences(Iterable<Integer> sequenceSet, System.AsyncCallback callback, Object state)
Marks a message with the specified sequence number as deleted asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
sequenceSet | java.lang.Iterable<java.lang.Integer> | The set of sequence numbers for messages |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteMessagesBySequences(Iterable sequenceSet, long modificationSequence)
public final System.IAsyncResult beginDeleteMessagesBySequences(Iterable<Integer> sequenceSet, long modificationSequence)
Marks a message with the specified sequence number as deleted asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
sequenceSet | java.lang.Iterable<java.lang.Integer> | The set of sequence numbers for messages |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteMessagesBySequences(Iterable sequenceSet, long modificationSequence, System.AsyncCallback callback)
public final System.IAsyncResult beginDeleteMessagesBySequences(Iterable<Integer> sequenceSet, long modificationSequence, System.AsyncCallback callback)
Marks a message with the specified sequence number as deleted asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
sequenceSet | java.lang.Iterable<java.lang.Integer> | The set of sequence numbers for messages |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteMessagesBySequences(Iterable sequenceSet, long modificationSequence, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginDeleteMessagesBySequences(Iterable<Integer> sequenceSet, long modificationSequence, System.AsyncCallback callback, Object state)
Marks a message with the specified sequence number as deleted asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
sequenceSet | java.lang.Iterable<java.lang.Integer> | The set of sequence numbers for messages |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteMessagesByUids(IConnection connection, Iterable uidSet)
public final System.IAsyncResult beginDeleteMessagesByUids(IConnection connection, Iterable<String> uidSet)
Begins an asynchronous message deletion.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uidSet | java.lang.Iterable<java.lang.String> | The set of UID for messages |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteMessagesByUids(IConnection connection, Iterable uidSet, boolean commitNow)
public final System.IAsyncResult beginDeleteMessagesByUids(IConnection connection, Iterable<String> uidSet, boolean commitNow)
Begins an asynchronous message deletion. This method works only if server supports UIDPLUS extension. Please, read more https://tools.ietf.org/html/rfc4315
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uidSet | java.lang.Iterable<java.lang.String> | The set of UID for messages |
commitNow | boolean | Defines whether message must be commited now. Please, read more https://tools.ietf.org/html/rfc4315 |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteMessagesByUids(IConnection connection, Iterable uidSet, boolean commitNow, System.AsyncCallback callback)
public final System.IAsyncResult beginDeleteMessagesByUids(IConnection connection, Iterable<String> uidSet, boolean commitNow, System.AsyncCallback callback)
Begins an asynchronous message deletion. This method works only if server supports UIDPLUS extension. Please, read more https://tools.ietf.org/html/rfc4315
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uidSet | java.lang.Iterable<java.lang.String> | The set of UID for messages |
commitNow | boolean | Defines whether message must be commited now. Please, read more https://tools.ietf.org/html/rfc4315 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteMessagesByUids(IConnection connection, Iterable uidSet, boolean commitNow, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginDeleteMessagesByUids(IConnection connection, Iterable<String> uidSet, boolean commitNow, System.AsyncCallback callback, Object state)
Begins an asynchronous message deletion. This method works only if server supports UIDPLUS extension. Please, read more https://tools.ietf.org/html/rfc4315
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uidSet | java.lang.Iterable<java.lang.String> | The set of UID for messages |
commitNow | boolean | Defines whether message must be commited now. Please, read more https://tools.ietf.org/html/rfc4315 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteMessagesByUids(IConnection connection, Iterable uidSet, System.AsyncCallback callback)
public final System.IAsyncResult beginDeleteMessagesByUids(IConnection connection, Iterable<String> uidSet, System.AsyncCallback callback)
Begins an asynchronous message deletion.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uidSet | java.lang.Iterable<java.lang.String> | The set of UID for messages |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteMessagesByUids(IConnection connection, Iterable uidSet, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginDeleteMessagesByUids(IConnection connection, Iterable<String> uidSet, System.AsyncCallback callback, Object state)
Begins an asynchronous message deletion.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uidSet | java.lang.Iterable<java.lang.String> | The set of UID for messages |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteMessagesByUids(IConnection connection, Iterable uidSet, long modificationSequence)
public final System.IAsyncResult beginDeleteMessagesByUids(IConnection connection, Iterable<String> uidSet, long modificationSequence)
Begins an asynchronous message deletion.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uidSet | java.lang.Iterable<java.lang.String> | The set of UID for messages |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteMessagesByUids(IConnection connection, Iterable uidSet, long modificationSequence, boolean commitNow)
public final System.IAsyncResult beginDeleteMessagesByUids(IConnection connection, Iterable<String> uidSet, long modificationSequence, boolean commitNow)
Begins an asynchronous message deletion. This method works only if server supports UIDPLUS extension. Please, read more https://tools.ietf.org/html/rfc4315
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uidSet | java.lang.Iterable<java.lang.String> | The set of UID for messages |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
commitNow | boolean | Defines whether message must be commited now. Please, read more https://tools.ietf.org/html/rfc4315 |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteMessagesByUids(IConnection connection, Iterable uidSet, long modificationSequence, boolean commitNow, System.AsyncCallback callback)
public final System.IAsyncResult beginDeleteMessagesByUids(IConnection connection, Iterable<String> uidSet, long modificationSequence, boolean commitNow, System.AsyncCallback callback)
Begins an asynchronous message deletion. This method works only if server supports UIDPLUS extension. Please, read more https://tools.ietf.org/html/rfc4315
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uidSet | java.lang.Iterable<java.lang.String> | The set of UID for messages |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
commitNow | boolean | Defines whether message must be commited now. Please, read more https://tools.ietf.org/html/rfc4315 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteMessagesByUids(IConnection connection, Iterable uidSet, long modificationSequence, boolean commitNow, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginDeleteMessagesByUids(IConnection connection, Iterable<String> uidSet, long modificationSequence, boolean commitNow, System.AsyncCallback callback, Object state)
Begins an asynchronous message deletion. This method works only if server supports UIDPLUS extension. Please, read more https://tools.ietf.org/html/rfc4315
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uidSet | java.lang.Iterable<java.lang.String> | The set of UID for messages |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
commitNow | boolean | Defines whether message must be commited now. Please, read more https://tools.ietf.org/html/rfc4315 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteMessagesByUids(IConnection connection, Iterable uidSet, long modificationSequence, System.AsyncCallback callback)
public final System.IAsyncResult beginDeleteMessagesByUids(IConnection connection, Iterable<String> uidSet, long modificationSequence, System.AsyncCallback callback)
Begins an asynchronous message deletion.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uidSet | java.lang.Iterable<java.lang.String> | The set of UID for messages |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteMessagesByUids(IConnection connection, Iterable uidSet, long modificationSequence, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginDeleteMessagesByUids(IConnection connection, Iterable<String> uidSet, long modificationSequence, System.AsyncCallback callback, Object state)
Begins an asynchronous message deletion.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uidSet | java.lang.Iterable<java.lang.String> | The set of UID for messages |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteMessagesByUids(Iterable uidSet)
public final System.IAsyncResult beginDeleteMessagesByUids(Iterable<String> uidSet)
Begins an asynchronous message deletion.
Parameters:
Parameter | Type | Description |
---|---|---|
uidSet | java.lang.Iterable<java.lang.String> | The set of UID for messages |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteMessagesByUids(Iterable uidSet, boolean commitNow)
public final System.IAsyncResult beginDeleteMessagesByUids(Iterable<String> uidSet, boolean commitNow)
Begins an asynchronous messages deletion. This method works only if server supports UIDPLUS extension. Please, read more https://tools.ietf.org/html/rfc4315
Parameters:
Parameter | Type | Description |
---|---|---|
uidSet | java.lang.Iterable<java.lang.String> | The set of UID for messages |
commitNow | boolean | Defines whether message must be commited now. Please, read more https://tools.ietf.org/html/rfc4315 |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteMessagesByUids(Iterable uidSet, boolean commitNow, System.AsyncCallback callback)
public final System.IAsyncResult beginDeleteMessagesByUids(Iterable<String> uidSet, boolean commitNow, System.AsyncCallback callback)
Begins an asynchronous message deletion. This method works only if server supports UIDPLUS extension. Please, read more https://tools.ietf.org/html/rfc4315
Parameters:
Parameter | Type | Description |
---|---|---|
uidSet | java.lang.Iterable<java.lang.String> | The set of UID for messages |
commitNow | boolean | Defines whether message must be commited now. Please, read more https://tools.ietf.org/html/rfc4315 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteMessagesByUids(Iterable uidSet, boolean commitNow, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginDeleteMessagesByUids(Iterable<String> uidSet, boolean commitNow, System.AsyncCallback callback, Object state)
Begins an asynchronous message deletion. This method works only if server supports UIDPLUS extension. Please, read more https://tools.ietf.org/html/rfc4315
Parameters:
Parameter | Type | Description |
---|---|---|
uidSet | java.lang.Iterable<java.lang.String> | The set of UID for messages |
commitNow | boolean | Defines whether message must be commited now. Please, read more https://tools.ietf.org/html/rfc4315 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteMessagesByUids(Iterable uidSet, System.AsyncCallback callback)
public final System.IAsyncResult beginDeleteMessagesByUids(Iterable<String> uidSet, System.AsyncCallback callback)
Begins an asynchronous message deletion.
Parameters:
Parameter | Type | Description |
---|---|---|
uidSet | java.lang.Iterable<java.lang.String> | The set of UID for messages |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteMessagesByUids(Iterable uidSet, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginDeleteMessagesByUids(Iterable<String> uidSet, System.AsyncCallback callback, Object state)
Begins an asynchronous message deletion.
Parameters:
Parameter | Type | Description |
---|---|---|
uidSet | java.lang.Iterable<java.lang.String> | The set of UID for messages |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteMessagesByUids(Iterable uidSet, long modificationSequence)
public final System.IAsyncResult beginDeleteMessagesByUids(Iterable<String> uidSet, long modificationSequence)
Begins an asynchronous message deletion.
Parameters:
Parameter | Type | Description |
---|---|---|
uidSet | java.lang.Iterable<java.lang.String> | The set of UID for messages |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteMessagesByUids(Iterable uidSet, long modificationSequence, boolean commitNow)
public final System.IAsyncResult beginDeleteMessagesByUids(Iterable<String> uidSet, long modificationSequence, boolean commitNow)
Begins an asynchronous message deletion. This method works only if server supports UIDPLUS extension. Please, read more https://tools.ietf.org/html/rfc4315
Parameters:
Parameter | Type | Description |
---|---|---|
uidSet | java.lang.Iterable<java.lang.String> | The set of UID for messages |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
commitNow | boolean | Defines whether message must be commited now. Please, read more https://tools.ietf.org/html/rfc4315 |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteMessagesByUids(Iterable uidSet, long modificationSequence, boolean commitNow, System.AsyncCallback callback)
public final System.IAsyncResult beginDeleteMessagesByUids(Iterable<String> uidSet, long modificationSequence, boolean commitNow, System.AsyncCallback callback)
Begins an asynchronous message deletion. This method works only if server supports UIDPLUS extension. Please, read more https://tools.ietf.org/html/rfc4315
Parameters:
Parameter | Type | Description |
---|---|---|
uidSet | java.lang.Iterable<java.lang.String> | The set of UID for messages |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
commitNow | boolean | Defines whether message must be commited now. Please, read more https://tools.ietf.org/html/rfc4315 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteMessagesByUids(Iterable uidSet, long modificationSequence, boolean commitNow, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginDeleteMessagesByUids(Iterable<String> uidSet, long modificationSequence, boolean commitNow, System.AsyncCallback callback, Object state)
Begins an asynchronous message deletion. This method works only if server supports UIDPLUS extension. Please, read more https://tools.ietf.org/html/rfc4315
Parameters:
Parameter | Type | Description |
---|---|---|
uidSet | java.lang.Iterable<java.lang.String> | The set of UID for messages |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
commitNow | boolean | Defines whether message must be commited now. Please, read more https://tools.ietf.org/html/rfc4315 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteMessagesByUids(Iterable uidSet, long modificationSequence, System.AsyncCallback callback)
public final System.IAsyncResult beginDeleteMessagesByUids(Iterable<String> uidSet, long modificationSequence, System.AsyncCallback callback)
Begins an asynchronous message deletion.
Parameters:
Parameter | Type | Description |
---|---|---|
uidSet | java.lang.Iterable<java.lang.String> | The set of UID for messages |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginDeleteMessagesByUids(Iterable uidSet, long modificationSequence, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginDeleteMessagesByUids(Iterable<String> uidSet, long modificationSequence, System.AsyncCallback callback, Object state)
Begins an asynchronous message deletion.
Parameters:
Parameter | Type | Description |
---|---|---|
uidSet | java.lang.Iterable<java.lang.String> | The set of UID for messages |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginExistFolder(IConnection connection, String folderName)
public final System.IAsyncResult beginExistFolder(IConnection connection, String folderName)
Check whether this folder exists
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
folderName | java.lang.String | Name of the folder |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginExistFolder(IConnection connection, String folderName, System.AsyncCallback callback)
public final System.IAsyncResult beginExistFolder(IConnection connection, String folderName, System.AsyncCallback callback)
Check whether this folder exists
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
folderName | java.lang.String | Name of the folder |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginExistFolder(IConnection connection, String folderName, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginExistFolder(IConnection connection, String folderName, System.AsyncCallback callback, Object state)
Check whether this folder exists
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
folderName | java.lang.String | Name of the folder |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginExistFolder(String folderName)
public final System.IAsyncResult beginExistFolder(String folderName)
Check whether this folder exists
Parameters:
Parameter | Type | Description |
---|---|---|
folderName | java.lang.String | Name of the folder |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginExistFolder(String folderName, System.AsyncCallback callback)
public final System.IAsyncResult beginExistFolder(String folderName, System.AsyncCallback callback)
Check whether this folder exists
Parameters:
Parameter | Type | Description |
---|---|---|
folderName | java.lang.String | Name of the folder |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginExistFolder(String folderName, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginExistFolder(String folderName, System.AsyncCallback callback, Object state)
Check whether this folder exists
Parameters:
Parameter | Type | Description |
---|---|---|
folderName | java.lang.String | Name of the folder |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginFetchAttachment(IConnection connection, int sequenceNumber, String attachmentName)
public final System.IAsyncResult beginFetchAttachment(IConnection connection, int sequenceNumber, String attachmentName)
Begins fetch an attachment.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceNumber | int | The sequence number of a message |
attachmentName | java.lang.String | Attachment name |
Returns: com.aspose.ms.System.IAsyncResult - Fetched attachment.
beginFetchAttachment(IConnection connection, int sequenceNumber, String attachmentName, System.AsyncCallback callback)
public final System.IAsyncResult beginFetchAttachment(IConnection connection, int sequenceNumber, String attachmentName, System.AsyncCallback callback)
Begins fetch an attachment.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceNumber | int | The sequence number of a message |
attachmentName | java.lang.String | Attachment name |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - Fetched attachment.
beginFetchAttachment(IConnection connection, int sequenceNumber, String attachmentName, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginFetchAttachment(IConnection connection, int sequenceNumber, String attachmentName, System.AsyncCallback callback, Object state)
Begins fetch an attachment.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceNumber | int | The sequence number of a message |
attachmentName | java.lang.String | Attachment name |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - Fetched attachment.
beginFetchAttachment(int sequenceNumber, String attachmentName)
public final System.IAsyncResult beginFetchAttachment(int sequenceNumber, String attachmentName)
Begins fetch an attachment.
Parameters:
Parameter | Type | Description |
---|---|---|
sequenceNumber | int | The sequence number of a message |
attachmentName | java.lang.String | Attachment name |
Returns: com.aspose.ms.System.IAsyncResult - Fetched attachment.
beginFetchAttachment(int sequenceNumber, String attachmentName, System.AsyncCallback callback)
public final System.IAsyncResult beginFetchAttachment(int sequenceNumber, String attachmentName, System.AsyncCallback callback)
Begins fetch an attachment.
Parameters:
Parameter | Type | Description |
---|---|---|
sequenceNumber | int | The sequence number of a message |
attachmentName | java.lang.String | Attachment name |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - Fetched attachment.
beginFetchAttachment(int sequenceNumber, String attachmentName, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginFetchAttachment(int sequenceNumber, String attachmentName, System.AsyncCallback callback, Object state)
Begins fetch an attachment.
Parameters:
Parameter | Type | Description |
---|---|---|
sequenceNumber | int | The sequence number of a message |
attachmentName | java.lang.String | Attachment name |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - Fetched attachment.
beginFetchMessage(IConnection connection, int sequenceNumber)
public final System.IAsyncResult beginFetchMessage(IConnection connection, int sequenceNumber)
Begins an asynchronous message fetching.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceNumber | int | The sequence number of message |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginFetchMessage(IConnection connection, int sequenceNumber, boolean ignoreAttachment)
public final System.IAsyncResult beginFetchMessage(IConnection connection, int sequenceNumber, boolean ignoreAttachment)
Begins an asynchronous message fetching.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceNumber | int | The sequence number of message |
ignoreAttachment | boolean | 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 loaded |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginFetchMessage(IConnection connection, int sequenceNumber, boolean ignoreAttachment, System.AsyncCallback callback)
public final System.IAsyncResult beginFetchMessage(IConnection connection, int sequenceNumber, boolean ignoreAttachment, System.AsyncCallback callback)
Begins an asynchronous message fetching.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceNumber | int | The sequence number of message |
ignoreAttachment | boolean | 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 loaded |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginFetchMessage(IConnection connection, int sequenceNumber, boolean ignoreAttachment, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginFetchMessage(IConnection connection, int sequenceNumber, boolean ignoreAttachment, System.AsyncCallback callback, Object state)
Begins an asynchronous message fetching.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceNumber | int | The sequence number of message |
ignoreAttachment | boolean | 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 loaded |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginFetchMessage(IConnection connection, int sequenceNumber, System.AsyncCallback callback)
public final System.IAsyncResult beginFetchMessage(IConnection connection, int sequenceNumber, System.AsyncCallback callback)
Begins an asynchronous message fetching.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceNumber | int | The sequence number of message |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginFetchMessage(IConnection connection, int sequenceNumber, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginFetchMessage(IConnection connection, int sequenceNumber, System.AsyncCallback callback, Object state)
Begins an asynchronous message fetching.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceNumber | int | The sequence number of message |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginFetchMessage(IConnection connection, String uniqueId)
public final System.IAsyncResult beginFetchMessage(IConnection connection, String uniqueId)
Begins an asynchronous message fetching.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uniqueId | java.lang.String | The unique id of message |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginFetchMessage(IConnection connection, String uniqueId, System.AsyncCallback callback)
public final System.IAsyncResult beginFetchMessage(IConnection connection, String uniqueId, System.AsyncCallback callback)
Begins an asynchronous message fetching.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uniqueId | java.lang.String | The unique id of message |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginFetchMessage(IConnection connection, String uniqueId, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginFetchMessage(IConnection connection, String uniqueId, System.AsyncCallback callback, Object state)
Begins an asynchronous message fetching.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uniqueId | java.lang.String | The unique id of message |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginFetchMessage(int sequenceNumber)
public final System.IAsyncResult beginFetchMessage(int sequenceNumber)
Begins an asynchronous message fetching.
Parameters:
Parameter | Type | Description |
---|---|---|
sequenceNumber | int | The sequence number of message |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginFetchMessage(int sequenceNumber, boolean ignoreAttachment)
public final System.IAsyncResult beginFetchMessage(int sequenceNumber, boolean ignoreAttachment)
Begins an asynchronous message fetching.
Parameters:
Parameter | Type | Description |
---|---|---|
sequenceNumber | int | The sequence number of message |
ignoreAttachment | boolean | 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 loaded |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginFetchMessage(int sequenceNumber, boolean ignoreAttachment, System.AsyncCallback callback)
public final System.IAsyncResult beginFetchMessage(int sequenceNumber, boolean ignoreAttachment, System.AsyncCallback callback)
Begins an asynchronous message fetching.
Parameters:
Parameter | Type | Description |
---|---|---|
sequenceNumber | int | The sequence number of message |
ignoreAttachment | boolean | 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 loaded |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginFetchMessage(int sequenceNumber, boolean ignoreAttachment, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginFetchMessage(int sequenceNumber, boolean ignoreAttachment, System.AsyncCallback callback, Object state)
Begins an asynchronous message fetching.
Parameters:
Parameter | Type | Description |
---|---|---|
sequenceNumber | int | The sequence number of message |
ignoreAttachment | boolean | 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 loaded |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginFetchMessage(int sequenceNumber, System.AsyncCallback callback)
public final System.IAsyncResult beginFetchMessage(int sequenceNumber, System.AsyncCallback callback)
Begins an asynchronous message fetching.
Parameters:
Parameter | Type | Description |
---|---|---|
sequenceNumber | int | The sequence number of message |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginFetchMessage(int sequenceNumber, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginFetchMessage(int sequenceNumber, System.AsyncCallback callback, Object state)
Begins an asynchronous message fetching.
Parameters:
Parameter | Type | Description |
---|---|---|
sequenceNumber | int | The sequence number of message |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginFetchMessage(String uniqueId)
public final System.IAsyncResult beginFetchMessage(String uniqueId)
Begins an asynchronous message fetching.
Parameters:
Parameter | Type | Description |
---|---|---|
uniqueId | java.lang.String | The unique id of message |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginFetchMessage(String uniqueId, System.AsyncCallback callback)
public final System.IAsyncResult beginFetchMessage(String uniqueId, System.AsyncCallback callback)
Begins an asynchronous message fetching.
Parameters:
Parameter | Type | Description |
---|---|---|
uniqueId | java.lang.String | The unique id of message |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginFetchMessage(String uniqueId, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginFetchMessage(String uniqueId, System.AsyncCallback callback, Object state)
Begins an asynchronous message fetching.
Parameters:
Parameter | Type | Description |
---|---|---|
uniqueId | java.lang.String | The unique id of message |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginFetchMessagesBySequences(IConnection connection, Iterable sequenceNumbers)
public final System.IAsyncResult beginFetchMessagesBySequences(IConnection connection, Iterable<Integer> sequenceNumbers)
Begins FetchMessages operation asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceNumbers | java.lang.Iterable<java.lang.Integer> |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginFetchMessagesBySequences(IConnection connection, Iterable sequenceNumbers, System.AsyncCallback callback)
public final System.IAsyncResult beginFetchMessagesBySequences(IConnection connection, Iterable<Integer> sequenceNumbers, System.AsyncCallback callback)
Begins FetchMessages operation asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceNumbers | java.lang.Iterable<java.lang.Integer> | |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginFetchMessagesBySequences(IConnection connection, Iterable sequenceNumbers, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginFetchMessagesBySequences(IConnection connection, Iterable<Integer> sequenceNumbers, System.AsyncCallback callback, Object state)
Begins FetchMessages operation asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceNumbers | java.lang.Iterable<java.lang.Integer> | |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginFetchMessagesBySequences(Iterable sequenceNumbers)
public final System.IAsyncResult beginFetchMessagesBySequences(Iterable<Integer> sequenceNumbers)
Begins FetchMessages operation asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
sequenceNumbers | java.lang.Iterable<java.lang.Integer> |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginFetchMessagesBySequences(Iterable sequenceNumbers, System.AsyncCallback callback)
public final System.IAsyncResult beginFetchMessagesBySequences(Iterable<Integer> sequenceNumbers, System.AsyncCallback callback)
Begins FetchMessages operation asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
sequenceNumbers | java.lang.Iterable<java.lang.Integer> | |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginFetchMessagesBySequences(Iterable sequenceNumbers, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginFetchMessagesBySequences(Iterable<Integer> sequenceNumbers, System.AsyncCallback callback, Object state)
Begins FetchMessages operation asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
sequenceNumbers | java.lang.Iterable<java.lang.Integer> | |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginFetchMessagesByUids(IConnection connection, Iterable uids)
public final System.IAsyncResult beginFetchMessagesByUids(IConnection connection, Iterable<String> uids)
Begins FetchMessages operation asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uids | java.lang.Iterable<java.lang.String> | The sequence numbers of the messages |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginFetchMessagesByUids(IConnection connection, Iterable uids, System.AsyncCallback callback)
public final System.IAsyncResult beginFetchMessagesByUids(IConnection connection, Iterable<String> uids, System.AsyncCallback callback)
Begins FetchMessages operation asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uids | java.lang.Iterable<java.lang.String> | The sequence numbers of the messages |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginFetchMessagesByUids(IConnection connection, Iterable uids, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginFetchMessagesByUids(IConnection connection, Iterable<String> uids, System.AsyncCallback callback, Object state)
Begins FetchMessages operation asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uids | java.lang.Iterable<java.lang.String> | The sequence numbers of the messages |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginFetchMessagesByUids(Iterable uids)
public final System.IAsyncResult beginFetchMessagesByUids(Iterable<String> uids)
Begins FetchMessages operation asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
uids | java.lang.Iterable<java.lang.String> | The sequence numbers of the messages |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginFetchMessagesByUids(Iterable uids, System.AsyncCallback callback)
public final System.IAsyncResult beginFetchMessagesByUids(Iterable<String> uids, System.AsyncCallback callback)
Begins FetchMessages operation asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
uids | java.lang.Iterable<java.lang.String> | The sequence numbers of the messages |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginFetchMessagesByUids(Iterable uids, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginFetchMessagesByUids(Iterable<String> uids, System.AsyncCallback callback, Object state)
Begins FetchMessages operation asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
uids | java.lang.Iterable<java.lang.String> | The sequence numbers of the messages |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginGetFolderInfo(IConnection connection, String folderName)
public final System.IAsyncResult beginGetFolderInfo(IConnection connection, String folderName)
Begins an asynchronous folder listing.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
folderName | java.lang.String | Folder to retrieve information about |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginGetFolderInfo(IConnection connection, String folderName, System.AsyncCallback callback)
public final System.IAsyncResult beginGetFolderInfo(IConnection connection, String folderName, System.AsyncCallback callback)
Begins an asynchronous folder listing.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
folderName | java.lang.String | Folder to retrieve information about |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginGetFolderInfo(IConnection connection, String folderName, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginGetFolderInfo(IConnection connection, String folderName, System.AsyncCallback callback, Object state)
Begins an asynchronous folder listing.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
folderName | java.lang.String | Folder to retrieve information about |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginGetFolderInfo(String folderName)
public final System.IAsyncResult beginGetFolderInfo(String folderName)
Begins an asynchronous folder listing.
Parameters:
Parameter | Type | Description |
---|---|---|
folderName | java.lang.String | Folder to retrieve information about |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginGetFolderInfo(String folderName, System.AsyncCallback callback)
public final System.IAsyncResult beginGetFolderInfo(String folderName, System.AsyncCallback callback)
Begins an asynchronous folder listing.
Parameters:
Parameter | Type | Description |
---|---|---|
folderName | java.lang.String | Folder to retrieve information about |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginGetFolderInfo(String folderName, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginGetFolderInfo(String folderName, System.AsyncCallback callback, Object state)
Begins an asynchronous folder listing.
Parameters:
Parameter | Type | Description |
---|---|---|
folderName | java.lang.String | Folder to retrieve information about |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginGetMessageThreads(BaseSearchConditions conditions, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginGetMessageThreads(BaseSearchConditions conditions, System.AsyncCallback callback, Object state)
Begins getting message threads asynchronously.
Parameters:
Parameter | Type | Description |
---|---|---|
conditions | BaseSearchConditions | Thread conditions. |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginGetMessageThreads(IConnection connection, BaseSearchConditions conditions, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginGetMessageThreads(IConnection connection, BaseSearchConditions conditions, System.AsyncCallback callback, Object state)
Begins getting message threads asynchronously.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
conditions | BaseSearchConditions | Thread conditions. |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginGetNamespaces()
public final System.IAsyncResult beginGetNamespaces()
Begins getting namespaces that are available on a server asynchronously.
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginGetNamespaces(IConnection connection)
public final System.IAsyncResult beginGetNamespaces(IConnection connection)
Begins getting namespaces that are available on a server asynchronously.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginGetNamespaces(IConnection connection, System.AsyncCallback callback)
public final System.IAsyncResult beginGetNamespaces(IConnection connection, System.AsyncCallback callback)
Begins getting namespaces that are available on a server asynchronously.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginGetNamespaces(IConnection connection, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginGetNamespaces(IConnection connection, System.AsyncCallback callback, Object state)
Begins getting namespaces that are available on a server asynchronously.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginGetNamespaces(System.AsyncCallback callback)
public final System.IAsyncResult beginGetNamespaces(System.AsyncCallback callback)
Begins getting namespaces that are available on a server asynchronously.
Parameters:
Parameter | Type | Description |
---|---|---|
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginGetNamespaces(System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginGetNamespaces(System.AsyncCallback callback, Object state)
Begins getting namespaces that are available on a server asynchronously.
Parameters:
Parameter | Type | Description |
---|---|---|
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginGetQuota(IConnection connection, String quotaRootName)
public final System.IAsyncResult beginGetQuota(IConnection connection, String quotaRootName)
Begins getting quota information
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
quotaRootName | java.lang.String | quota root name |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginGetQuota(IConnection connection, String quotaRootName, System.AsyncCallback callback)
public final System.IAsyncResult beginGetQuota(IConnection connection, String quotaRootName, System.AsyncCallback callback)
Begins getting quota information
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
quotaRootName | java.lang.String | quota root name |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginGetQuota(IConnection connection, String quotaRootName, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginGetQuota(IConnection connection, String quotaRootName, System.AsyncCallback callback, Object state)
Begins getting quota information
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
quotaRootName | java.lang.String | quota root name |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginGetQuota(String quotaRootName)
public final System.IAsyncResult beginGetQuota(String quotaRootName)
Begins getting quota information
Parameters:
Parameter | Type | Description |
---|---|---|
quotaRootName | java.lang.String | quota root name |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginGetQuota(String quotaRootName, System.AsyncCallback callback)
public final System.IAsyncResult beginGetQuota(String quotaRootName, System.AsyncCallback callback)
Begins getting quota information
Parameters:
Parameter | Type | Description |
---|---|---|
quotaRootName | java.lang.String | quota root name |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginGetQuota(String quotaRootName, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginGetQuota(String quotaRootName, System.AsyncCallback callback, Object state)
Begins getting quota information
Parameters:
Parameter | Type | Description |
---|---|---|
quotaRootName | java.lang.String | quota root name |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginGetQuotaRoot(IConnection connection, String mailboxName)
public final System.IAsyncResult beginGetQuotaRoot(IConnection connection, String mailboxName)
Begins getting quota root information for mailbox
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
mailboxName | java.lang.String | mailbox name |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginGetQuotaRoot(IConnection connection, String mailboxName, System.AsyncCallback callback)
public final System.IAsyncResult beginGetQuotaRoot(IConnection connection, String mailboxName, System.AsyncCallback callback)
Begins getting quota root information for mailbox
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
mailboxName | java.lang.String | mailbox name |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginGetQuotaRoot(IConnection connection, String mailboxName, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginGetQuotaRoot(IConnection connection, String mailboxName, System.AsyncCallback callback, Object state)
Begins getting quota root information for mailbox
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
mailboxName | java.lang.String | mailbox name |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginGetQuotaRoot(String mailboxName)
public final System.IAsyncResult beginGetQuotaRoot(String mailboxName)
Begins getting quota root information for mailbox
Parameters:
Parameter | Type | Description |
---|---|---|
mailboxName | java.lang.String | mailbox name |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginGetQuotaRoot(String mailboxName, System.AsyncCallback callback)
public final System.IAsyncResult beginGetQuotaRoot(String mailboxName, System.AsyncCallback callback)
Begins getting quota root information for mailbox
Parameters:
Parameter | Type | Description |
---|---|---|
mailboxName | java.lang.String | mailbox name |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginGetQuotaRoot(String mailboxName, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginGetQuotaRoot(String mailboxName, System.AsyncCallback callback, Object state)
Begins getting quota root information for mailbox
Parameters:
Parameter | Type | Description |
---|---|---|
mailboxName | java.lang.String | mailbox name |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginIntroduceClient()
public final System.IAsyncResult beginIntroduceClient()
Begins introduce client information to a server asynchronously.
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginIntroduceClient(IConnection connection)
public final System.IAsyncResult beginIntroduceClient(IConnection connection)
Begins introduce client information to a server asynchronously.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginIntroduceClient(IConnection connection, ImapIdentificationInfo clientIdentificationInfo)
public final System.IAsyncResult beginIntroduceClient(IConnection connection, ImapIdentificationInfo clientIdentificationInfo)
Begins introduce client information to a server asynchronously.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
clientIdentificationInfo | ImapIdentificationInfo | Client identification information |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginIntroduceClient(IConnection connection, ImapIdentificationInfo clientIdentificationInfo, System.AsyncCallback callback)
public final System.IAsyncResult beginIntroduceClient(IConnection connection, ImapIdentificationInfo clientIdentificationInfo, System.AsyncCallback callback)
Begins introduce client information to a server asynchronously.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
clientIdentificationInfo | ImapIdentificationInfo | Client identification information |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginIntroduceClient(IConnection connection, ImapIdentificationInfo clientIdentificationInfo, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginIntroduceClient(IConnection connection, ImapIdentificationInfo clientIdentificationInfo, System.AsyncCallback callback, Object state)
Begins introduce client information to a server asynchronously.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
clientIdentificationInfo | ImapIdentificationInfo | Client identification information |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginIntroduceClient(IConnection connection, System.AsyncCallback callback)
public final System.IAsyncResult beginIntroduceClient(IConnection connection, System.AsyncCallback callback)
Begins introduce client information to a server asynchronously.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginIntroduceClient(IConnection connection, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginIntroduceClient(IConnection connection, System.AsyncCallback callback, Object state)
Begins introduce client information to a server asynchronously.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginIntroduceClient(ImapIdentificationInfo clientIdentificationInfo)
public final System.IAsyncResult beginIntroduceClient(ImapIdentificationInfo clientIdentificationInfo)
Begins introduce client information to a server asynchronously.
Parameters:
Parameter | Type | Description |
---|---|---|
clientIdentificationInfo | ImapIdentificationInfo | Client identification information |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginIntroduceClient(ImapIdentificationInfo clientIdentificationInfo, System.AsyncCallback callback)
public final System.IAsyncResult beginIntroduceClient(ImapIdentificationInfo clientIdentificationInfo, System.AsyncCallback callback)
Begins introduce client information to a server asynchronously.
Parameters:
Parameter | Type | Description |
---|---|---|
clientIdentificationInfo | ImapIdentificationInfo | Client identification information |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginIntroduceClient(ImapIdentificationInfo clientIdentificationInfo, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginIntroduceClient(ImapIdentificationInfo clientIdentificationInfo, System.AsyncCallback callback, Object state)
Begins introduce client information to a server asynchronously.
Parameters:
Parameter | Type | Description |
---|---|---|
clientIdentificationInfo | ImapIdentificationInfo | Client identification information |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginIntroduceClient(System.AsyncCallback callback)
public final System.IAsyncResult beginIntroduceClient(System.AsyncCallback callback)
Begins introduce client information to a server asynchronously.
Parameters:
Parameter | Type | Description |
---|---|---|
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginIntroduceClient(System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginIntroduceClient(System.AsyncCallback callback, Object state)
Begins introduce client information to a server asynchronously.
Parameters:
Parameter | Type | Description |
---|---|---|
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginListAttachments(int sequenceNumber, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginListAttachments(int sequenceNumber, System.AsyncCallback callback, Object state)
Parameters:
Parameter | Type | Description |
---|---|---|
sequenceNumber | int | |
callback | com.aspose.ms.System.AsyncCallback | |
state | java.lang.Object |
Returns: com.aspose.ms.System.IAsyncResult
beginListFolders()
public final System.IAsyncResult beginListFolders()
Begins to get the list of folders in the mailbox
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginListFolders(boolean loadFullInfo)
public final System.IAsyncResult beginListFolders(boolean loadFullInfo)
Begins to get the list of folders in the mailbox
Parameters:
Parameter | Type | Description |
---|---|---|
loadFullInfo | boolean | If true indicates that folder information should be retrieved from a server completely, otherwise only folder names are retrieved. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginListFolders(boolean loadFullInfo, System.AsyncCallback callback)
public final System.IAsyncResult beginListFolders(boolean loadFullInfo, System.AsyncCallback callback)
Begins to get the list of folders in the mailbox
Parameters:
Parameter | Type | Description |
---|---|---|
loadFullInfo | boolean | If true indicates that folder information should be retrieved from a server completely, otherwise only folder names are retrieved. |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginListFolders(boolean loadFullInfo, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginListFolders(boolean loadFullInfo, System.AsyncCallback callback, Object state)
Begins to get the list of folders in the mailbox
Parameters:
Parameter | Type | Description |
---|---|---|
loadFullInfo | boolean | If true indicates that folder information should be retrieved from a server completely, otherwise only folder names are retrieved. |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginListFolders(IConnection connection)
public final System.IAsyncResult beginListFolders(IConnection connection)
Begins to get the list of folders in the mailbox
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginListFolders(IConnection connection, boolean loadFullInfo)
public final System.IAsyncResult beginListFolders(IConnection connection, boolean loadFullInfo)
Begins to get the list of folders in the mailbox
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
loadFullInfo | boolean | If true indicates that folder information should be retrieved from a server completely, otherwise only folder names are retrieved. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginListFolders(IConnection connection, boolean loadFullInfo, System.AsyncCallback callback)
public final System.IAsyncResult beginListFolders(IConnection connection, boolean loadFullInfo, System.AsyncCallback callback)
Begins to get the list of folders in the mailbox
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
loadFullInfo | boolean | If true indicates that folder information should be retrieved from a server completely, otherwise only folder names are retrieved. |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginListFolders(IConnection connection, boolean loadFullInfo, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginListFolders(IConnection connection, boolean loadFullInfo, System.AsyncCallback callback, Object state)
Begins to get the list of folders in the mailbox
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
loadFullInfo | boolean | If true indicates that folder information should be retrieved from a server completely, otherwise only folder names are retrieved. |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginListFolders(IConnection connection, System.AsyncCallback callback)
public final System.IAsyncResult beginListFolders(IConnection connection, System.AsyncCallback callback)
Begins to get the list of folders in the mailbox
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginListFolders(IConnection connection, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginListFolders(IConnection connection, System.AsyncCallback callback, Object state)
Begins to get the list of folders in the mailbox
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginListFolders(IConnection connection, String parentFolder)
public final System.IAsyncResult beginListFolders(IConnection connection, String parentFolder)
Begins to get the list of subfolders in the specified folder
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
parentFolder | java.lang.String | Name of the folder |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginListFolders(IConnection connection, String parentFolder, boolean loadFullInfo)
public final System.IAsyncResult beginListFolders(IConnection connection, String parentFolder, boolean loadFullInfo)
Begins to get the list of subfolders in the specified folder
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
parentFolder | java.lang.String | Name of the folder |
loadFullInfo | boolean | If true indicates that folder information should be retrieved from a server completely, otherwise only folder names are retrieved. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginListFolders(IConnection connection, String parentFolder, boolean loadFullInfo, System.AsyncCallback callback)
public final System.IAsyncResult beginListFolders(IConnection connection, String parentFolder, boolean loadFullInfo, System.AsyncCallback callback)
Begins to get the list of subfolders in the specified folder
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
parentFolder | java.lang.String | Name of the folder |
loadFullInfo | boolean | If true indicates that folder information should be retrieved from a server completely, otherwise only folder names are retrieved. |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginListFolders(IConnection connection, String parentFolder, boolean loadFullInfo, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginListFolders(IConnection connection, String parentFolder, boolean loadFullInfo, System.AsyncCallback callback, Object state)
Begins to get the list of subfolders in the specified folder
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
parentFolder | java.lang.String | Name of the folder |
loadFullInfo | boolean | If true indicates that folder information should be retrieved from a server completely, otherwise only folder names are retrieved. |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginListFolders(IConnection connection, String parentFolder, boolean loadFullInfo, int options, int returnOptions)
public final System.IAsyncResult beginListFolders(IConnection connection, String parentFolder, boolean loadFullInfo, int options, int returnOptions)
Begins to get the list of subfolders in the specified folder
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
parentFolder | java.lang.String | Name of the folder |
loadFullInfo | boolean | If true indicates that folder information should be retrieved from a server completely, otherwise only folder names are retrieved. |
options | int | Options for operation |
returnOptions | int | Return options for operation |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginListFolders(IConnection connection, String parentFolder, boolean loadFullInfo, int options, int returnOptions, System.AsyncCallback callback)
public final System.IAsyncResult beginListFolders(IConnection connection, String parentFolder, boolean loadFullInfo, int options, int returnOptions, System.AsyncCallback callback)
Begins to get the list of subfolders in the specified folder
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
parentFolder | java.lang.String | Name of the folder |
loadFullInfo | boolean | If true indicates that folder information should be retrieved from a server completely, otherwise only folder names are retrieved. |
options | int | Options for operation |
returnOptions | int | Return options for operation |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginListFolders(IConnection connection, String parentFolder, boolean loadFullInfo, int options, int returnOptions, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginListFolders(IConnection connection, String parentFolder, boolean loadFullInfo, int options, int returnOptions, System.AsyncCallback callback, Object state)
Begins to get the list of subfolders in the specified folder
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
parentFolder | java.lang.String | Name of the folder |
loadFullInfo | boolean | If true indicates that folder information should be retrieved from a server completely, otherwise only folder names are retrieved. |
options | int | Options for operation |
returnOptions | int | Return options for operation |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginListFolders(IConnection connection, String parentFolder, System.AsyncCallback callback)
public final System.IAsyncResult beginListFolders(IConnection connection, String parentFolder, System.AsyncCallback callback)
Begins to get the list of subfolders in the specified folder
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
parentFolder | java.lang.String | Name of the folder |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginListFolders(IConnection connection, String parentFolder, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginListFolders(IConnection connection, String parentFolder, System.AsyncCallback callback, Object state)
Begins to get the list of subfolders in the specified folder
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
parentFolder | java.lang.String | Name of the folder |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginListFolders(System.AsyncCallback callback)
public final System.IAsyncResult beginListFolders(System.AsyncCallback callback)
Begins to get the list of folders in the mailbox
Parameters:
Parameter | Type | Description |
---|---|---|
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginListFolders(System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginListFolders(System.AsyncCallback callback, Object state)
Begins to get the list of folders in the mailbox
Parameters:
Parameter | Type | Description |
---|---|---|
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginListFolders(String parentFolder)
public final System.IAsyncResult beginListFolders(String parentFolder)
Begins to get the list of subfolders in the specified folder
Parameters:
Parameter | Type | Description |
---|---|---|
parentFolder | java.lang.String | Name of the folder |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginListFolders(String parentFolder, boolean loadFullInfo)
public final System.IAsyncResult beginListFolders(String parentFolder, boolean loadFullInfo)
Begins to get the list of subfolders in the specified folder
Parameters:
Parameter | Type | Description |
---|---|---|
parentFolder | java.lang.String | Name of the folder |
loadFullInfo | boolean | If true indicates that folder information should be retrieved from a server completely, otherwise only folder names are retrieved. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginListFolders(String parentFolder, boolean loadFullInfo, System.AsyncCallback callback)
public final System.IAsyncResult beginListFolders(String parentFolder, boolean loadFullInfo, System.AsyncCallback callback)
Begins to get the list of subfolders in the specified folder
Parameters:
Parameter | Type | Description |
---|---|---|
parentFolder | java.lang.String | Name of the folder |
loadFullInfo | boolean | If true indicates that folder information should be retrieved from a server completely, otherwise only folder names are retrieved. |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginListFolders(String parentFolder, boolean loadFullInfo, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginListFolders(String parentFolder, boolean loadFullInfo, System.AsyncCallback callback, Object state)
Begins to get the list of subfolders in the specified folder
Parameters:
Parameter | Type | Description |
---|---|---|
parentFolder | java.lang.String | Name of the folder |
loadFullInfo | boolean | If true indicates that folder information should be retrieved from a server completely, otherwise only folder names are retrieved. |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginListFolders(String parentFolder, boolean loadFullInfo, int options, int returnOptions)
public final System.IAsyncResult beginListFolders(String parentFolder, boolean loadFullInfo, int options, int returnOptions)
Begins to get the list of subfolders in the specified folder
Parameters:
Parameter | Type | Description |
---|---|---|
parentFolder | java.lang.String | Name of the folder |
loadFullInfo | boolean | If true indicates that folder information should be retrieved from a server completely, otherwise only folder names are retrieved. |
options | int | Options for operation |
returnOptions | int | Return options for operation |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginListFolders(String parentFolder, boolean loadFullInfo, int options, int returnOptions, System.AsyncCallback callback)
public final System.IAsyncResult beginListFolders(String parentFolder, boolean loadFullInfo, int options, int returnOptions, System.AsyncCallback callback)
Begins to get the list of subfolders in the specified folder
Parameters:
Parameter | Type | Description |
---|---|---|
parentFolder | java.lang.String | Name of the folder |
loadFullInfo | boolean | If true indicates that folder information should be retrieved from a server completely, otherwise only folder names are retrieved. |
options | int | Options for operation |
returnOptions | int | Return options for operation |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginListFolders(String parentFolder, boolean loadFullInfo, int options, int returnOptions, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginListFolders(String parentFolder, boolean loadFullInfo, int options, int returnOptions, System.AsyncCallback callback, Object state)
Begins to get the list of subfolders in the specified folder
Parameters:
Parameter | Type | Description |
---|---|---|
parentFolder | java.lang.String | Name of the folder |
loadFullInfo | boolean | If true indicates that folder information should be retrieved from a server completely, otherwise only folder names are retrieved. |
options | int | Options for operation |
returnOptions | int | Return options for operation |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginListFolders(String parentFolder, System.AsyncCallback callback)
public final System.IAsyncResult beginListFolders(String parentFolder, System.AsyncCallback callback)
Begins to get the list of subfolders in the specified folder
Parameters:
Parameter | Type | Description |
---|---|---|
parentFolder | java.lang.String | Name of the folder |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginListFolders(String parentFolder, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginListFolders(String parentFolder, System.AsyncCallback callback, Object state)
Begins to get the list of subfolders in the specified folder
Parameters:
Parameter | Type | Description |
---|---|---|
parentFolder | java.lang.String | Name of the folder |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginListMessage(IConnection connection, int sequenceNumber)
public final System.IAsyncResult beginListMessage(IConnection connection, int sequenceNumber)
Begins to get information about a message.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceNumber | int | The sequence number of message |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginListMessage(IConnection connection, int sequenceNumber, System.AsyncCallback callback)
public final System.IAsyncResult beginListMessage(IConnection connection, int sequenceNumber, System.AsyncCallback callback)
Begins to get information about a message.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceNumber | int | The sequence number of message |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginListMessage(IConnection connection, int sequenceNumber, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginListMessage(IConnection connection, int sequenceNumber, System.AsyncCallback callback, Object state)
Begins to get information about a message.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceNumber | int | The sequence number of message |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginListMessage(IConnection connection, int sequenceNumber, Iterable messageExtraFields)
public final System.IAsyncResult beginListMessage(IConnection connection, int sequenceNumber, Iterable<String> messageExtraFields)
Begins to get information about a message.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceNumber | int | The sequence number of message |
messageExtraFields | java.lang.Iterable<java.lang.String> | List of extra parameters for a message wich will be requested. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginListMessage(IConnection connection, int sequenceNumber, Iterable messageExtraFields, System.AsyncCallback callback)
public final System.IAsyncResult beginListMessage(IConnection connection, int sequenceNumber, Iterable<String> messageExtraFields, System.AsyncCallback callback)
Begins to get information about a message.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceNumber | int | The sequence number of message |
messageExtraFields | java.lang.Iterable<java.lang.String> | List of extra parameters for a message wich will be requested. |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginListMessage(IConnection connection, int sequenceNumber, Iterable messageExtraFields, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginListMessage(IConnection connection, int sequenceNumber, Iterable<String> messageExtraFields, System.AsyncCallback callback, Object state)
Begins to get information about a message.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceNumber | int | The sequence number of message |
messageExtraFields | java.lang.Iterable<java.lang.String> | List of extra parameters for a message wich will be requested. |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginListMessage(IConnection connection, String uniqueId)
public final System.IAsyncResult beginListMessage(IConnection connection, String uniqueId)
Begins to get information about a message.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uniqueId | java.lang.String | The unique Id of the message |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginListMessage(IConnection connection, String uniqueId, System.AsyncCallback callback)
public final System.IAsyncResult beginListMessage(IConnection connection, String uniqueId, System.AsyncCallback callback)
Begins to get information about a message.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uniqueId | java.lang.String | The unique Id of the message |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginListMessage(IConnection connection, String uniqueId, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginListMessage(IConnection connection, String uniqueId, System.AsyncCallback callback, Object state)
Begins to get information about a message.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uniqueId | java.lang.String | The unique Id of the message |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginListMessage(IConnection connection, String uniqueId, Iterable messageExtraFields)
public final System.IAsyncResult beginListMessage(IConnection connection, String uniqueId, Iterable<String> messageExtraFields)
Begins to get information about a message.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uniqueId | java.lang.String | The unique Id of the message |
messageExtraFields | java.lang.Iterable<java.lang.String> | List of extra parameters for a message wich will be requested. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginListMessage(IConnection connection, String uniqueId, Iterable messageExtraFields, System.AsyncCallback callback)
public final System.IAsyncResult beginListMessage(IConnection connection, String uniqueId, Iterable<String> messageExtraFields, System.AsyncCallback callback)
Begins to get information about a message.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uniqueId | java.lang.String | The unique Id of the message |
messageExtraFields | java.lang.Iterable<java.lang.String> | List of extra parameters for a message wich will be requested. |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginListMessage(IConnection connection, String uniqueId, Iterable messageExtraFields, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginListMessage(IConnection connection, String uniqueId, Iterable<String> messageExtraFields, System.AsyncCallback callback, Object state)
Begins to get information about a message.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uniqueId | java.lang.String | The unique Id of the message |
messageExtraFields | java.lang.Iterable<java.lang.String> | List of extra parameters for a message wich will be requested. |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginListMessage(int sequenceNumber)
public final System.IAsyncResult beginListMessage(int sequenceNumber)
Begins to get information about a message.
Parameters:
Parameter | Type | Description |
---|---|---|
sequenceNumber | int | The sequence number of message |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginListMessage(int sequenceNumber, System.AsyncCallback callback)
public final System.IAsyncResult beginListMessage(int sequenceNumber, System.AsyncCallback callback)
Begins to get information about a message.
Parameters:
Parameter | Type | Description |
---|---|---|
sequenceNumber | int | The sequence number of message |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginListMessage(int sequenceNumber, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginListMessage(int sequenceNumber, System.AsyncCallback callback, Object state)
Begins to get information about a message.
Parameters:
Parameter | Type | Description |
---|---|---|
sequenceNumber | int | The sequence number of message |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginListMessage(int sequenceNumber, Iterable messageExtraFields)
public final System.IAsyncResult beginListMessage(int sequenceNumber, Iterable<String> messageExtraFields)
Begins to get information about a message.
Parameters:
Parameter | Type | Description |
---|---|---|
sequenceNumber | int | The sequence number of message |
messageExtraFields | java.lang.Iterable<java.lang.String> | List of extra parameters for a message wich will be requested. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginListMessage(int sequenceNumber, Iterable messageExtraFields, System.AsyncCallback callback)
public final System.IAsyncResult beginListMessage(int sequenceNumber, Iterable<String> messageExtraFields, System.AsyncCallback callback)
Begins to get information about a message.
Parameters:
Parameter | Type | Description |
---|---|---|
sequenceNumber | int | The sequence number of message |
messageExtraFields | java.lang.Iterable<java.lang.String> | List of extra parameters for a message wich will be requested. |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginListMessage(int sequenceNumber, Iterable messageExtraFields, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginListMessage(int sequenceNumber, Iterable<String> messageExtraFields, System.AsyncCallback callback, Object state)
Begins to get information about a message.
Parameters:
Parameter | Type | Description |
---|---|---|
sequenceNumber | int | The sequence number of message |
messageExtraFields | java.lang.Iterable<java.lang.String> | List of extra parameters for a message wich will be requested. |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginListMessage(String uniqueId)
public final System.IAsyncResult beginListMessage(String uniqueId)
Begins to get information about a message.
Parameters:
Parameter | Type | Description |
---|---|---|
uniqueId | java.lang.String | The unique Id of the message |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginListMessage(String uniqueId, System.AsyncCallback callback)
public final System.IAsyncResult beginListMessage(String uniqueId, System.AsyncCallback callback)
Begins to get information about a message.
Parameters:
Parameter | Type | Description |
---|---|---|
uniqueId | java.lang.String | The unique Id of the message |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginListMessage(String uniqueId, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginListMessage(String uniqueId, System.AsyncCallback callback, Object state)
Begins to get information about a message.
Parameters:
Parameter | Type | Description |
---|---|---|
uniqueId | java.lang.String | The unique Id of the message |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginListMessage(String uniqueId, Iterable messageExtraFields)
public final System.IAsyncResult beginListMessage(String uniqueId, Iterable<String> messageExtraFields)
Begins to get information about a message.
Parameters:
Parameter | Type | Description |
---|---|---|
uniqueId | java.lang.String | The unique Id of the message |
messageExtraFields | java.lang.Iterable<java.lang.String> | List of extra parameters for a message wich will be requested. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginListMessage(String uniqueId, Iterable messageExtraFields, System.AsyncCallback callback)
public final System.IAsyncResult beginListMessage(String uniqueId, Iterable<String> messageExtraFields, System.AsyncCallback callback)
Begins to get information about a message.
Parameters:
Parameter | Type | Description |
---|---|---|
uniqueId | java.lang.String | The unique Id of the message |
messageExtraFields | java.lang.Iterable<java.lang.String> | List of extra parameters for a message wich will be requested. |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginListMessage(String uniqueId, Iterable messageExtraFields, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginListMessage(String uniqueId, Iterable<String> messageExtraFields, System.AsyncCallback callback, Object state)
Begins to get information about a message.
Parameters:
Parameter | Type | Description |
---|---|---|
uniqueId | java.lang.String | The unique Id of the message |
messageExtraFields | java.lang.Iterable<java.lang.String> | List of extra parameters for a message wich will be requested. |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginListMessages()
public final System.IAsyncResult beginListMessages()
Begins getting the list of messages asynchronously in the current folder
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginListMessages(IConnection connection, int maxNumberOfMessages)
public final System.IAsyncResult beginListMessages(IConnection connection, int maxNumberOfMessages)
Begins getting the list of messages in the current folder Please, see more https://tools.ietf.org/html/rfc7162
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
maxNumberOfMessages | int | Maximum number of messages. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginListMessages(IConnection connection, int maxNumberOfMessages, System.AsyncCallback callback)
public final System.IAsyncResult beginListMessages(IConnection connection, int maxNumberOfMessages, System.AsyncCallback callback)
Begins getting the list of messages in the current folder Please, see more https://tools.ietf.org/html/rfc7162
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
maxNumberOfMessages | int | Maximum number of messages. |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginListMessages(IConnection connection, int maxNumberOfMessages, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginListMessages(IConnection connection, int maxNumberOfMessages, System.AsyncCallback callback, Object state)
Begins getting the list of messages in the current folder Please, see more https://tools.ietf.org/html/rfc7162
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
maxNumberOfMessages | int | Maximum number of messages. |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginListMessages(IConnection connection, String folderName, MailQuery query, int maxNumberOfMessages, Iterable messageExtraFields, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginListMessages(IConnection connection, String folderName, MailQuery query, int maxNumberOfMessages, Iterable<String> messageExtraFields, System.AsyncCallback callback, Object state)
Begins getting the list of messages asynchronously in the current folder
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
folderName | java.lang.String | Messages location |
query | MailQuery | MailQuery that represents search query. |
maxNumberOfMessages | int | Maximum number of messages. |
messageExtraFields | java.lang.Iterable<java.lang.String> | List of extra parameters for a message wich will be requested. |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginListMessages(IConnection connection, String folderName, long modificationSequence, boolean retrieveRecursively, Iterable messageExtraFields, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginListMessages(IConnection connection, String folderName, long modificationSequence, boolean retrieveRecursively, Iterable<String> messageExtraFields, System.AsyncCallback callback, Object state)
Begins getting the list of messages in the current folder that have a modification sequence bigger than specified value. Please, see more https://tools.ietf.org/html/rfc7162
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
folderName | java.lang.String | Folder to retrieve messages. |
modificationSequence | long | Modification sequence |
retrieveRecursively | boolean | Indicates, if messages have to be retrieved recursively. |
messageExtraFields | java.lang.Iterable<java.lang.String> | List of extra parameters for a message wich will be requested. |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginListMessages(IConnection connection, long modificationSequence)
public final System.IAsyncResult beginListMessages(IConnection connection, long modificationSequence)
Begins getting the list of messages in the current folder that have a modification sequence bigger than specified value. Please, see more https://tools.ietf.org/html/rfc7162
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
modificationSequence | long | Modification sequence |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginListMessages(IConnection connection, long modificationSequence, System.AsyncCallback callback)
public final System.IAsyncResult beginListMessages(IConnection connection, long modificationSequence, System.AsyncCallback callback)
Begins getting the list of messages in the current folder that have a modification sequence bigger than specified value. Please, see more https://tools.ietf.org/html/rfc7162
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
modificationSequence | long | Modification sequence |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginListMessages(IConnection connection, long modificationSequence, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginListMessages(IConnection connection, long modificationSequence, System.AsyncCallback callback, Object state)
Begins getting the list of messages in the current folder that have a modification sequence bigger than specified value. Please, see more https://tools.ietf.org/html/rfc7162
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
modificationSequence | long | Modification sequence |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginListMessages(MailQuery query)
public final System.IAsyncResult beginListMessages(MailQuery query)
Begins getting the list of messages asynchronously in the current folder
Parameters:
Parameter | Type | Description |
---|---|---|
query | MailQuery | MailQuery that represents search query. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginListMessages(MailQuery query, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginListMessages(MailQuery query, System.AsyncCallback callback, Object state)
Begins getting the list of messages asynchronously in the current folder
Parameters:
Parameter | Type | Description |
---|---|---|
query | MailQuery | MailQuery that represents search query. |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginListMessages(MailQuery query, int maxNumberOfMessages)
public final System.IAsyncResult beginListMessages(MailQuery query, int maxNumberOfMessages)
Begins getting the list of messages asynchronously in the current folder
Parameters:
Parameter | Type | Description |
---|---|---|
query | MailQuery | MailQuery that represents search query. |
maxNumberOfMessages | int | Maximum number of messages. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginListMessages(MailQuery query, int maxNumberOfMessages, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginListMessages(MailQuery query, int maxNumberOfMessages, System.AsyncCallback callback, Object state)
Begins getting the list of messages asynchronously in the current folder
Parameters:
Parameter | Type | Description |
---|---|---|
query | MailQuery | MailQuery that represents search query. |
maxNumberOfMessages | int | Maximum number of messages. |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginListMessages(System.AsyncCallback callback)
public final System.IAsyncResult beginListMessages(System.AsyncCallback callback)
Begins getting the list of messages asynchronously in the current folder
Parameters:
Parameter | Type | Description |
---|---|---|
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginListMessages(System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginListMessages(System.AsyncCallback callback, Object state)
Begins getting the list of messages asynchronously in the current folder
Parameters:
Parameter | Type | Description |
---|---|---|
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginListMessages(String folderName)
public final System.IAsyncResult beginListMessages(String folderName)
Begins getting the list of messages asynchronously in the current folder
Parameters:
Parameter | Type | Description |
---|---|---|
folderName | java.lang.String | Messages location |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginListMessages(String folderName, MailQuery query)
public final System.IAsyncResult beginListMessages(String folderName, MailQuery query)
Begins getting the list of messages asynchronously in the current folder
Parameters:
Parameter | Type | Description |
---|---|---|
folderName | java.lang.String | Messages location |
query | MailQuery | MailQuery that represents search query. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginListMessages(String folderName, MailQuery query, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginListMessages(String folderName, MailQuery query, System.AsyncCallback callback, Object state)
Begins getting the list of messages asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
folderName | java.lang.String | Messages location |
query | MailQuery | MailQuery that represents search query. |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginListMessages(String folderName, MailQuery query, int maxNumberOfMessages)
public final System.IAsyncResult beginListMessages(String folderName, MailQuery query, int maxNumberOfMessages)
Begins getting the list of messages asynchronously in the current folder
Parameters:
Parameter | Type | Description |
---|---|---|
folderName | java.lang.String | Messages location |
query | MailQuery | MailQuery that represents search query. |
maxNumberOfMessages | int | Maximum number of messages. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginListMessages(String folderName, MailQuery query, int maxNumberOfMessages, System.AsyncCallback callback)
public final System.IAsyncResult beginListMessages(String folderName, MailQuery query, int maxNumberOfMessages, System.AsyncCallback callback)
Begins getting the list of messages asynchronously in the current folder
Parameters:
Parameter | Type | Description |
---|---|---|
folderName | java.lang.String | Messages location |
query | MailQuery | MailQuery that represents search query. |
maxNumberOfMessages | int | Maximum number of messages. |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginListMessages(String folderName, MailQuery query, int maxNumberOfMessages, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginListMessages(String folderName, MailQuery query, int maxNumberOfMessages, System.AsyncCallback callback, Object state)
Begins getting the list of messages asynchronously in the current folder
Parameters:
Parameter | Type | Description |
---|---|---|
folderName | java.lang.String | Messages location |
query | MailQuery | MailQuery that represents search query. |
maxNumberOfMessages | int | Maximum number of messages. |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginListMessages(String folderName, System.AsyncCallback callback)
public final System.IAsyncResult beginListMessages(String folderName, System.AsyncCallback callback)
Begins getting the list of messages asynchronously in the current folder
Parameters:
Parameter | Type | Description |
---|---|---|
folderName | java.lang.String | Folder to retrieve messages. |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginListMessages(String folderName, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginListMessages(String folderName, System.AsyncCallback callback, Object state)
Begins getting the list of messages asynchronously in the current folder
Parameters:
Parameter | Type | Description |
---|---|---|
folderName | java.lang.String | Folder to retrieve messages. |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginListMessages(long modificationSequence)
public final System.IAsyncResult beginListMessages(long modificationSequence)
Begins getting the list of messages in the current folder that have a modification sequence bigger than specified value. Please, see more https://tools.ietf.org/html/rfc7162
Parameters:
Parameter | Type | Description |
---|---|---|
modificationSequence | long | Modification sequence |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginListMessages(long modificationSequence, System.AsyncCallback callback)
public final System.IAsyncResult beginListMessages(long modificationSequence, System.AsyncCallback callback)
Begins getting the list of messages in the current folder that have a modification sequence bigger than specified value. Please, see more https://tools.ietf.org/html/rfc7162
Parameters:
Parameter | Type | Description |
---|---|---|
modificationSequence | long | Modification sequence |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginListMessages(long modificationSequence, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginListMessages(long modificationSequence, System.AsyncCallback callback, Object state)
Begins getting the list of messages in the current folder that have a modification sequence bigger than specified value. Please, see more https://tools.ietf.org/html/rfc7162
Parameters:
Parameter | Type | Description |
---|---|---|
modificationSequence | long | Modification sequence |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginListMessagesByPage(IConnection connection, PageInfo page)
public final System.IAsyncResult beginListMessagesByPage(IConnection connection, PageInfo page)
Begins getting the list of messages asynchronously in the current folder
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
page | PageInfo | Next page to retrieve |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginListMessagesByPage(IConnection connection, PageInfo page, System.AsyncCallback callback)
public final System.IAsyncResult beginListMessagesByPage(IConnection connection, PageInfo page, System.AsyncCallback callback)
Begins getting the list of messages asynchronously in the current folder
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
page | PageInfo | Next page to retrieve |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginListMessagesByPage(IConnection connection, PageInfo page, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginListMessagesByPage(IConnection connection, PageInfo page, System.AsyncCallback callback, Object state)
Begins getting the list of messages asynchronously in the current folder
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
page | PageInfo | Next page to retrieve |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginListMessagesByPage(IConnection connection, int itemsPerPage)
public final System.IAsyncResult beginListMessagesByPage(IConnection connection, int itemsPerPage)
Begins getting the list of messages asynchronously in the current folder
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
itemsPerPage | int | A number of items in page |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginListMessagesByPage(IConnection connection, int itemsPerPage, System.AsyncCallback callback)
public final System.IAsyncResult beginListMessagesByPage(IConnection connection, int itemsPerPage, System.AsyncCallback callback)
Begins getting the list of messages asynchronously in the current folder
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
itemsPerPage | int | A number of items in page |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginListMessagesByPage(IConnection connection, int itemsPerPage, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginListMessagesByPage(IConnection connection, int itemsPerPage, System.AsyncCallback callback, Object state)
Begins getting the list of messages asynchronously in the current folder
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
itemsPerPage | int | A number of items in page |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginListMessagesByPage(IConnection connection, int itemsPerPage, int pageOffset)
public final System.IAsyncResult beginListMessagesByPage(IConnection connection, int itemsPerPage, int pageOffset)
Begins getting the list of messages asynchronously in the current folder
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
itemsPerPage | int | A number of items in page |
pageOffset | int | An offset of next page in view |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginListMessagesByPage(IConnection connection, int itemsPerPage, int pageOffset, System.AsyncCallback callback)
public final System.IAsyncResult beginListMessagesByPage(IConnection connection, int itemsPerPage, int pageOffset, System.AsyncCallback callback)
Begins getting the list of messages asynchronously in the current folder
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
itemsPerPage | int | A number of items in page |
pageOffset | int | An offset of next page in view |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginListMessagesByPage(IConnection connection, int itemsPerPage, int pageOffset, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginListMessagesByPage(IConnection connection, int itemsPerPage, int pageOffset, System.AsyncCallback callback, Object state)
Begins getting the list of messages asynchronously in the current folder
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
itemsPerPage | int | A number of items in page |
pageOffset | int | An offset of next page in view |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginListMessagesByPage(IConnection connection, String folderName, MailQuery query, PageInfo pageInfo)
public final System.IAsyncResult beginListMessagesByPage(IConnection connection, String folderName, MailQuery query, PageInfo pageInfo)
Begins getting the list of messages asynchronously in the current folder
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
folderName | java.lang.String | Messages location |
query | MailQuery | MailQuery that represents search query. |
pageInfo | PageInfo | Next page to retrieve |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginListMessagesByPage(IConnection connection, String folderName, MailQuery query, PageInfo pageInfo, System.AsyncCallback callback)
public final System.IAsyncResult beginListMessagesByPage(IConnection connection, String folderName, MailQuery query, PageInfo pageInfo, System.AsyncCallback callback)
Begins getting the list of messages asynchronously in the current folder
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
folderName | java.lang.String | Messages location |
query | MailQuery | MailQuery that represents search query. |
pageInfo | PageInfo | Next page to retrieve |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginListMessagesByPage(IConnection connection, String folderName, MailQuery query, PageInfo pageInfo, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginListMessagesByPage(IConnection connection, String folderName, MailQuery query, PageInfo pageInfo, System.AsyncCallback callback, Object state)
Begins getting the list of messages asynchronously in the current folder
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
folderName | java.lang.String | Messages location |
query | MailQuery | MailQuery that represents search query. |
pageInfo | PageInfo | Next page to retrieve |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginListMessagesByPage(IConnection connection, String folderName, MailQuery query, int itemsPerPage)
public final System.IAsyncResult beginListMessagesByPage(IConnection connection, String folderName, MailQuery query, int itemsPerPage)
Begins getting the list of messages asynchronously in the current folder
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
folderName | java.lang.String | Messages location |
query | MailQuery | MailQuery that represents search query. |
itemsPerPage | int | A number of items in page |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginListMessagesByPage(IConnection connection, String folderName, MailQuery query, int itemsPerPage, System.AsyncCallback callback)
public final System.IAsyncResult beginListMessagesByPage(IConnection connection, String folderName, MailQuery query, int itemsPerPage, System.AsyncCallback callback)
Begins getting the list of messages asynchronously in the current folder
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
folderName | java.lang.String | Messages location |
query | MailQuery | MailQuery that represents search query. |
itemsPerPage | int | A number of items in page |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginListMessagesByPage(IConnection connection, String folderName, MailQuery query, int itemsPerPage, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginListMessagesByPage(IConnection connection, String folderName, MailQuery query, int itemsPerPage, System.AsyncCallback callback, Object state)
Begins getting the list of messages asynchronously in the current folder
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
folderName | java.lang.String | Messages location |
query | MailQuery | MailQuery that represents search query. |
itemsPerPage | int | A number of items in page |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginListMessagesByPage(MailQuery query, PageInfo pageInfo, PageSettingsAsync settings)
public final System.IAsyncResult beginListMessagesByPage(MailQuery query, PageInfo pageInfo, PageSettingsAsync settings)
Begins getting the list of messages asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
query | MailQuery | MailQuery that represents search query. |
pageInfo | PageInfo | The next page to retrieve. |
settings | PageSettingsAsync | The settings. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginListMessagesByPage(PageInfo page)
public final System.IAsyncResult beginListMessagesByPage(PageInfo page)
Begins getting the list of messages asynchronously in the current folder
Parameters:
Parameter | Type | Description |
---|---|---|
page | PageInfo | Next page to retrieve |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginListMessagesByPage(PageInfo page, System.AsyncCallback callback)
public final System.IAsyncResult beginListMessagesByPage(PageInfo page, System.AsyncCallback callback)
Begins getting the list of messages asynchronously in the current folder
Parameters:
Parameter | Type | Description |
---|---|---|
page | PageInfo | Next page to retrieve |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginListMessagesByPage(PageInfo page, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginListMessagesByPage(PageInfo page, System.AsyncCallback callback, Object state)
Begins getting the list of messages asynchronously in the current folder
Parameters:
Parameter | Type | Description |
---|---|---|
page | PageInfo | Next page to retrieve |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginListMessagesByPage(int itemsPerPage)
public final System.IAsyncResult beginListMessagesByPage(int itemsPerPage)
Begins getting the list of messages asynchronously in the current folder
Parameters:
Parameter | Type | Description |
---|---|---|
itemsPerPage | int | A number of items in page |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginListMessagesByPage(int itemsPerPage, System.AsyncCallback callback)
public final System.IAsyncResult beginListMessagesByPage(int itemsPerPage, System.AsyncCallback callback)
Begins getting the list of messages asynchronously in the current folder
Parameters:
Parameter | Type | Description |
---|---|---|
itemsPerPage | int | A number of items in page |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginListMessagesByPage(int itemsPerPage, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginListMessagesByPage(int itemsPerPage, System.AsyncCallback callback, Object state)
Begins getting the list of messages asynchronously in the current folder
Parameters:
Parameter | Type | Description |
---|---|---|
itemsPerPage | int | A number of items in page |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginListMessagesByPage(int itemsPerPage, int pageOffset)
public final System.IAsyncResult beginListMessagesByPage(int itemsPerPage, int pageOffset)
Begins getting the list of messages asynchronously in the current folder
Parameters:
Parameter | Type | Description |
---|---|---|
itemsPerPage | int | A number of items in page |
pageOffset | int | An offset of next page in view |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginListMessagesByPage(int itemsPerPage, int pageOffset, PageSettingsAsync settings)
public final System.IAsyncResult beginListMessagesByPage(int itemsPerPage, int pageOffset, PageSettingsAsync settings)
Begins getting the list of messages asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
itemsPerPage | int | A number of items in page |
pageOffset | int | An offset of next page in view |
settings | PageSettingsAsync | The settings. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginListMessagesByPage(int itemsPerPage, int pageOffset, System.AsyncCallback callback)
public final System.IAsyncResult beginListMessagesByPage(int itemsPerPage, int pageOffset, System.AsyncCallback callback)
Begins getting the list of messages asynchronously in the current folder
Parameters:
Parameter | Type | Description |
---|---|---|
itemsPerPage | int | A number of items in page |
pageOffset | int | An offset of next page in view |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginListMessagesByPage(int itemsPerPage, int pageOffset, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginListMessagesByPage(int itemsPerPage, int pageOffset, System.AsyncCallback callback, Object state)
Begins getting the list of messages asynchronously in the current folder
Parameters:
Parameter | Type | Description |
---|---|---|
itemsPerPage | int | A number of items in page |
pageOffset | int | An offset of next page in view |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginListMessagesByPage(String folderName, MailQuery query, PageInfo pageInfo)
public final System.IAsyncResult beginListMessagesByPage(String folderName, MailQuery query, PageInfo pageInfo)
Begins getting the list of messages asynchronously in the current folder
Parameters:
Parameter | Type | Description |
---|---|---|
folderName | java.lang.String | Messages location |
query | MailQuery | MailQuery that represents search query. |
pageInfo | PageInfo | Next page to retrieve |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginListMessagesByPage(String folderName, MailQuery query, PageInfo pageInfo, System.AsyncCallback callback)
public final System.IAsyncResult beginListMessagesByPage(String folderName, MailQuery query, PageInfo pageInfo, System.AsyncCallback callback)
Begins getting the list of messages asynchronously in the current folder
Parameters:
Parameter | Type | Description |
---|---|---|
folderName | java.lang.String | Messages location |
query | MailQuery | MailQuery that represents search query. |
pageInfo | PageInfo | Next page to retrieve |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginListMessagesByPage(String folderName, MailQuery query, PageInfo pageInfo, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginListMessagesByPage(String folderName, MailQuery query, PageInfo pageInfo, System.AsyncCallback callback, Object state)
Begins getting the list of messages asynchronously in the current folder
Parameters:
Parameter | Type | Description |
---|---|---|
folderName | java.lang.String | Messages location |
query | MailQuery | MailQuery that represents search query. |
pageInfo | PageInfo | Next page to retrieve |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginListMessagesByPage(String folderName, MailQuery query, int itemsPerPage)
public final System.IAsyncResult beginListMessagesByPage(String folderName, MailQuery query, int itemsPerPage)
Begins getting the list of messages asynchronously in the current folder
Parameters:
Parameter | Type | Description |
---|---|---|
folderName | java.lang.String | Messages location |
query | MailQuery | MailQuery that represents search query. |
itemsPerPage | int | A number of items in page |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginListMessagesByPage(String folderName, MailQuery query, int itemsPerPage, System.AsyncCallback callback)
public final System.IAsyncResult beginListMessagesByPage(String folderName, MailQuery query, int itemsPerPage, System.AsyncCallback callback)
Begins getting the list of messages asynchronously in the current folder
Parameters:
Parameter | Type | Description |
---|---|---|
folderName | java.lang.String | Messages location |
query | MailQuery | MailQuery that represents search query. |
itemsPerPage | int | A number of items in page |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginListMessagesByPage(String folderName, MailQuery query, int itemsPerPage, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginListMessagesByPage(String folderName, MailQuery query, int itemsPerPage, System.AsyncCallback callback, Object state)
Begins getting the list of messages asynchronously in the current folder
Parameters:
Parameter | Type | Description |
---|---|---|
folderName | java.lang.String | Messages location |
query | MailQuery | MailQuery that represents search query. |
itemsPerPage | int | A number of items in page |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginMoveFolder(IConnection connection, String newParentFolder, String folderName)
public final System.IAsyncResult beginMoveFolder(IConnection connection, String newParentFolder, String folderName)
Moves specified folder and its subfolders to new location asynchronously.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
newParentFolder | java.lang.String | New location for moved folder |
folderName | java.lang.String | Folder to move |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginMoveFolder(IConnection connection, String newParentFolder, String folderName, System.AsyncCallback callback)
public final System.IAsyncResult beginMoveFolder(IConnection connection, String newParentFolder, String folderName, System.AsyncCallback callback)
Moves specified folder and its subfolders to new location asynchronously.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
newParentFolder | java.lang.String | New location for moved folder |
folderName | java.lang.String | Folder to move |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginMoveFolder(IConnection connection, String newParentFolder, String folderName, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginMoveFolder(IConnection connection, String newParentFolder, String folderName, System.AsyncCallback callback, Object state)
Moves specified folder and its subfolders to new location asynchronously.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
newParentFolder | java.lang.String | New location for moved folder |
folderName | java.lang.String | Folder to move |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginMoveFolder(String newParentFolder, String folderName)
public final System.IAsyncResult beginMoveFolder(String newParentFolder, String folderName)
Moves specified folder and its subfolders to new location asynchronously.
Parameters:
Parameter | Type | Description |
---|---|---|
newParentFolder | java.lang.String | New location for moved folder |
folderName | java.lang.String | Folder to move |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginMoveFolder(String newParentFolder, String folderName, System.AsyncCallback callback)
public final System.IAsyncResult beginMoveFolder(String newParentFolder, String folderName, System.AsyncCallback callback)
Moves specified folder and its subfolders to new location asynchronously.
Parameters:
Parameter | Type | Description |
---|---|---|
newParentFolder | java.lang.String | New location for moved folder |
folderName | java.lang.String | Folder to move |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginMoveFolder(String newParentFolder, String folderName, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginMoveFolder(String newParentFolder, String folderName, System.AsyncCallback callback, Object state)
Moves specified folder and its subfolders to new location asynchronously.
Parameters:
Parameter | Type | Description |
---|---|---|
newParentFolder | java.lang.String | New location for moved folder |
folderName | java.lang.String | Folder to move |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginMoveMessage(IConnection connection, int sequenceNumber, String folderName)
public final System.IAsyncResult beginMoveMessage(IConnection connection, int sequenceNumber, String folderName)
Begins an asynchronous moving.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceNumber | int | The sequence number of message |
folderName | java.lang.String | Folder name where a message is to be moved |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginMoveMessage(IConnection connection, int sequenceNumber, String folderName, boolean commitDeletions)
public final System.IAsyncResult beginMoveMessage(IConnection connection, int sequenceNumber, String folderName, boolean commitDeletions)
Begins an asynchronous moving.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceNumber | int | The sequence number of message |
folderName | java.lang.String | Folder name where a message is to be moved |
commitDeletions | boolean | Specifies whether deletions should be committed. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginMoveMessage(IConnection connection, int sequenceNumber, String folderName, boolean commitDeletions, System.AsyncCallback callback)
public final System.IAsyncResult beginMoveMessage(IConnection connection, int sequenceNumber, String folderName, boolean commitDeletions, System.AsyncCallback callback)
Begins an asynchronous moving.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceNumber | int | The sequence number of message |
folderName | java.lang.String | Folder name where a message is to be moved |
commitDeletions | boolean | Specifies whether deletions should be committed. |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginMoveMessage(IConnection connection, int sequenceNumber, String folderName, boolean commitDeletions, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginMoveMessage(IConnection connection, int sequenceNumber, String folderName, boolean commitDeletions, System.AsyncCallback callback, Object state)
Begins an asynchronous moving.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceNumber | int | The sequence number of message |
folderName | java.lang.String | Folder name where a message is to be moved |
commitDeletions | boolean | Specifies whether deletions should be committed. |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginMoveMessage(IConnection connection, int sequenceNumber, String folderName, System.AsyncCallback callback)
public final System.IAsyncResult beginMoveMessage(IConnection connection, int sequenceNumber, String folderName, System.AsyncCallback callback)
Begins an asynchronous moving.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceNumber | int | The sequence number of message |
folderName | java.lang.String | Folder name where a message is to be moved |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginMoveMessage(IConnection connection, int sequenceNumber, String folderName, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginMoveMessage(IConnection connection, int sequenceNumber, String folderName, System.AsyncCallback callback, Object state)
Begins an asynchronous moving.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceNumber | int | The sequence number of message |
folderName | java.lang.String | Folder name where a message is to be moved |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginMoveMessage(IConnection connection, String uniqueId, String folderName)
public final System.IAsyncResult beginMoveMessage(IConnection connection, String uniqueId, String folderName)
Begins an asynchronous moving.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uniqueId | java.lang.String | The unique Id of the message |
folderName | java.lang.String | Folder name where a message is to be moved |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginMoveMessage(IConnection connection, String uniqueId, String folderName, boolean commitDeletions)
public final System.IAsyncResult beginMoveMessage(IConnection connection, String uniqueId, String folderName, boolean commitDeletions)
Begins an asynchronous moving.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uniqueId | java.lang.String | The unique Id of the message |
folderName | java.lang.String | Folder name where a message is to be moved |
commitDeletions | boolean | Specifies whether deletions should be committed. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginMoveMessage(IConnection connection, String uniqueId, String folderName, boolean commitDeletions, System.AsyncCallback callback)
public final System.IAsyncResult beginMoveMessage(IConnection connection, String uniqueId, String folderName, boolean commitDeletions, System.AsyncCallback callback)
Begins an asynchronous moving.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uniqueId | java.lang.String | The unique Id of the message |
folderName | java.lang.String | Folder name where a message is to be moved |
commitDeletions | boolean | Specifies whether deletions should be committed. |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginMoveMessage(IConnection connection, String uniqueId, String folderName, boolean commitDeletions, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginMoveMessage(IConnection connection, String uniqueId, String folderName, boolean commitDeletions, System.AsyncCallback callback, Object state)
Begins an asynchronous moving.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uniqueId | java.lang.String | The unique Id of the message |
folderName | java.lang.String | Folder name where a message is to be moved |
commitDeletions | boolean | Specifies whether deletions should be committed. |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginMoveMessage(IConnection connection, String uniqueId, String folderName, System.AsyncCallback callback)
public final System.IAsyncResult beginMoveMessage(IConnection connection, String uniqueId, String folderName, System.AsyncCallback callback)
Begins an asynchronous moving.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uniqueId | java.lang.String | The unique Id of the message |
folderName | java.lang.String | Folder name where a message is to be moved |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginMoveMessage(IConnection connection, String uniqueId, String folderName, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginMoveMessage(IConnection connection, String uniqueId, String folderName, System.AsyncCallback callback, Object state)
Begins an asynchronous moving.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uniqueId | java.lang.String | The unique Id of the message |
folderName | java.lang.String | Folder name where a message is to be moved |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginMoveMessage(int sequenceNumber, String folderName)
public final System.IAsyncResult beginMoveMessage(int sequenceNumber, String folderName)
Begins an asynchronous moving.
Parameters:
Parameter | Type | Description |
---|---|---|
sequenceNumber | int | The sequence number of message |
folderName | java.lang.String | Folder name where a message is to be moved |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginMoveMessage(int sequenceNumber, String folderName, boolean commitDeletions)
public final System.IAsyncResult beginMoveMessage(int sequenceNumber, String folderName, boolean commitDeletions)
Begins an asynchronous moving.
Parameters:
Parameter | Type | Description |
---|---|---|
sequenceNumber | int | The sequence number of message |
folderName | java.lang.String | Folder name where a message is to be moved |
commitDeletions | boolean | Specifies whether deletions should be committed. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginMoveMessage(int sequenceNumber, String folderName, boolean commitDeletions, System.AsyncCallback callback)
public final System.IAsyncResult beginMoveMessage(int sequenceNumber, String folderName, boolean commitDeletions, System.AsyncCallback callback)
Begins an asynchronous moving.
Parameters:
Parameter | Type | Description |
---|---|---|
sequenceNumber | int | The sequence number of message |
folderName | java.lang.String | Folder name where a message is to be moved |
commitDeletions | boolean | Specifies whether deletions should be committed. |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginMoveMessage(int sequenceNumber, String folderName, boolean commitDeletions, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginMoveMessage(int sequenceNumber, String folderName, boolean commitDeletions, System.AsyncCallback callback, Object state)
Begins an asynchronous moving.
Parameters:
Parameter | Type | Description |
---|---|---|
sequenceNumber | int | The sequence number of message |
folderName | java.lang.String | Folder name where a message is to be moved |
commitDeletions | boolean | Specifies whether deletions should be committed. |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginMoveMessage(int sequenceNumber, String folderName, System.AsyncCallback callback)
public final System.IAsyncResult beginMoveMessage(int sequenceNumber, String folderName, System.AsyncCallback callback)
Begins an asynchronous moving.
Parameters:
Parameter | Type | Description |
---|---|---|
sequenceNumber | int | The sequence number of message |
folderName | java.lang.String | Folder name where a message is to be moved |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginMoveMessage(int sequenceNumber, String folderName, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginMoveMessage(int sequenceNumber, String folderName, System.AsyncCallback callback, Object state)
Begins an asynchronous moving.
Parameters:
Parameter | Type | Description |
---|---|---|
sequenceNumber | int | The sequence number of message |
folderName | java.lang.String | Folder name where a message is to be moved |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginMoveMessage(String uniqueId, String folderName)
public final System.IAsyncResult beginMoveMessage(String uniqueId, String folderName)
Begins an asynchronous moving.
Parameters:
Parameter | Type | Description |
---|---|---|
uniqueId | java.lang.String | The unique Id of the message |
folderName | java.lang.String | Folder name where a message is to be moved |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginMoveMessage(String uniqueId, String folderName, boolean commitDeletions)
public final System.IAsyncResult beginMoveMessage(String uniqueId, String folderName, boolean commitDeletions)
Begins an asynchronous moving.
Parameters:
Parameter | Type | Description |
---|---|---|
uniqueId | java.lang.String | The unique Id of the message |
folderName | java.lang.String | Folder name where a message is to be moved |
commitDeletions | boolean | Specifies whether deletions should be committed. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginMoveMessage(String uniqueId, String folderName, boolean commitDeletions, System.AsyncCallback callback)
public final System.IAsyncResult beginMoveMessage(String uniqueId, String folderName, boolean commitDeletions, System.AsyncCallback callback)
Begins an asynchronous moving.
Parameters:
Parameter | Type | Description |
---|---|---|
uniqueId | java.lang.String | The unique Id of the message |
folderName | java.lang.String | Folder name where a message is to be moved |
commitDeletions | boolean | Specifies whether deletions should be committed. |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginMoveMessage(String uniqueId, String folderName, boolean commitDeletions, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginMoveMessage(String uniqueId, String folderName, boolean commitDeletions, System.AsyncCallback callback, Object state)
Begins an asynchronous moving.
Parameters:
Parameter | Type | Description |
---|---|---|
uniqueId | java.lang.String | The unique Id of the message |
folderName | java.lang.String | Folder name where a message is to be moved |
commitDeletions | boolean | Specifies whether deletions should be committed. |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginMoveMessage(String uniqueId, String folderName, System.AsyncCallback callback)
public final System.IAsyncResult beginMoveMessage(String uniqueId, String folderName, System.AsyncCallback callback)
Begins an asynchronous moving.
Parameters:
Parameter | Type | Description |
---|---|---|
uniqueId | java.lang.String | The unique Id of the message |
folderName | java.lang.String | Folder name where a message is to be moved |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginMoveMessage(String uniqueId, String folderName, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginMoveMessage(String uniqueId, String folderName, System.AsyncCallback callback, Object state)
Begins an asynchronous moving.
Parameters:
Parameter | Type | Description |
---|---|---|
uniqueId | java.lang.String | The unique Id of the message |
folderName | java.lang.String | Folder name where a message is to be moved |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginMoveMessages(IConnection connection, int startSequence, int endSequence, String folderName)
public final System.IAsyncResult beginMoveMessages(IConnection connection, int startSequence, int endSequence, String folderName)
Begins an asynchronous moving.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
startSequence | int | The starting sequence number of a message list |
endSequence | int | The ending sequence number of a message list |
folderName | java.lang.String | Folder name where a message is to be moved |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginMoveMessages(IConnection connection, int startSequence, int endSequence, String folderName, boolean commitDeletions)
public final System.IAsyncResult beginMoveMessages(IConnection connection, int startSequence, int endSequence, String folderName, boolean commitDeletions)
Begins an asynchronous moving.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
startSequence | int | The starting sequence number of a message list |
endSequence | int | The ending sequence number of a message list |
folderName | java.lang.String | Folder name where a message is to be moved |
commitDeletions | boolean | Specifies whether deletions should be committed. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginMoveMessages(IConnection connection, int startSequence, int endSequence, String folderName, boolean commitDeletions, System.AsyncCallback callback)
public final System.IAsyncResult beginMoveMessages(IConnection connection, int startSequence, int endSequence, String folderName, boolean commitDeletions, System.AsyncCallback callback)
Begins an asynchronous moving.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
startSequence | int | The starting sequence number of a message list |
endSequence | int | The ending sequence number of a message list |
folderName | java.lang.String | Folder name where a message is to be moved |
commitDeletions | boolean | Specifies whether deletions should be committed. |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginMoveMessages(IConnection connection, int startSequence, int endSequence, String folderName, boolean commitDeletions, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginMoveMessages(IConnection connection, int startSequence, int endSequence, String folderName, boolean commitDeletions, System.AsyncCallback callback, Object state)
Begins an asynchronous moving.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
startSequence | int | The starting sequence number of a message list |
endSequence | int | The ending sequence number of a message list |
folderName | java.lang.String | Folder name where a message is to be moved |
commitDeletions | boolean | Specifies whether deletions should be committed. |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginMoveMessages(IConnection connection, int startSequence, int endSequence, String folderName, System.AsyncCallback callback)
public final System.IAsyncResult beginMoveMessages(IConnection connection, int startSequence, int endSequence, String folderName, System.AsyncCallback callback)
Begins an asynchronous moving.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
startSequence | int | The starting sequence number of a message list |
endSequence | int | The ending sequence number of a message list |
folderName | java.lang.String | Folder name where a message is to be moved |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginMoveMessages(IConnection connection, int startSequence, int endSequence, String folderName, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginMoveMessages(IConnection connection, int startSequence, int endSequence, String folderName, System.AsyncCallback callback, Object state)
Begins an asynchronous moving.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
startSequence | int | The starting sequence number of a message list |
endSequence | int | The ending sequence number of a message list |
folderName | java.lang.String | Folder name where a message is to be moved |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginMoveMessages(IConnection connection, Iterable messageInfoSet, String folderName)
public final System.IAsyncResult beginMoveMessages(IConnection connection, Iterable<ImapMessageInfo> messageInfoSet, String folderName)
Begins an asynchronous moving.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
messageInfoSet | java.lang.Iterable<com.aspose.email.ImapMessageInfo> | The set of ImapMessageInfo |
folderName | java.lang.String | Folder name where a message is to be moved |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginMoveMessages(IConnection connection, Iterable messageInfoSet, String folderName, boolean commitDeletions)
public final System.IAsyncResult beginMoveMessages(IConnection connection, Iterable<ImapMessageInfo> messageInfoSet, String folderName, boolean commitDeletions)
Begins an asynchronous moving.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
messageInfoSet | java.lang.Iterable<com.aspose.email.ImapMessageInfo> | The set of ImapMessageInfo |
folderName | java.lang.String | Folder name where a message is to be moved |
commitDeletions | boolean | Specifies whether deletions should be committed. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginMoveMessages(IConnection connection, Iterable messageInfoSet, String folderName, boolean commitDeletions, System.AsyncCallback callback)
public final System.IAsyncResult beginMoveMessages(IConnection connection, Iterable<ImapMessageInfo> messageInfoSet, String folderName, boolean commitDeletions, System.AsyncCallback callback)
Begins an asynchronous moving.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
messageInfoSet | java.lang.Iterable<com.aspose.email.ImapMessageInfo> | The set of ImapMessageInfo |
folderName | java.lang.String | Folder name where a message is to be moved |
commitDeletions | boolean | Specifies whether deletions should be committed. |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginMoveMessages(IConnection connection, Iterable messageInfoSet, String folderName, boolean commitDeletions, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginMoveMessages(IConnection connection, Iterable<ImapMessageInfo> messageInfoSet, String folderName, boolean commitDeletions, System.AsyncCallback callback, Object state)
Begins an asynchronous moving.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
messageInfoSet | java.lang.Iterable<com.aspose.email.ImapMessageInfo> | The set of ImapMessageInfo |
folderName | java.lang.String | Folder name where a message is to be moved |
commitDeletions | boolean | Specifies whether deletions should be committed. |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginMoveMessages(IConnection connection, Iterable messageInfoSet, String folderName, System.AsyncCallback callback)
public final System.IAsyncResult beginMoveMessages(IConnection connection, Iterable<ImapMessageInfo> messageInfoSet, String folderName, System.AsyncCallback callback)
Begins an asynchronous moving.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
messageInfoSet | java.lang.Iterable<com.aspose.email.ImapMessageInfo> | The set of ImapMessageInfo |
folderName | java.lang.String | Folder name where a message is to be moved |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginMoveMessages(IConnection connection, Iterable messageInfoSet, String folderName, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginMoveMessages(IConnection connection, Iterable<ImapMessageInfo> messageInfoSet, String folderName, System.AsyncCallback callback, Object state)
Begins an asynchronous moving.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
messageInfoSet | java.lang.Iterable<com.aspose.email.ImapMessageInfo> | The set of ImapMessageInfo |
folderName | java.lang.String | Folder name where a message is to be moved |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginMoveMessages(IConnection connection, String startUid, String endUid, String folderName)
public final System.IAsyncResult beginMoveMessages(IConnection connection, String startUid, String endUid, String folderName)
Begins an asynchronous moving.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
startUid | java.lang.String | The starting UID of a message list |
endUid | java.lang.String | The ending UID of a message list |
folderName | java.lang.String | Folder name where a message is to be moved |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginMoveMessages(IConnection connection, String startUid, String endUid, String folderName, boolean commitDeletions)
public final System.IAsyncResult beginMoveMessages(IConnection connection, String startUid, String endUid, String folderName, boolean commitDeletions)
Begins an asynchronous moving.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
startUid | java.lang.String | The starting UID of a message list |
endUid | java.lang.String | The ending UID of a message list |
folderName | java.lang.String | Folder name where a message is to be moved |
commitDeletions | boolean | Specifies whether deletions should be committed. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginMoveMessages(IConnection connection, String startUid, String endUid, String folderName, boolean commitDeletions, System.AsyncCallback callback)
public final System.IAsyncResult beginMoveMessages(IConnection connection, String startUid, String endUid, String folderName, boolean commitDeletions, System.AsyncCallback callback)
Begins an asynchronous moving.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
startUid | java.lang.String | The starting UID of a message list |
endUid | java.lang.String | The ending UID of a message list |
folderName | java.lang.String | Folder name where a message is to be moved |
commitDeletions | boolean | Specifies whether deletions should be committed. |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginMoveMessages(IConnection connection, String startUid, String endUid, String folderName, boolean commitDeletions, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginMoveMessages(IConnection connection, String startUid, String endUid, String folderName, boolean commitDeletions, System.AsyncCallback callback, Object state)
Begins an asynchronous moving.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
startUid | java.lang.String | The starting UID of a message list |
endUid | java.lang.String | The ending UID of a message list |
folderName | java.lang.String | Folder name where a message is to be moved |
commitDeletions | boolean | Specifies whether deletions should be committed. |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginMoveMessages(IConnection connection, String startUid, String endUid, String folderName, System.AsyncCallback callback)
public final System.IAsyncResult beginMoveMessages(IConnection connection, String startUid, String endUid, String folderName, System.AsyncCallback callback)
Begins an asynchronous moving.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
startUid | java.lang.String | The starting UID of a message list |
endUid | java.lang.String | The ending UID of a message list |
folderName | java.lang.String | Folder name where a message is to be moved |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginMoveMessages(IConnection connection, String startUid, String endUid, String folderName, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginMoveMessages(IConnection connection, String startUid, String endUid, String folderName, System.AsyncCallback callback, Object state)
Begins an asynchronous moving.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
startUid | java.lang.String | The starting UID of a message list |
endUid | java.lang.String | The ending UID of a message list |
folderName | java.lang.String | Folder name where a message is to be moved |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginMoveMessages(int startSequence, int endSequence, String folderName)
public final System.IAsyncResult beginMoveMessages(int startSequence, int endSequence, String folderName)
Begins an asynchronous moving.
Parameters:
Parameter | Type | Description |
---|---|---|
startSequence | int | The starting sequence number of a message list |
endSequence | int | The ending sequence number of a message list |
folderName | java.lang.String | Folder name where a message is to be moved |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginMoveMessages(int startSequence, int endSequence, String folderName, boolean commitDeletions)
public final System.IAsyncResult beginMoveMessages(int startSequence, int endSequence, String folderName, boolean commitDeletions)
Begins an asynchronous moving.
Parameters:
Parameter | Type | Description |
---|---|---|
startSequence | int | The starting sequence number of a message list |
endSequence | int | The ending sequence number of a message list |
folderName | java.lang.String | Folder name where a message is to be moved |
commitDeletions | boolean | Specifies whether deletions should be committed. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginMoveMessages(int startSequence, int endSequence, String folderName, boolean commitDeletions, System.AsyncCallback callback)
public final System.IAsyncResult beginMoveMessages(int startSequence, int endSequence, String folderName, boolean commitDeletions, System.AsyncCallback callback)
Begins an asynchronous moving.
Parameters:
Parameter | Type | Description |
---|---|---|
startSequence | int | The starting sequence number of a message list |
endSequence | int | The ending sequence number of a message list |
folderName | java.lang.String | Folder name where a message is to be moved |
commitDeletions | boolean | Specifies whether deletions should be committed. |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginMoveMessages(int startSequence, int endSequence, String folderName, boolean commitDeletions, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginMoveMessages(int startSequence, int endSequence, String folderName, boolean commitDeletions, System.AsyncCallback callback, Object state)
Begins an asynchronous moving.
Parameters:
Parameter | Type | Description |
---|---|---|
startSequence | int | The starting sequence number of a message list |
endSequence | int | The ending sequence number of a message list |
folderName | java.lang.String | Folder name where a message is to be moved |
commitDeletions | boolean | Specifies whether deletions should be committed. |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginMoveMessages(int startSequence, int endSequence, String folderName, System.AsyncCallback callback)
public final System.IAsyncResult beginMoveMessages(int startSequence, int endSequence, String folderName, System.AsyncCallback callback)
Begins an asynchronous moving.
Parameters:
Parameter | Type | Description |
---|---|---|
startSequence | int | The starting sequence number of a message list |
endSequence | int | The ending sequence number of a message list |
folderName | java.lang.String | Folder name where a message is to be moved |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginMoveMessages(int startSequence, int endSequence, String folderName, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginMoveMessages(int startSequence, int endSequence, String folderName, System.AsyncCallback callback, Object state)
Begins an asynchronous moving.
Parameters:
Parameter | Type | Description |
---|---|---|
startSequence | int | The starting sequence number of a message list |
endSequence | int | The ending sequence number of a message list |
folderName | java.lang.String | Folder name where a message is to be moved |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginMoveMessages(Iterable messageInfoSet, String folderName)
public final System.IAsyncResult beginMoveMessages(Iterable<ImapMessageInfo> messageInfoSet, String folderName)
Begins an asynchronous moving.
Parameters:
Parameter | Type | Description |
---|---|---|
messageInfoSet | java.lang.Iterable<com.aspose.email.ImapMessageInfo> | The set of ImapMessageInfo |
folderName | java.lang.String | Folder name where a message is to be moved |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginMoveMessages(Iterable messageInfoSet, String folderName, boolean commitDeletions)
public final System.IAsyncResult beginMoveMessages(Iterable<ImapMessageInfo> messageInfoSet, String folderName, boolean commitDeletions)
Begins an asynchronous moving.
Parameters:
Parameter | Type | Description |
---|---|---|
messageInfoSet | java.lang.Iterable<com.aspose.email.ImapMessageInfo> | The set of ImapMessageInfo |
folderName | java.lang.String | Folder name where a message is to be moved |
commitDeletions | boolean | Specifies whether deletions should be committed. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginMoveMessages(Iterable messageInfoSet, String folderName, boolean commitDeletions, System.AsyncCallback callback)
public final System.IAsyncResult beginMoveMessages(Iterable<ImapMessageInfo> messageInfoSet, String folderName, boolean commitDeletions, System.AsyncCallback callback)
Begins an asynchronous moving.
Parameters:
Parameter | Type | Description |
---|---|---|
messageInfoSet | java.lang.Iterable<com.aspose.email.ImapMessageInfo> | The set of ImapMessageInfo |
folderName | java.lang.String | Folder name where a message is to be moved |
commitDeletions | boolean | Specifies whether deletions should be committed. |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginMoveMessages(Iterable messageInfoSet, String folderName, boolean commitDeletions, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginMoveMessages(Iterable<ImapMessageInfo> messageInfoSet, String folderName, boolean commitDeletions, System.AsyncCallback callback, Object state)
Begins an asynchronous moving.
Parameters:
Parameter | Type | Description |
---|---|---|
messageInfoSet | java.lang.Iterable<com.aspose.email.ImapMessageInfo> | The set of ImapMessageInfo |
folderName | java.lang.String | Folder name where a message is to be moved |
commitDeletions | boolean | Specifies whether deletions should be committed. |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginMoveMessages(Iterable messageInfoSet, String folderName, System.AsyncCallback callback)
public final System.IAsyncResult beginMoveMessages(Iterable<ImapMessageInfo> messageInfoSet, String folderName, System.AsyncCallback callback)
Begins an asynchronous moving.
Parameters:
Parameter | Type | Description |
---|---|---|
messageInfoSet | java.lang.Iterable<com.aspose.email.ImapMessageInfo> | The set of ImapMessageInfo |
folderName | java.lang.String | Folder name where a message is to be moved |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginMoveMessages(Iterable messageInfoSet, String folderName, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginMoveMessages(Iterable<ImapMessageInfo> messageInfoSet, String folderName, System.AsyncCallback callback, Object state)
Begins an asynchronous moving.
Parameters:
Parameter | Type | Description |
---|---|---|
messageInfoSet | java.lang.Iterable<com.aspose.email.ImapMessageInfo> | The set of ImapMessageInfo |
folderName | java.lang.String | Folder name where a message is to be moved |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginMoveMessages(String startUid, String endUid, String folderName)
public final System.IAsyncResult beginMoveMessages(String startUid, String endUid, String folderName)
Begins an asynchronous moving.
Parameters:
Parameter | Type | Description |
---|---|---|
startUid | java.lang.String | The starting UID of a message list |
endUid | java.lang.String | The ending UID of a message list |
folderName | java.lang.String | Folder name where a message is to be moved |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginMoveMessages(String startUid, String endUid, String folderName, boolean commitDeletions)
public final System.IAsyncResult beginMoveMessages(String startUid, String endUid, String folderName, boolean commitDeletions)
Begins an asynchronous moving.
Parameters:
Parameter | Type | Description |
---|---|---|
startUid | java.lang.String | The starting UID of a message list |
endUid | java.lang.String | The ending UID of a message list |
folderName | java.lang.String | Folder name where a message is to be moved |
commitDeletions | boolean | Specifies whether deletions should be committed. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginMoveMessages(String startUid, String endUid, String folderName, boolean commitDeletions, System.AsyncCallback callback)
public final System.IAsyncResult beginMoveMessages(String startUid, String endUid, String folderName, boolean commitDeletions, System.AsyncCallback callback)
Begins an asynchronous moving.
Parameters:
Parameter | Type | Description |
---|---|---|
startUid | java.lang.String | The starting UID of a message list |
endUid | java.lang.String | The ending UID of a message list |
folderName | java.lang.String | Folder name where a message is to be moved |
commitDeletions | boolean | Specifies whether deletions should be committed. |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginMoveMessages(String startUid, String endUid, String folderName, boolean commitDeletions, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginMoveMessages(String startUid, String endUid, String folderName, boolean commitDeletions, System.AsyncCallback callback, Object state)
Begins an asynchronous moving.
Parameters:
Parameter | Type | Description |
---|---|---|
startUid | java.lang.String | The starting UID of a message list |
endUid | java.lang.String | The ending UID of a message list |
folderName | java.lang.String | Folder name where a message is to be moved |
commitDeletions | boolean | Specifies whether deletions should be committed. |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginMoveMessages(String startUid, String endUid, String folderName, System.AsyncCallback callback)
public final System.IAsyncResult beginMoveMessages(String startUid, String endUid, String folderName, System.AsyncCallback callback)
Begins an asynchronous moving.
Parameters:
Parameter | Type | Description |
---|---|---|
startUid | java.lang.String | The starting UID of a message list |
endUid | java.lang.String | The ending UID of a message list |
folderName | java.lang.String | Folder name where a message is to be moved |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginMoveMessages(String startUid, String endUid, String folderName, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginMoveMessages(String startUid, String endUid, String folderName, System.AsyncCallback callback, Object state)
Begins an asynchronous moving.
Parameters:
Parameter | Type | Description |
---|---|---|
startUid | java.lang.String | The starting UID of a message list |
endUid | java.lang.String | The ending UID of a message list |
folderName | java.lang.String | Folder name where a message is to be moved |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginMoveMessagesBySequences(IConnection connection, Iterable sequenceSet, String folderName)
public final System.IAsyncResult beginMoveMessagesBySequences(IConnection connection, Iterable<Integer> sequenceSet, String folderName)
Begins an asynchronous moving.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceSet | java.lang.Iterable<java.lang.Integer> | The set of sequence numbers for messages |
folderName | java.lang.String | Folder name where a message is to be moved |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginMoveMessagesBySequences(IConnection connection, Iterable sequenceSet, String folderName, boolean commitDeletions)
public final System.IAsyncResult beginMoveMessagesBySequences(IConnection connection, Iterable<Integer> sequenceSet, String folderName, boolean commitDeletions)
Begins an asynchronous moving.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceSet | java.lang.Iterable<java.lang.Integer> | The set of sequence numbers for messages |
folderName | java.lang.String | Folder name where a message is to be moved |
commitDeletions | boolean | Specifies whether deletions should be committed. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginMoveMessagesBySequences(IConnection connection, Iterable sequenceSet, String folderName, boolean commitDeletions, System.AsyncCallback callback)
public final System.IAsyncResult beginMoveMessagesBySequences(IConnection connection, Iterable<Integer> sequenceSet, String folderName, boolean commitDeletions, System.AsyncCallback callback)
Begins an asynchronous moving.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceSet | java.lang.Iterable<java.lang.Integer> | The set of sequence numbers for messages |
folderName | java.lang.String | Folder name where a message is to be moved |
commitDeletions | boolean | Specifies whether deletions should be committed. |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginMoveMessagesBySequences(IConnection connection, Iterable sequenceSet, String folderName, boolean commitDeletions, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginMoveMessagesBySequences(IConnection connection, Iterable<Integer> sequenceSet, String folderName, boolean commitDeletions, System.AsyncCallback callback, Object state)
Begins an asynchronous moving.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceSet | java.lang.Iterable<java.lang.Integer> | The set of sequence numbers for messages |
folderName | java.lang.String | Folder name where a message is to be moved |
commitDeletions | boolean | Specifies whether deletions should be committed. |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginMoveMessagesBySequences(IConnection connection, Iterable sequenceSet, String folderName, System.AsyncCallback callback)
public final System.IAsyncResult beginMoveMessagesBySequences(IConnection connection, Iterable<Integer> sequenceSet, String folderName, System.AsyncCallback callback)
Begins an asynchronous moving.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceSet | java.lang.Iterable<java.lang.Integer> | The set of sequence numbers for messages |
folderName | java.lang.String | Folder name where a message is to be moved |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginMoveMessagesBySequences(IConnection connection, Iterable sequenceSet, String folderName, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginMoveMessagesBySequences(IConnection connection, Iterable<Integer> sequenceSet, String folderName, System.AsyncCallback callback, Object state)
Begins an asynchronous moving.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceSet | java.lang.Iterable<java.lang.Integer> | The set of sequence numbers for messages |
folderName | java.lang.String | Folder name where a message is to be moved |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginMoveMessagesBySequences(Iterable sequenceSet, String folderName)
public final System.IAsyncResult beginMoveMessagesBySequences(Iterable<Integer> sequenceSet, String folderName)
Begins an asynchronous moving.
Parameters:
Parameter | Type | Description |
---|---|---|
sequenceSet | java.lang.Iterable<java.lang.Integer> | The set of sequence numbers for messages |
folderName | java.lang.String | Folder name where a message is to be moved |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginMoveMessagesBySequences(Iterable sequenceSet, String folderName, boolean commitDeletions)
public final System.IAsyncResult beginMoveMessagesBySequences(Iterable<Integer> sequenceSet, String folderName, boolean commitDeletions)
Begins an asynchronous moving.
Parameters:
Parameter | Type | Description |
---|---|---|
sequenceSet | java.lang.Iterable<java.lang.Integer> | The set of sequence numbers for messages |
folderName | java.lang.String | Folder name where a message is to be moved |
commitDeletions | boolean | Specifies whether deletions should be committed. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginMoveMessagesBySequences(Iterable sequenceSet, String folderName, boolean commitDeletions, System.AsyncCallback callback)
public final System.IAsyncResult beginMoveMessagesBySequences(Iterable<Integer> sequenceSet, String folderName, boolean commitDeletions, System.AsyncCallback callback)
Begins an asynchronous moving.
Parameters:
Parameter | Type | Description |
---|---|---|
sequenceSet | java.lang.Iterable<java.lang.Integer> | The set of sequence numbers for messages |
folderName | java.lang.String | Folder name where a message is to be moved |
commitDeletions | boolean | Specifies whether deletions should be committed. |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginMoveMessagesBySequences(Iterable sequenceSet, String folderName, boolean commitDeletions, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginMoveMessagesBySequences(Iterable<Integer> sequenceSet, String folderName, boolean commitDeletions, System.AsyncCallback callback, Object state)
Begins an asynchronous moving.
Parameters:
Parameter | Type | Description |
---|---|---|
sequenceSet | java.lang.Iterable<java.lang.Integer> | The set of sequence numbers for messages |
folderName | java.lang.String | Folder name where a message is to be moved |
commitDeletions | boolean | Specifies whether deletions should be committed. |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginMoveMessagesBySequences(Iterable sequenceSet, String folderName, System.AsyncCallback callback)
public final System.IAsyncResult beginMoveMessagesBySequences(Iterable<Integer> sequenceSet, String folderName, System.AsyncCallback callback)
Begins an asynchronous moving.
Parameters:
Parameter | Type | Description |
---|---|---|
sequenceSet | java.lang.Iterable<java.lang.Integer> | The set of sequence numbers for messages |
folderName | java.lang.String | Folder name where a message is to be moved |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginMoveMessagesBySequences(Iterable sequenceSet, String folderName, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginMoveMessagesBySequences(Iterable<Integer> sequenceSet, String folderName, System.AsyncCallback callback, Object state)
Begins an asynchronous moving.
Parameters:
Parameter | Type | Description |
---|---|---|
sequenceSet | java.lang.Iterable<java.lang.Integer> | The set of sequence numbers for messages |
folderName | java.lang.String | Folder name where a message is to be moved |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginMoveMessagesByUids(IConnection connection, Iterable uidSet, String folderName)
public final System.IAsyncResult beginMoveMessagesByUids(IConnection connection, Iterable<String> uidSet, String folderName)
Begins an asynchronous moving.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uidSet | java.lang.Iterable<java.lang.String> | The set of UID for messages |
folderName | java.lang.String | Folder name where a message is to be moved |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginMoveMessagesByUids(IConnection connection, Iterable uidSet, String folderName, boolean commitDeletions)
public final System.IAsyncResult beginMoveMessagesByUids(IConnection connection, Iterable<String> uidSet, String folderName, boolean commitDeletions)
Begins an asynchronous moving.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uidSet | java.lang.Iterable<java.lang.String> | The set of UID for messages |
folderName | java.lang.String | Folder name where a message is to be moved |
commitDeletions | boolean | Specifies whether deletions should be committed. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginMoveMessagesByUids(IConnection connection, Iterable uidSet, String folderName, boolean commitDeletions, System.AsyncCallback callback)
public final System.IAsyncResult beginMoveMessagesByUids(IConnection connection, Iterable<String> uidSet, String folderName, boolean commitDeletions, System.AsyncCallback callback)
Begins an asynchronous moving.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uidSet | java.lang.Iterable<java.lang.String> | The set of UID for messages |
folderName | java.lang.String | Folder name where a message is to be moved |
commitDeletions | boolean | Specifies whether deletions should be committed. |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginMoveMessagesByUids(IConnection connection, Iterable uidSet, String folderName, boolean commitDeletions, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginMoveMessagesByUids(IConnection connection, Iterable<String> uidSet, String folderName, boolean commitDeletions, System.AsyncCallback callback, Object state)
Begins an asynchronous moving.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uidSet | java.lang.Iterable<java.lang.String> | The set of UID for messages |
folderName | java.lang.String | Folder name where a message is to be moved |
commitDeletions | boolean | Specifies whether deletions should be committed. |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginMoveMessagesByUids(IConnection connection, Iterable uidSet, String folderName, System.AsyncCallback callback)
public final System.IAsyncResult beginMoveMessagesByUids(IConnection connection, Iterable<String> uidSet, String folderName, System.AsyncCallback callback)
Begins an asynchronous moving.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uidSet | java.lang.Iterable<java.lang.String> | The set of UID for messages |
folderName | java.lang.String | Folder name where a message is to be moved |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginMoveMessagesByUids(IConnection connection, Iterable uidSet, String folderName, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginMoveMessagesByUids(IConnection connection, Iterable<String> uidSet, String folderName, System.AsyncCallback callback, Object state)
Begins an asynchronous moving.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uidSet | java.lang.Iterable<java.lang.String> | The set of UID for messages |
folderName | java.lang.String | Folder name where a message is to be moved |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginMoveMessagesByUids(Iterable uidSet, String folderName)
public final System.IAsyncResult beginMoveMessagesByUids(Iterable<String> uidSet, String folderName)
Begins an asynchronous moving.
Parameters:
Parameter | Type | Description |
---|---|---|
uidSet | java.lang.Iterable<java.lang.String> | The set of UID for messages |
folderName | java.lang.String | Folder name where a message is to be moved |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginMoveMessagesByUids(Iterable uidSet, String folderName, boolean commitDeletions)
public final System.IAsyncResult beginMoveMessagesByUids(Iterable<String> uidSet, String folderName, boolean commitDeletions)
Begins an asynchronous moving.
Parameters:
Parameter | Type | Description |
---|---|---|
uidSet | java.lang.Iterable<java.lang.String> | The set of UID for messages |
folderName | java.lang.String | Folder name where a message is to be moved |
commitDeletions | boolean | Specifies whether deletions should be committed. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginMoveMessagesByUids(Iterable uidSet, String folderName, boolean commitDeletions, System.AsyncCallback callback)
public final System.IAsyncResult beginMoveMessagesByUids(Iterable<String> uidSet, String folderName, boolean commitDeletions, System.AsyncCallback callback)
Begins an asynchronous moving.
Parameters:
Parameter | Type | Description |
---|---|---|
uidSet | java.lang.Iterable<java.lang.String> | The set of UID for messages |
folderName | java.lang.String | Folder name where a message is to be moved |
commitDeletions | boolean | Specifies whether deletions should be committed. |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginMoveMessagesByUids(Iterable uidSet, String folderName, boolean commitDeletions, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginMoveMessagesByUids(Iterable<String> uidSet, String folderName, boolean commitDeletions, System.AsyncCallback callback, Object state)
Begins an asynchronous moving.
Parameters:
Parameter | Type | Description |
---|---|---|
uidSet | java.lang.Iterable<java.lang.String> | The set of UID for messages |
folderName | java.lang.String | Folder name where a message is to be moved |
commitDeletions | boolean | Specifies whether deletions should be committed. |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginMoveMessagesByUids(Iterable uidSet, String folderName, System.AsyncCallback callback)
public final System.IAsyncResult beginMoveMessagesByUids(Iterable<String> uidSet, String folderName, System.AsyncCallback callback)
Begins an asynchronous moving.
Parameters:
Parameter | Type | Description |
---|---|---|
uidSet | java.lang.Iterable<java.lang.String> | The set of UID for messages |
folderName | java.lang.String | Folder name where a message is to be moved |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginMoveMessagesByUids(Iterable uidSet, String folderName, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginMoveMessagesByUids(Iterable<String> uidSet, String folderName, System.AsyncCallback callback, Object state)
Begins an asynchronous moving.
Parameters:
Parameter | Type | Description |
---|---|---|
uidSet | java.lang.Iterable<java.lang.String> | The set of UID for messages |
folderName | java.lang.String | Folder name where a message is to be moved |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginNoop()
public final System.IAsyncResult beginNoop()
Begins to execute ‘No operation’ command
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginNoop(IConnection connection)
public final System.IAsyncResult beginNoop(IConnection connection)
Begins to execute ‘No operation’ command
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginNoop(IConnection connection, System.AsyncCallback callback)
public final System.IAsyncResult beginNoop(IConnection connection, System.AsyncCallback callback)
Begins to execute ‘No operation’ command
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginNoop(IConnection connection, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginNoop(IConnection connection, System.AsyncCallback callback, Object state)
Begins to execute ‘No operation’ command
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginNoop(System.AsyncCallback callback)
public final System.IAsyncResult beginNoop(System.AsyncCallback callback)
Begins to execute ‘No operation’ command
Parameters:
Parameter | Type | Description |
---|---|---|
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginNoop(System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginNoop(System.AsyncCallback callback, Object state)
Begins to execute ‘No operation’ command
Parameters:
Parameter | Type | Description |
---|---|---|
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginRemoveMessageFlags(IConnection connection, int sequenceNumber, ImapMessageFlags flags)
public final System.IAsyncResult beginRemoveMessageFlags(IConnection connection, int sequenceNumber, ImapMessageFlags flags)
Removes the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceNumber | int | The sequence number of message |
flags | ImapMessageFlags | The flags to be added |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginRemoveMessageFlags(IConnection connection, int sequenceNumber, ImapMessageFlags flags, System.AsyncCallback callback)
public final System.IAsyncResult beginRemoveMessageFlags(IConnection connection, int sequenceNumber, ImapMessageFlags flags, System.AsyncCallback callback)
Removes the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceNumber | int | The sequence number of message |
flags | ImapMessageFlags | The flags to be added |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginRemoveMessageFlags(IConnection connection, int sequenceNumber, ImapMessageFlags flags, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginRemoveMessageFlags(IConnection connection, int sequenceNumber, ImapMessageFlags flags, System.AsyncCallback callback, Object state)
Removes the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceNumber | int | The sequence number of message |
flags | ImapMessageFlags | The flags to be added |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginRemoveMessageFlags(IConnection connection, int sequenceNumber, ImapMessageFlags flags, long modificationSequence)
public final System.IAsyncResult beginRemoveMessageFlags(IConnection connection, int sequenceNumber, ImapMessageFlags flags, long modificationSequence)
Removes the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceNumber | int | The sequence number of message |
flags | ImapMessageFlags | The flags to be added |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginRemoveMessageFlags(IConnection connection, int sequenceNumber, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback)
public final System.IAsyncResult beginRemoveMessageFlags(IConnection connection, int sequenceNumber, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback)
Removes the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceNumber | int | The sequence number of message |
flags | ImapMessageFlags | The flags to be added |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginRemoveMessageFlags(IConnection connection, int sequenceNumber, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginRemoveMessageFlags(IConnection connection, int sequenceNumber, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback, Object state)
Removes the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceNumber | int | The sequence number of message |
flags | ImapMessageFlags | The flags to be added |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginRemoveMessageFlags(IConnection connection, int startSequence, int endSequence, ImapMessageFlags flags)
public final System.IAsyncResult beginRemoveMessageFlags(IConnection connection, int startSequence, int endSequence, ImapMessageFlags flags)
Removes the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
startSequence | int | The starting sequence number of a message list |
endSequence | int | The ending sequence number of a message list |
flags | ImapMessageFlags | Flag value |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginRemoveMessageFlags(IConnection connection, int startSequence, int endSequence, ImapMessageFlags flags, System.AsyncCallback callback)
public final System.IAsyncResult beginRemoveMessageFlags(IConnection connection, int startSequence, int endSequence, ImapMessageFlags flags, System.AsyncCallback callback)
Removes the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
startSequence | int | The starting sequence number of a message list |
endSequence | int | The ending sequence number of a message list |
flags | ImapMessageFlags | Flag value |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginRemoveMessageFlags(IConnection connection, int startSequence, int endSequence, ImapMessageFlags flags, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginRemoveMessageFlags(IConnection connection, int startSequence, int endSequence, ImapMessageFlags flags, System.AsyncCallback callback, Object state)
Removes the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
startSequence | int | The starting sequence number of a message list |
endSequence | int | The ending sequence number of a message list |
flags | ImapMessageFlags | Flag value |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginRemoveMessageFlags(IConnection connection, int startSequence, int endSequence, ImapMessageFlags flags, long modificationSequence)
public final System.IAsyncResult beginRemoveMessageFlags(IConnection connection, int startSequence, int endSequence, ImapMessageFlags flags, long modificationSequence)
Removes the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
startSequence | int | The starting sequence number of a message list |
endSequence | int | The ending sequence number of a message list |
flags | ImapMessageFlags | Flag value |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginRemoveMessageFlags(IConnection connection, int startSequence, int endSequence, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback)
public final System.IAsyncResult beginRemoveMessageFlags(IConnection connection, int startSequence, int endSequence, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback)
Removes the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
startSequence | int | The starting sequence number of a message list |
endSequence | int | The ending sequence number of a message list |
flags | ImapMessageFlags | Flag value |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginRemoveMessageFlags(IConnection connection, int startSequence, int endSequence, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginRemoveMessageFlags(IConnection connection, int startSequence, int endSequence, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback, Object state)
Removes the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
startSequence | int | The starting sequence number of a message list |
endSequence | int | The ending sequence number of a message list |
flags | ImapMessageFlags | Flag value |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginRemoveMessageFlags(IConnection connection, Iterable messageInfoSet, ImapMessageFlags flags)
public final System.IAsyncResult beginRemoveMessageFlags(IConnection connection, Iterable<ImapMessageInfo> messageInfoSet, ImapMessageFlags flags)
Removes the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
messageInfoSet | java.lang.Iterable<com.aspose.email.ImapMessageInfo> | The set of ImapMessageInfo |
flags | ImapMessageFlags | Flag value |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginRemoveMessageFlags(IConnection connection, Iterable messageInfoSet, ImapMessageFlags flags, System.AsyncCallback callback)
public final System.IAsyncResult beginRemoveMessageFlags(IConnection connection, Iterable<ImapMessageInfo> messageInfoSet, ImapMessageFlags flags, System.AsyncCallback callback)
Removes the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
messageInfoSet | java.lang.Iterable<com.aspose.email.ImapMessageInfo> | The set of ImapMessageInfo |
flags | ImapMessageFlags | Flag value |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginRemoveMessageFlags(IConnection connection, Iterable messageInfoSet, ImapMessageFlags flags, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginRemoveMessageFlags(IConnection connection, Iterable<ImapMessageInfo> messageInfoSet, ImapMessageFlags flags, System.AsyncCallback callback, Object state)
Removes the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
messageInfoSet | java.lang.Iterable<com.aspose.email.ImapMessageInfo> | The set of ImapMessageInfo |
flags | ImapMessageFlags | Flag value |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginRemoveMessageFlags(IConnection connection, Iterable messageInfoSet, ImapMessageFlags flags, long modificationSequence)
public final System.IAsyncResult beginRemoveMessageFlags(IConnection connection, Iterable<ImapMessageInfo> messageInfoSet, ImapMessageFlags flags, long modificationSequence)
Removes the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
messageInfoSet | java.lang.Iterable<com.aspose.email.ImapMessageInfo> | The set of ImapMessageInfo |
flags | ImapMessageFlags | Flag value |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginRemoveMessageFlags(IConnection connection, Iterable messageInfoSet, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback)
public final System.IAsyncResult beginRemoveMessageFlags(IConnection connection, Iterable<ImapMessageInfo> messageInfoSet, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback)
Removes the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
messageInfoSet | java.lang.Iterable<com.aspose.email.ImapMessageInfo> | The set of ImapMessageInfo |
flags | ImapMessageFlags | Flag value |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginRemoveMessageFlags(IConnection connection, Iterable messageInfoSet, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginRemoveMessageFlags(IConnection connection, Iterable<ImapMessageInfo> messageInfoSet, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback, Object state)
Removes the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
messageInfoSet | java.lang.Iterable<com.aspose.email.ImapMessageInfo> | The set of ImapMessageInfo |
flags | ImapMessageFlags | Flag value |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginRemoveMessageFlags(IConnection connection, String uniqueId, ImapMessageFlags flags)
public final System.IAsyncResult beginRemoveMessageFlags(IConnection connection, String uniqueId, ImapMessageFlags flags)
Removes the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uniqueId | java.lang.String | Unique identifier of a message |
flags | ImapMessageFlags | The flags to be added |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginRemoveMessageFlags(IConnection connection, String uniqueId, ImapMessageFlags flags, System.AsyncCallback callback)
public final System.IAsyncResult beginRemoveMessageFlags(IConnection connection, String uniqueId, ImapMessageFlags flags, System.AsyncCallback callback)
Removes the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uniqueId | java.lang.String | Unique identifier of a message |
flags | ImapMessageFlags | The flags to be added |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginRemoveMessageFlags(IConnection connection, String uniqueId, ImapMessageFlags flags, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginRemoveMessageFlags(IConnection connection, String uniqueId, ImapMessageFlags flags, System.AsyncCallback callback, Object state)
Removes the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uniqueId | java.lang.String | Unique identifier of a message |
flags | ImapMessageFlags | The flags to be added |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginRemoveMessageFlags(IConnection connection, String uniqueId, ImapMessageFlags flags, long modificationSequence)
public final System.IAsyncResult beginRemoveMessageFlags(IConnection connection, String uniqueId, ImapMessageFlags flags, long modificationSequence)
Removes the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uniqueId | java.lang.String | Unique identifier of a message |
flags | ImapMessageFlags | The flags to be added |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginRemoveMessageFlags(IConnection connection, String uniqueId, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback)
public final System.IAsyncResult beginRemoveMessageFlags(IConnection connection, String uniqueId, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback)
Removes the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uniqueId | java.lang.String | Unique identifier of a message |
flags | ImapMessageFlags | The flags to be added |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginRemoveMessageFlags(IConnection connection, String uniqueId, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginRemoveMessageFlags(IConnection connection, String uniqueId, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback, Object state)
Removes the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uniqueId | java.lang.String | Unique identifier of a message |
flags | ImapMessageFlags | The flags to be added |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginRemoveMessageFlags(IConnection connection, String startUid, String endUid, ImapMessageFlags flags)
public final System.IAsyncResult beginRemoveMessageFlags(IConnection connection, String startUid, String endUid, ImapMessageFlags flags)
Removes the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
startUid | java.lang.String | The starting UID of a message list |
endUid | java.lang.String | The ending UID of a message list |
flags | ImapMessageFlags | Flag value |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginRemoveMessageFlags(IConnection connection, String startUid, String endUid, ImapMessageFlags flags, System.AsyncCallback callback)
public final System.IAsyncResult beginRemoveMessageFlags(IConnection connection, String startUid, String endUid, ImapMessageFlags flags, System.AsyncCallback callback)
Removes the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
startUid | java.lang.String | The starting UID of a message list |
endUid | java.lang.String | The ending UID of a message list |
flags | ImapMessageFlags | Flag value |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginRemoveMessageFlags(IConnection connection, String startUid, String endUid, ImapMessageFlags flags, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginRemoveMessageFlags(IConnection connection, String startUid, String endUid, ImapMessageFlags flags, System.AsyncCallback callback, Object state)
Removes the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
startUid | java.lang.String | The starting UID of a message list |
endUid | java.lang.String | The ending UID of a message list |
flags | ImapMessageFlags | Flag value |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginRemoveMessageFlags(IConnection connection, String startUid, String endUid, ImapMessageFlags flags, long modificationSequence)
public final System.IAsyncResult beginRemoveMessageFlags(IConnection connection, String startUid, String endUid, ImapMessageFlags flags, long modificationSequence)
Removes the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
startUid | java.lang.String | The starting UID of a message list |
endUid | java.lang.String | The ending UID of a message list |
flags | ImapMessageFlags | Flag value |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginRemoveMessageFlags(IConnection connection, String startUid, String endUid, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback)
public final System.IAsyncResult beginRemoveMessageFlags(IConnection connection, String startUid, String endUid, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback)
Removes the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
startUid | java.lang.String | The starting UID of a message list |
endUid | java.lang.String | The ending UID of a message list |
flags | ImapMessageFlags | Flag value |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginRemoveMessageFlags(IConnection connection, String startUid, String endUid, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginRemoveMessageFlags(IConnection connection, String startUid, String endUid, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback, Object state)
Removes the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
startUid | java.lang.String | The starting UID of a message list |
endUid | java.lang.String | The ending UID of a message list |
flags | ImapMessageFlags | Flag value |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginRemoveMessageFlags(int sequenceNumber, ImapMessageFlags flags)
public final System.IAsyncResult beginRemoveMessageFlags(int sequenceNumber, ImapMessageFlags flags)
Removes the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
sequenceNumber | int | The sequence number of message |
flags | ImapMessageFlags | The flags to be added |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginRemoveMessageFlags(int sequenceNumber, ImapMessageFlags flags, System.AsyncCallback callback)
public final System.IAsyncResult beginRemoveMessageFlags(int sequenceNumber, ImapMessageFlags flags, System.AsyncCallback callback)
Removes the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
sequenceNumber | int | The sequence number of message |
flags | ImapMessageFlags | The flags to be added |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginRemoveMessageFlags(int sequenceNumber, ImapMessageFlags flags, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginRemoveMessageFlags(int sequenceNumber, ImapMessageFlags flags, System.AsyncCallback callback, Object state)
Removes the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
sequenceNumber | int | The sequence number of message |
flags | ImapMessageFlags | The flags to be added |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginRemoveMessageFlags(int sequenceNumber, ImapMessageFlags flags, long modificationSequence)
public final System.IAsyncResult beginRemoveMessageFlags(int sequenceNumber, ImapMessageFlags flags, long modificationSequence)
Removes the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
sequenceNumber | int | The sequence number of message |
flags | ImapMessageFlags | The flags to be added |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginRemoveMessageFlags(int sequenceNumber, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback)
public final System.IAsyncResult beginRemoveMessageFlags(int sequenceNumber, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback)
Removes the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
sequenceNumber | int | The sequence number of message |
flags | ImapMessageFlags | The flags to be added |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginRemoveMessageFlags(int sequenceNumber, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginRemoveMessageFlags(int sequenceNumber, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback, Object state)
Removes the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
sequenceNumber | int | The sequence number of message |
flags | ImapMessageFlags | The flags to be added |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginRemoveMessageFlags(int startSequence, int endSequence, ImapMessageFlags flags)
public final System.IAsyncResult beginRemoveMessageFlags(int startSequence, int endSequence, ImapMessageFlags flags)
Removes the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
startSequence | int | The starting sequence number of a message list |
endSequence | int | The ending sequence number of a message list |
flags | ImapMessageFlags | Flag value |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginRemoveMessageFlags(int startSequence, int endSequence, ImapMessageFlags flags, System.AsyncCallback callback)
public final System.IAsyncResult beginRemoveMessageFlags(int startSequence, int endSequence, ImapMessageFlags flags, System.AsyncCallback callback)
Removes the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
startSequence | int | The starting sequence number of a message list |
endSequence | int | The ending sequence number of a message list |
flags | ImapMessageFlags | Flag value |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginRemoveMessageFlags(int startSequence, int endSequence, ImapMessageFlags flags, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginRemoveMessageFlags(int startSequence, int endSequence, ImapMessageFlags flags, System.AsyncCallback callback, Object state)
Removes the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
startSequence | int | The starting sequence number of a message list |
endSequence | int | The ending sequence number of a message list |
flags | ImapMessageFlags | Flag value |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginRemoveMessageFlags(int startSequence, int endSequence, ImapMessageFlags flags, long modificationSequence)
public final System.IAsyncResult beginRemoveMessageFlags(int startSequence, int endSequence, ImapMessageFlags flags, long modificationSequence)
Removes the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
startSequence | int | The starting sequence number of a message list |
endSequence | int | The ending sequence number of a message list |
flags | ImapMessageFlags | Flag value |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginRemoveMessageFlags(int startSequence, int endSequence, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback)
public final System.IAsyncResult beginRemoveMessageFlags(int startSequence, int endSequence, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback)
Removes the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
startSequence | int | The starting sequence number of a message list |
endSequence | int | The ending sequence number of a message list |
flags | ImapMessageFlags | Flag value |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginRemoveMessageFlags(int startSequence, int endSequence, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginRemoveMessageFlags(int startSequence, int endSequence, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback, Object state)
Removes the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
startSequence | int | The starting sequence number of a message list |
endSequence | int | The ending sequence number of a message list |
flags | ImapMessageFlags | Flag value |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginRemoveMessageFlags(Iterable messageInfoSet, ImapMessageFlags flags)
public final System.IAsyncResult beginRemoveMessageFlags(Iterable<ImapMessageInfo> messageInfoSet, ImapMessageFlags flags)
Removes the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
messageInfoSet | java.lang.Iterable<com.aspose.email.ImapMessageInfo> | The set of ImapMessageInfo |
flags | ImapMessageFlags | Flag value |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginRemoveMessageFlags(Iterable messageInfoSet, ImapMessageFlags flags, System.AsyncCallback callback)
public final System.IAsyncResult beginRemoveMessageFlags(Iterable<ImapMessageInfo> messageInfoSet, ImapMessageFlags flags, System.AsyncCallback callback)
Removes the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
messageInfoSet | java.lang.Iterable<com.aspose.email.ImapMessageInfo> | The set of ImapMessageInfo |
flags | ImapMessageFlags | Flag value |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginRemoveMessageFlags(Iterable messageInfoSet, ImapMessageFlags flags, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginRemoveMessageFlags(Iterable<ImapMessageInfo> messageInfoSet, ImapMessageFlags flags, System.AsyncCallback callback, Object state)
Removes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
messageInfoSet | java.lang.Iterable<com.aspose.email.ImapMessageInfo> | The set of ImapMessageInfo |
flags | ImapMessageFlags | Flag value |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginRemoveMessageFlags(Iterable messageInfoSet, ImapMessageFlags flags, long modificationSequence)
public final System.IAsyncResult beginRemoveMessageFlags(Iterable<ImapMessageInfo> messageInfoSet, ImapMessageFlags flags, long modificationSequence)
Removes the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
messageInfoSet | java.lang.Iterable<com.aspose.email.ImapMessageInfo> | The set of ImapMessageInfo |
flags | ImapMessageFlags | Flag value |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginRemoveMessageFlags(Iterable messageInfoSet, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback)
public final System.IAsyncResult beginRemoveMessageFlags(Iterable<ImapMessageInfo> messageInfoSet, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback)
Removes the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
messageInfoSet | java.lang.Iterable<com.aspose.email.ImapMessageInfo> | The set of ImapMessageInfo |
flags | ImapMessageFlags | Flag value |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginRemoveMessageFlags(Iterable messageInfoSet, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginRemoveMessageFlags(Iterable<ImapMessageInfo> messageInfoSet, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback, Object state)
Removes the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
messageInfoSet | java.lang.Iterable<com.aspose.email.ImapMessageInfo> | The set of ImapMessageInfo |
flags | ImapMessageFlags | Flag value |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginRemoveMessageFlags(String uniqueId, ImapMessageFlags flags)
public final System.IAsyncResult beginRemoveMessageFlags(String uniqueId, ImapMessageFlags flags)
Removes the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
uniqueId | java.lang.String | Unique identifier of a message |
flags | ImapMessageFlags | The flags to be added |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginRemoveMessageFlags(String uniqueId, ImapMessageFlags flags, System.AsyncCallback callback)
public final System.IAsyncResult beginRemoveMessageFlags(String uniqueId, ImapMessageFlags flags, System.AsyncCallback callback)
Removes the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
uniqueId | java.lang.String | Unique identifier of a message |
flags | ImapMessageFlags | The flags to be added |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginRemoveMessageFlags(String uniqueId, ImapMessageFlags flags, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginRemoveMessageFlags(String uniqueId, ImapMessageFlags flags, System.AsyncCallback callback, Object state)
Removes the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
uniqueId | java.lang.String | Unique identifier of a message |
flags | ImapMessageFlags | The flags to be added |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginRemoveMessageFlags(String uniqueId, ImapMessageFlags flags, long modificationSequence)
public final System.IAsyncResult beginRemoveMessageFlags(String uniqueId, ImapMessageFlags flags, long modificationSequence)
Removes the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
uniqueId | java.lang.String | Unique identifier of a message |
flags | ImapMessageFlags | The flags to be added |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginRemoveMessageFlags(String uniqueId, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback)
public final System.IAsyncResult beginRemoveMessageFlags(String uniqueId, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback)
Removes the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
uniqueId | java.lang.String | Unique identifier of a message |
flags | ImapMessageFlags | The flags to be added |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginRemoveMessageFlags(String uniqueId, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginRemoveMessageFlags(String uniqueId, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback, Object state)
Removes the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
uniqueId | java.lang.String | Unique identifier of a message |
flags | ImapMessageFlags | The flags to be added |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginRemoveMessageFlags(String startUid, String endUid, ImapMessageFlags flags)
public final System.IAsyncResult beginRemoveMessageFlags(String startUid, String endUid, ImapMessageFlags flags)
Removes the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
startUid | java.lang.String | The starting UID of a message list |
endUid | java.lang.String | The ending UID of a message list |
flags | ImapMessageFlags | Flag value |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginRemoveMessageFlags(String startUid, String endUid, ImapMessageFlags flags, System.AsyncCallback callback)
public final System.IAsyncResult beginRemoveMessageFlags(String startUid, String endUid, ImapMessageFlags flags, System.AsyncCallback callback)
Removes the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
startUid | java.lang.String | The starting UID of a message list |
endUid | java.lang.String | The ending UID of a message list |
flags | ImapMessageFlags | Flag value |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginRemoveMessageFlags(String startUid, String endUid, ImapMessageFlags flags, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginRemoveMessageFlags(String startUid, String endUid, ImapMessageFlags flags, System.AsyncCallback callback, Object state)
Removes the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
startUid | java.lang.String | The starting UID of a message list |
endUid | java.lang.String | The ending UID of a message list |
flags | ImapMessageFlags | Flag value |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginRemoveMessageFlags(String startUid, String endUid, ImapMessageFlags flags, long modificationSequence)
public final System.IAsyncResult beginRemoveMessageFlags(String startUid, String endUid, ImapMessageFlags flags, long modificationSequence)
Removes the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
startUid | java.lang.String | The starting UID of a message list |
endUid | java.lang.String | The ending UID of a message list |
flags | ImapMessageFlags | Flag value |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginRemoveMessageFlags(String startUid, String endUid, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback)
public final System.IAsyncResult beginRemoveMessageFlags(String startUid, String endUid, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback)
Removes the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
startUid | java.lang.String | The starting UID of a message list |
endUid | java.lang.String | The ending UID of a message list |
flags | ImapMessageFlags | Flag value |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginRemoveMessageFlags(String startUid, String endUid, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginRemoveMessageFlags(String startUid, String endUid, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback, Object state)
Removes the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
startUid | java.lang.String | The starting UID of a message list |
endUid | java.lang.String | The ending UID of a message list |
flags | ImapMessageFlags | Flag value |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginRemoveMessageFlagsBySequences(IConnection connection, Iterable sequenceSet, ImapMessageFlags flags)
public final System.IAsyncResult beginRemoveMessageFlagsBySequences(IConnection connection, Iterable<Integer> sequenceSet, ImapMessageFlags flags)
Removes the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceSet | java.lang.Iterable<java.lang.Integer> | The set of sequence numbers for messages |
flags | ImapMessageFlags | Flag value |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginRemoveMessageFlagsBySequences(IConnection connection, Iterable sequenceSet, ImapMessageFlags flags, System.AsyncCallback callback)
public final System.IAsyncResult beginRemoveMessageFlagsBySequences(IConnection connection, Iterable<Integer> sequenceSet, ImapMessageFlags flags, System.AsyncCallback callback)
Removes the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceSet | java.lang.Iterable<java.lang.Integer> | The set of sequence numbers for messages |
flags | ImapMessageFlags | Flag value |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginRemoveMessageFlagsBySequences(IConnection connection, Iterable sequenceSet, ImapMessageFlags flags, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginRemoveMessageFlagsBySequences(IConnection connection, Iterable<Integer> sequenceSet, ImapMessageFlags flags, System.AsyncCallback callback, Object state)
Removes the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceSet | java.lang.Iterable<java.lang.Integer> | The set of sequence numbers for messages |
flags | ImapMessageFlags | Flag value |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginRemoveMessageFlagsBySequences(IConnection connection, Iterable sequenceSet, ImapMessageFlags flags, long modificationSequence)
public final System.IAsyncResult beginRemoveMessageFlagsBySequences(IConnection connection, Iterable<Integer> sequenceSet, ImapMessageFlags flags, long modificationSequence)
Removes the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceSet | java.lang.Iterable<java.lang.Integer> | The set of sequence numbers for messages |
flags | ImapMessageFlags | Flag value |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginRemoveMessageFlagsBySequences(IConnection connection, Iterable sequenceSet, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback)
public final System.IAsyncResult beginRemoveMessageFlagsBySequences(IConnection connection, Iterable<Integer> sequenceSet, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback)
Removes the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceSet | java.lang.Iterable<java.lang.Integer> | The set of sequence numbers for messages |
flags | ImapMessageFlags | Flag value |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginRemoveMessageFlagsBySequences(IConnection connection, Iterable sequenceSet, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginRemoveMessageFlagsBySequences(IConnection connection, Iterable<Integer> sequenceSet, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback, Object state)
Removes the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceSet | java.lang.Iterable<java.lang.Integer> | The set of sequence numbers for messages |
flags | ImapMessageFlags | Flag value |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginRemoveMessageFlagsBySequences(Iterable sequenceSet, ImapMessageFlags flags)
public final System.IAsyncResult beginRemoveMessageFlagsBySequences(Iterable<Integer> sequenceSet, ImapMessageFlags flags)
Removes the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
sequenceSet | java.lang.Iterable<java.lang.Integer> | The set of sequence numbers for messages |
flags | ImapMessageFlags | Flag value |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginRemoveMessageFlagsBySequences(Iterable sequenceSet, ImapMessageFlags flags, System.AsyncCallback callback)
public final System.IAsyncResult beginRemoveMessageFlagsBySequences(Iterable<Integer> sequenceSet, ImapMessageFlags flags, System.AsyncCallback callback)
Removes the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
sequenceSet | java.lang.Iterable<java.lang.Integer> | The set of sequence numbers for messages |
flags | ImapMessageFlags | Flag value |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginRemoveMessageFlagsBySequences(Iterable sequenceSet, ImapMessageFlags flags, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginRemoveMessageFlagsBySequences(Iterable<Integer> sequenceSet, ImapMessageFlags flags, System.AsyncCallback callback, Object state)
Removes the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
sequenceSet | java.lang.Iterable<java.lang.Integer> | The set of sequence numbers for messages |
flags | ImapMessageFlags | Flag value |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginRemoveMessageFlagsBySequences(Iterable sequenceSet, ImapMessageFlags flags, long modificationSequence)
public final System.IAsyncResult beginRemoveMessageFlagsBySequences(Iterable<Integer> sequenceSet, ImapMessageFlags flags, long modificationSequence)
Removes the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
sequenceSet | java.lang.Iterable<java.lang.Integer> | The set of sequence numbers for messages |
flags | ImapMessageFlags | Flag value |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginRemoveMessageFlagsBySequences(Iterable sequenceSet, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback)
public final System.IAsyncResult beginRemoveMessageFlagsBySequences(Iterable<Integer> sequenceSet, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback)
Removes the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
sequenceSet | java.lang.Iterable<java.lang.Integer> | The set of sequence numbers for messages |
flags | ImapMessageFlags | Flag value |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginRemoveMessageFlagsBySequences(Iterable sequenceSet, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginRemoveMessageFlagsBySequences(Iterable<Integer> sequenceSet, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback, Object state)
Removes the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
sequenceSet | java.lang.Iterable<java.lang.Integer> | The set of sequence numbers for messages |
flags | ImapMessageFlags | Flag value |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginRemoveMessageFlagsByUids(IConnection connection, Iterable uidSet, ImapMessageFlags flags)
public final System.IAsyncResult beginRemoveMessageFlagsByUids(IConnection connection, Iterable<String> uidSet, ImapMessageFlags flags)
Removes the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uidSet | java.lang.Iterable<java.lang.String> | The set of UID for messages |
flags | ImapMessageFlags | Flag value |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginRemoveMessageFlagsByUids(IConnection connection, Iterable uidSet, ImapMessageFlags flags, System.AsyncCallback callback)
public final System.IAsyncResult beginRemoveMessageFlagsByUids(IConnection connection, Iterable<String> uidSet, ImapMessageFlags flags, System.AsyncCallback callback)
Removes the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uidSet | java.lang.Iterable<java.lang.String> | The set of UID for messages |
flags | ImapMessageFlags | Flag value |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginRemoveMessageFlagsByUids(IConnection connection, Iterable uidSet, ImapMessageFlags flags, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginRemoveMessageFlagsByUids(IConnection connection, Iterable<String> uidSet, ImapMessageFlags flags, System.AsyncCallback callback, Object state)
Removes the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uidSet | java.lang.Iterable<java.lang.String> | The set of UID for messages |
flags | ImapMessageFlags | Flag value |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginRemoveMessageFlagsByUids(IConnection connection, Iterable uidSet, ImapMessageFlags flags, long modificationSequence)
public final System.IAsyncResult beginRemoveMessageFlagsByUids(IConnection connection, Iterable<String> uidSet, ImapMessageFlags flags, long modificationSequence)
Removes the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uidSet | java.lang.Iterable<java.lang.String> | The set of UID for messages |
flags | ImapMessageFlags | Flag value |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginRemoveMessageFlagsByUids(IConnection connection, Iterable uidSet, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback)
public final System.IAsyncResult beginRemoveMessageFlagsByUids(IConnection connection, Iterable<String> uidSet, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback)
Removes the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uidSet | java.lang.Iterable<java.lang.String> | The set of UID for messages |
flags | ImapMessageFlags | Flag value |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginRemoveMessageFlagsByUids(IConnection connection, Iterable uidSet, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginRemoveMessageFlagsByUids(IConnection connection, Iterable<String> uidSet, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback, Object state)
Removes the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uidSet | java.lang.Iterable<java.lang.String> | The set of UID for messages |
flags | ImapMessageFlags | Flag value |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginRemoveMessageFlagsByUids(Iterable uidSet, ImapMessageFlags flags)
public final System.IAsyncResult beginRemoveMessageFlagsByUids(Iterable<String> uidSet, ImapMessageFlags flags)
Removes the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
uidSet | java.lang.Iterable<java.lang.String> | The set of UID for messages |
flags | ImapMessageFlags | Flag value |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginRemoveMessageFlagsByUids(Iterable uidSet, ImapMessageFlags flags, System.AsyncCallback callback)
public final System.IAsyncResult beginRemoveMessageFlagsByUids(Iterable<String> uidSet, ImapMessageFlags flags, System.AsyncCallback callback)
Removes the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
uidSet | java.lang.Iterable<java.lang.String> | The set of UID for messages |
flags | ImapMessageFlags | Flag value |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginRemoveMessageFlagsByUids(Iterable uidSet, ImapMessageFlags flags, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginRemoveMessageFlagsByUids(Iterable<String> uidSet, ImapMessageFlags flags, System.AsyncCallback callback, Object state)
Removes the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
uidSet | java.lang.Iterable<java.lang.String> | The set of UID for messages |
flags | ImapMessageFlags | Flag value |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginRemoveMessageFlagsByUids(Iterable uidSet, ImapMessageFlags flags, long modificationSequence)
public final System.IAsyncResult beginRemoveMessageFlagsByUids(Iterable<String> uidSet, ImapMessageFlags flags, long modificationSequence)
Removes the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
uidSet | java.lang.Iterable<java.lang.String> | The set of UID for messages |
flags | ImapMessageFlags | Flag value |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginRemoveMessageFlagsByUids(Iterable uidSet, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback)
public final System.IAsyncResult beginRemoveMessageFlagsByUids(Iterable<String> uidSet, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback)
Removes the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
uidSet | java.lang.Iterable<java.lang.String> | The set of UID for messages |
flags | ImapMessageFlags | Flag value |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginRemoveMessageFlagsByUids(Iterable uidSet, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginRemoveMessageFlagsByUids(Iterable<String> uidSet, ImapMessageFlags flags, long modificationSequence, System.AsyncCallback callback, Object state)
Removes the flags of the message asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
uidSet | java.lang.Iterable<java.lang.String> | The set of UID for messages |
flags | ImapMessageFlags | Flag value |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginRenameFolder(IConnection connection, String folderName, String newFolderName)
public final System.IAsyncResult beginRenameFolder(IConnection connection, String folderName, String newFolderName)
Begins RenameFolder operation asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
folderName | java.lang.String | Folder to be renamed |
newFolderName | java.lang.String | New folder name |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginRenameFolder(IConnection connection, String folderName, String newFolderName, System.AsyncCallback callback)
public final System.IAsyncResult beginRenameFolder(IConnection connection, String folderName, String newFolderName, System.AsyncCallback callback)
Begins RenameFolder operation asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
folderName | java.lang.String | Folder to be renamed |
newFolderName | java.lang.String | New folder name |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginRenameFolder(IConnection connection, String folderName, String newFolderName, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginRenameFolder(IConnection connection, String folderName, String newFolderName, System.AsyncCallback callback, Object state)
Begins RenameFolder operation asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
folderName | java.lang.String | Folder to be renamed |
newFolderName | java.lang.String | New folder name |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginRenameFolder(String folderName, String newFolderName)
public final System.IAsyncResult beginRenameFolder(String folderName, String newFolderName)
Begins RenameFolder operation asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
folderName | java.lang.String | Folder to be renamed |
newFolderName | java.lang.String | New folder name |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginRenameFolder(String folderName, String newFolderName, System.AsyncCallback callback)
public final System.IAsyncResult beginRenameFolder(String folderName, String newFolderName, System.AsyncCallback callback)
Begins RenameFolder operation asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
folderName | java.lang.String | Folder to be renamed |
newFolderName | java.lang.String | New folder name |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginRenameFolder(String folderName, String newFolderName, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginRenameFolder(String folderName, String newFolderName, System.AsyncCallback callback, Object state)
Begins RenameFolder operation asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
folderName | java.lang.String | Folder to be renamed |
newFolderName | java.lang.String | New folder name |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginRequestCheckpoint()
public final System.IAsyncResult beginRequestCheckpoint()
Begins request a checkpoint of the currently selected mailbox.
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginRequestCheckpoint(IConnection connection)
public final System.IAsyncResult beginRequestCheckpoint(IConnection connection)
Begins request a checkpoint of the currently selected mailbox.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginRequestCheckpoint(IConnection connection, System.AsyncCallback callback)
public final System.IAsyncResult beginRequestCheckpoint(IConnection connection, System.AsyncCallback callback)
Begins request a checkpoint of the currently selected mailbox.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginRequestCheckpoint(IConnection connection, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginRequestCheckpoint(IConnection connection, System.AsyncCallback callback, Object state)
Begins request a checkpoint of the currently selected mailbox.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginRequestCheckpoint(System.AsyncCallback callback)
public final System.IAsyncResult beginRequestCheckpoint(System.AsyncCallback callback)
Begins request a checkpoint of the currently selected mailbox.
Parameters:
Parameter | Type | Description |
---|---|---|
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginRequestCheckpoint(System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginRequestCheckpoint(System.AsyncCallback callback, Object state)
Begins request a checkpoint of the currently selected mailbox.
Parameters:
Parameter | Type | Description |
---|---|---|
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginRestore(IConnection connection, PersonalStorage pst, ImapFolderInfoCollection folders, int options)
public final System.IAsyncResult beginRestore(IConnection connection, PersonalStorage pst, ImapFolderInfoCollection folders, int options)
Begins to restore the specified imap folders from the given personal storage.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
pst | PersonalStorage | A personal storage containing the backuped imap folders. |
folders | ImapFolderInfoCollection | A folders to be restored. |
options | int | Restore options. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginRestore(IConnection connection, PersonalStorage pst, ImapFolderInfoCollection folders, int options, System.AsyncCallback callback)
public final System.IAsyncResult beginRestore(IConnection connection, PersonalStorage pst, ImapFolderInfoCollection folders, int options, System.AsyncCallback callback)
Begins to restore the specified imap folders from the given personal storage.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
pst | PersonalStorage | A personal storage containing the backuped imap folders. |
folders | ImapFolderInfoCollection | A folders to be restored. |
options | int | Restore options. |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginRestore(IConnection connection, PersonalStorage pst, ImapFolderInfoCollection folders, int options, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginRestore(IConnection connection, PersonalStorage pst, ImapFolderInfoCollection folders, int options, System.AsyncCallback callback, Object state)
Begins to restore the specified imap folders from the given personal storage.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
pst | PersonalStorage | A personal storage containing the backuped imap folders. |
folders | ImapFolderInfoCollection | A folders to be restored. |
options | int | Restore options. |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginRestore(IConnection connection, PersonalStorage pst, int options)
public final System.IAsyncResult beginRestore(IConnection connection, PersonalStorage pst, int options)
Begins to restore imap folders from the given personal storage.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
pst | PersonalStorage | A personal storage containing the backuped imap folders. |
options | int | Restore options. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginRestore(IConnection connection, PersonalStorage pst, int options, System.AsyncCallback callback)
public final System.IAsyncResult beginRestore(IConnection connection, PersonalStorage pst, int options, System.AsyncCallback callback)
Begins to restore imap folders from the given personal storage.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
pst | PersonalStorage | A personal storage containing the backuped imap folders. |
options | int | Restore options. |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginRestore(IConnection connection, PersonalStorage pst, int options, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginRestore(IConnection connection, PersonalStorage pst, int options, System.AsyncCallback callback, Object state)
Begins to restore imap folders from the given personal storage.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
pst | PersonalStorage | A personal storage containing the backuped imap folders. |
options | int | Restore options. |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginRestore(IConnection connection, InputStream stream, ImapFolderInfoCollection folders, int options)
public final System.IAsyncResult beginRestore(IConnection connection, InputStream stream, ImapFolderInfoCollection folders, int options)
Begins to restore the specified imap folders from the given stream.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
stream | java.io.InputStream | A stream containing personal storage. |
folders | ImapFolderInfoCollection | A folders to be restored. |
options | int | Restore options. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginRestore(IConnection connection, InputStream stream, ImapFolderInfoCollection folders, int options, System.AsyncCallback callback)
public final System.IAsyncResult beginRestore(IConnection connection, InputStream stream, ImapFolderInfoCollection folders, int options, System.AsyncCallback callback)
Begins to restore the specified imap folders from the given stream.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
stream | java.io.InputStream | A stream containing personal storage. |
folders | ImapFolderInfoCollection | A folders to be restored. |
options | int | Restore options. |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginRestore(IConnection connection, InputStream stream, ImapFolderInfoCollection folders, int options, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginRestore(IConnection connection, InputStream stream, ImapFolderInfoCollection folders, int options, System.AsyncCallback callback, Object state)
Begins to restore the specified imap folders from the given stream.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
stream | java.io.InputStream | A stream containing personal storage. |
folders | ImapFolderInfoCollection | A folders to be restored. |
options | int | Restore options. |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginRestore(IConnection connection, InputStream stream, int options)
public final System.IAsyncResult beginRestore(IConnection connection, InputStream stream, int options)
Begins to restore imap folders from the given stream.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
stream | java.io.InputStream | A stream containing personal storage. |
options | int | Restore options. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginRestore(IConnection connection, InputStream stream, int options, System.AsyncCallback callback)
public final System.IAsyncResult beginRestore(IConnection connection, InputStream stream, int options, System.AsyncCallback callback)
Begins to restore imap folders from the given stream.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
stream | java.io.InputStream | A stream containing personal storage. |
options | int | Restore options. |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginRestore(IConnection connection, InputStream stream, int options, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginRestore(IConnection connection, InputStream stream, int options, System.AsyncCallback callback, Object state)
Begins to restore imap folders from the given stream.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
stream | java.io.InputStream | A stream containing personal storage. |
options | int | Restore options. |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginRestore(IConnection connection, String fileName, ImapFolderInfoCollection folders, int options)
public final System.IAsyncResult beginRestore(IConnection connection, String fileName, ImapFolderInfoCollection folders, int options)
Begins to restore the specified imap folders from the specified personal storage file.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
fileName | java.lang.String | A path to personal storage file. |
folders | ImapFolderInfoCollection | A folders to be restored. |
options | int | Restore options. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginRestore(IConnection connection, String fileName, ImapFolderInfoCollection folders, int options, System.AsyncCallback callback)
public final System.IAsyncResult beginRestore(IConnection connection, String fileName, ImapFolderInfoCollection folders, int options, System.AsyncCallback callback)
Begins to restore the specified imap folders from the specified personal storage file.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
fileName | java.lang.String | A path to personal storage file. |
folders | ImapFolderInfoCollection | A folders to be restored. |
options | int | Restore options. |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginRestore(IConnection connection, String fileName, ImapFolderInfoCollection folders, int options, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginRestore(IConnection connection, String fileName, ImapFolderInfoCollection folders, int options, System.AsyncCallback callback, Object state)
Begins to restore the specified imap folders from the specified personal storage file.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
fileName | java.lang.String | A path to personal storage file. |
folders | ImapFolderInfoCollection | A folders to be restored. |
options | int | Restore options. |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginRestore(IConnection connection, String fileName, int options)
public final System.IAsyncResult beginRestore(IConnection connection, String fileName, int options)
Begins to restore imap folders from the specified personal storage file.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
fileName | java.lang.String | A path to personal storage file. |
options | int | Restore options. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginRestore(IConnection connection, String fileName, int options, System.AsyncCallback callback)
public final System.IAsyncResult beginRestore(IConnection connection, String fileName, int options, System.AsyncCallback callback)
Begins to restore imap folders from the specified personal storage file.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
fileName | java.lang.String | A path to personal storage file. |
options | int | Restore options. |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginRestore(IConnection connection, String fileName, int options, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginRestore(IConnection connection, String fileName, int options, System.AsyncCallback callback, Object state)
Begins to restore imap folders from the specified personal storage file.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
fileName | java.lang.String | A path to personal storage file. |
options | int | Restore options. |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginRestore(PersonalStorage pst, ImapFolderInfoCollection folders, int options)
public final System.IAsyncResult beginRestore(PersonalStorage pst, ImapFolderInfoCollection folders, int options)
Begins to restore the specified imap folders from the given personal storage.
Parameters:
Parameter | Type | Description |
---|---|---|
pst | PersonalStorage | A personal storage containing the backuped imap folders. |
folders | ImapFolderInfoCollection | A folders to be restored. |
options | int | Restore options. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginRestore(PersonalStorage pst, ImapFolderInfoCollection folders, int options, System.AsyncCallback callback)
public final System.IAsyncResult beginRestore(PersonalStorage pst, ImapFolderInfoCollection folders, int options, System.AsyncCallback callback)
Begins to restore the specified imap folders from the given personal storage.
Parameters:
Parameter | Type | Description |
---|---|---|
pst | PersonalStorage | A personal storage containing the backuped imap folders. |
folders | ImapFolderInfoCollection | A folders to be restored. |
options | int | Restore options. |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginRestore(PersonalStorage pst, ImapFolderInfoCollection folders, int options, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginRestore(PersonalStorage pst, ImapFolderInfoCollection folders, int options, System.AsyncCallback callback, Object state)
Begins to restore the specified imap folders from the given personal storage.
Parameters:
Parameter | Type | Description |
---|---|---|
pst | PersonalStorage | A personal storage containing the backuped imap folders. |
folders | ImapFolderInfoCollection | A folders to be restored. |
options | int | Restore options. |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginRestore(PersonalStorage pst, ImapRestoreSettingsAsync settings)
public final System.IAsyncResult beginRestore(PersonalStorage pst, ImapRestoreSettingsAsync settings)
Begins to restore imap folders from the given personal storage.
Parameters:
Parameter | Type | Description |
---|---|---|
pst | PersonalStorage | A personal storage containing the backuped imap folders. |
settings | ImapRestoreSettingsAsync | The restore settings |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginRestore(PersonalStorage pst, int options)
public final System.IAsyncResult beginRestore(PersonalStorage pst, int options)
Begins to restore imap folders from the given personal storage.
Parameters:
Parameter | Type | Description |
---|---|---|
pst | PersonalStorage | A personal storage containing the backuped imap folders. |
options | int | Restore options. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginRestore(PersonalStorage pst, int options, System.AsyncCallback callback)
public final System.IAsyncResult beginRestore(PersonalStorage pst, int options, System.AsyncCallback callback)
Begins to restore imap folders from the given personal storage.
Parameters:
Parameter | Type | Description |
---|---|---|
pst | PersonalStorage | A personal storage containing the backuped imap folders. |
options | int | Restore options. |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginRestore(PersonalStorage pst, int options, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginRestore(PersonalStorage pst, int options, System.AsyncCallback callback, Object state)
Begins to restore imap folders from the given personal storage.
Parameters:
Parameter | Type | Description |
---|---|---|
pst | PersonalStorage | A personal storage containing the backuped imap folders. |
options | int | Restore options. |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginRestore(InputStream stream, ImapFolderInfoCollection folders, int options)
public final System.IAsyncResult beginRestore(InputStream stream, ImapFolderInfoCollection folders, int options)
Begins to restore the specified imap folders from the given stream.
Parameters:
Parameter | Type | Description |
---|---|---|
stream | java.io.InputStream | A stream containing personal storage. |
folders | ImapFolderInfoCollection | A folders to be restored. |
options | int | Restore options. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginRestore(InputStream stream, ImapFolderInfoCollection folders, int options, System.AsyncCallback callback)
public final System.IAsyncResult beginRestore(InputStream stream, ImapFolderInfoCollection folders, int options, System.AsyncCallback callback)
Begins to restore the specified imap folders from the given stream.
Parameters:
Parameter | Type | Description |
---|---|---|
stream | java.io.InputStream | A stream containing personal storage. |
folders | ImapFolderInfoCollection | A folders to be restored. |
options | int | Restore options. |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginRestore(InputStream stream, ImapFolderInfoCollection folders, int options, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginRestore(InputStream stream, ImapFolderInfoCollection folders, int options, System.AsyncCallback callback, Object state)
Begins to restore the specified imap folders from the given stream.
Parameters:
Parameter | Type | Description |
---|---|---|
stream | java.io.InputStream | A stream containing personal storage. |
folders | ImapFolderInfoCollection | A folders to be restored. |
options | int | Restore options. |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginRestore(InputStream stream, int options)
public final System.IAsyncResult beginRestore(InputStream stream, int options)
Begins to restore imap folders from the given stream.
Parameters:
Parameter | Type | Description |
---|---|---|
stream | java.io.InputStream | A stream containing personal storage. |
options | int | Restore options. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginRestore(InputStream stream, int options, System.AsyncCallback callback)
public final System.IAsyncResult beginRestore(InputStream stream, int options, System.AsyncCallback callback)
Begins to restore imap folders from the given stream.
Parameters:
Parameter | Type | Description |
---|---|---|
stream | java.io.InputStream | A stream containing personal storage. |
options | int | Restore options. |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginRestore(InputStream stream, int options, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginRestore(InputStream stream, int options, System.AsyncCallback callback, Object state)
Begins to restore imap folders from the given stream.
Parameters:
Parameter | Type | Description |
---|---|---|
stream | java.io.InputStream | A stream containing personal storage. |
options | int | Restore options. |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginRestore(String fileName, ImapFolderInfoCollection folders, int options)
public final System.IAsyncResult beginRestore(String fileName, ImapFolderInfoCollection folders, int options)
Begins to restore the specified imap folders from the specified personal storage file.
Parameters:
Parameter | Type | Description |
---|---|---|
fileName | java.lang.String | A path to personal storage file. |
folders | ImapFolderInfoCollection | A folders to be restored. |
options | int | Restore options. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginRestore(String fileName, ImapFolderInfoCollection folders, int options, System.AsyncCallback callback)
public final System.IAsyncResult beginRestore(String fileName, ImapFolderInfoCollection folders, int options, System.AsyncCallback callback)
Begins to restore the specified imap folders from the specified personal storage file.
Parameters:
Parameter | Type | Description |
---|---|---|
fileName | java.lang.String | A path to personal storage file. |
folders | ImapFolderInfoCollection | A folders to be restored. |
options | int | Restore options. |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginRestore(String fileName, ImapFolderInfoCollection folders, int options, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginRestore(String fileName, ImapFolderInfoCollection folders, int options, System.AsyncCallback callback, Object state)
Begins to restore the specified imap folders from the specified personal storage file.
Parameters:
Parameter | Type | Description |
---|---|---|
fileName | java.lang.String | A path to personal storage file. |
folders | ImapFolderInfoCollection | A folders to be restored. |
options | int | Restore options. |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginRestore(String fileName, int options)
public final System.IAsyncResult beginRestore(String fileName, int options)
Begins to restore imap folders from the specified personal storage file.
Parameters:
Parameter | Type | Description |
---|---|---|
fileName | java.lang.String | A path to personal storage file. |
options | int | Restore options. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginRestore(String fileName, int options, System.AsyncCallback callback)
public final System.IAsyncResult beginRestore(String fileName, int options, System.AsyncCallback callback)
Begins to restore imap folders from the specified personal storage file.
Parameters:
Parameter | Type | Description |
---|---|---|
fileName | java.lang.String | A path to personal storage file. |
options | int | Restore options. |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginRestore(String fileName, int options, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginRestore(String fileName, int options, System.AsyncCallback callback, Object state)
Begins to restore imap folders from the specified personal storage file.
Parameters:
Parameter | Type | Description |
---|---|---|
fileName | java.lang.String | A path to personal storage file. |
options | int | Restore options. |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginSaveMessage(IConnection connection, int sequenceNumber, OutputStream resultStream)
public final System.IAsyncResult beginSaveMessage(IConnection connection, int sequenceNumber, OutputStream resultStream)
Begins SaveMessage operation asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceNumber | int | The sequence number of the message |
resultStream | java.io.OutputStream | Stream that will receive the message |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginSaveMessage(IConnection connection, int sequenceNumber, OutputStream resultStream, System.AsyncCallback callback)
public final System.IAsyncResult beginSaveMessage(IConnection connection, int sequenceNumber, OutputStream resultStream, System.AsyncCallback callback)
Begins SaveMessage operation asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceNumber | int | The sequence number of the message |
resultStream | java.io.OutputStream | Stream that will receive the message |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginSaveMessage(IConnection connection, int sequenceNumber, OutputStream resultStream, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginSaveMessage(IConnection connection, int sequenceNumber, OutputStream resultStream, System.AsyncCallback callback, Object state)
Begins SaveMessage operation asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceNumber | int | The sequence number of the message |
resultStream | java.io.OutputStream | Stream that will receive the message |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginSaveMessage(IConnection connection, int sequenceNumber, String fileName)
public final System.IAsyncResult beginSaveMessage(IConnection connection, int sequenceNumber, String fileName)
Begins SaveMessage operation asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceNumber | int | The sequence number of the message |
fileName | java.lang.String | The path of the local file. This cannot be a directory |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginSaveMessage(IConnection connection, int sequenceNumber, String fileName, System.AsyncCallback callback)
public final System.IAsyncResult beginSaveMessage(IConnection connection, int sequenceNumber, String fileName, System.AsyncCallback callback)
Begins SaveMessage operation asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceNumber | int | The sequence number of the message |
fileName | java.lang.String | The path of the local file. This cannot be a directory |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginSaveMessage(IConnection connection, int sequenceNumber, String fileName, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginSaveMessage(IConnection connection, int sequenceNumber, String fileName, System.AsyncCallback callback, Object state)
Begins SaveMessage operation asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceNumber | int | The sequence number of the message |
fileName | java.lang.String | The path of the local file. This cannot be a directory |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginSaveMessage(IConnection connection, String uniqueId, OutputStream resultStream)
public final System.IAsyncResult beginSaveMessage(IConnection connection, String uniqueId, OutputStream resultStream)
Begins SaveMessage operation asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uniqueId | java.lang.String | The unique Id of the message |
resultStream | java.io.OutputStream | Stream that will receive the message |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginSaveMessage(IConnection connection, String uniqueId, OutputStream resultStream, System.AsyncCallback callback)
public final System.IAsyncResult beginSaveMessage(IConnection connection, String uniqueId, OutputStream resultStream, System.AsyncCallback callback)
Begins SaveMessage operation asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uniqueId | java.lang.String | The unique Id of the message |
resultStream | java.io.OutputStream | Stream that will receive the message |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginSaveMessage(IConnection connection, String uniqueId, OutputStream resultStream, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginSaveMessage(IConnection connection, String uniqueId, OutputStream resultStream, System.AsyncCallback callback, Object state)
Begins SaveMessage operation asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uniqueId | java.lang.String | The unique Id of the message |
resultStream | java.io.OutputStream | Stream that will receive the message |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginSaveMessage(IConnection connection, String uniqueId, String fileName)
public final System.IAsyncResult beginSaveMessage(IConnection connection, String uniqueId, String fileName)
Begins SaveMessage operation asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uniqueId | java.lang.String | The unique Id of the message |
fileName | java.lang.String | The path of the local file. This cannot be a directory |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginSaveMessage(IConnection connection, String uniqueId, String fileName, System.AsyncCallback callback)
public final System.IAsyncResult beginSaveMessage(IConnection connection, String uniqueId, String fileName, System.AsyncCallback callback)
Begins SaveMessage operation asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uniqueId | java.lang.String | The unique Id of the message |
fileName | java.lang.String | The path of the local file. This cannot be a directory |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginSaveMessage(IConnection connection, String uniqueId, String fileName, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginSaveMessage(IConnection connection, String uniqueId, String fileName, System.AsyncCallback callback, Object state)
Begins SaveMessage operation asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uniqueId | java.lang.String | The unique Id of the message |
fileName | java.lang.String | The path of the local file. This cannot be a directory |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginSaveMessage(int sequenceNumber, OutputStream resultStream)
public final System.IAsyncResult beginSaveMessage(int sequenceNumber, OutputStream resultStream)
Begins SaveMessage operation asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
sequenceNumber | int | The sequence number of the message |
resultStream | java.io.OutputStream | Stream that will receive the message |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginSaveMessage(int sequenceNumber, OutputStream resultStream, System.AsyncCallback callback)
public final System.IAsyncResult beginSaveMessage(int sequenceNumber, OutputStream resultStream, System.AsyncCallback callback)
Begins SaveMessage operation asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
sequenceNumber | int | The sequence number of the message |
resultStream | java.io.OutputStream | Stream that will receive the message |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginSaveMessage(int sequenceNumber, OutputStream resultStream, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginSaveMessage(int sequenceNumber, OutputStream resultStream, System.AsyncCallback callback, Object state)
Begins SaveMessage operation asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
sequenceNumber | int | The sequence number of the message |
resultStream | java.io.OutputStream | Stream that will receive the message |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginSaveMessage(int sequenceNumber, String fileName)
public final System.IAsyncResult beginSaveMessage(int sequenceNumber, String fileName)
Begins SaveMessage operation asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
sequenceNumber | int | The sequence number of the message |
fileName | java.lang.String | The path of the local file. This cannot be a directory |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginSaveMessage(int sequenceNumber, String fileName, System.AsyncCallback callback)
public final System.IAsyncResult beginSaveMessage(int sequenceNumber, String fileName, System.AsyncCallback callback)
Begins SaveMessage operation asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
sequenceNumber | int | The sequence number of the message |
fileName | java.lang.String | The path of the local file. This cannot be a directory |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginSaveMessage(int sequenceNumber, String fileName, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginSaveMessage(int sequenceNumber, String fileName, System.AsyncCallback callback, Object state)
Begins SaveMessage operation asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
sequenceNumber | int | The sequence number of the message |
fileName | java.lang.String | The path of the local file. This cannot be a directory |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginSaveMessage(String uniqueId, OutputStream resultStream)
public final System.IAsyncResult beginSaveMessage(String uniqueId, OutputStream resultStream)
Begins SaveMessage operation asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
uniqueId | java.lang.String | The unique Id of the message |
resultStream | java.io.OutputStream | Stream that will receive the message |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginSaveMessage(String uniqueId, OutputStream resultStream, System.AsyncCallback callback)
public final System.IAsyncResult beginSaveMessage(String uniqueId, OutputStream resultStream, System.AsyncCallback callback)
Begins SaveMessage operation asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
uniqueId | java.lang.String | The unique Id of the message |
resultStream | java.io.OutputStream | Stream that will receive the message |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginSaveMessage(String uniqueId, OutputStream resultStream, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginSaveMessage(String uniqueId, OutputStream resultStream, System.AsyncCallback callback, Object state)
Begins SaveMessage operation asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
uniqueId | java.lang.String | The unique Id of the message |
resultStream | java.io.OutputStream | Stream that will receive the message |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginSaveMessage(String uniqueId, String fileName)
public final System.IAsyncResult beginSaveMessage(String uniqueId, String fileName)
Begins SaveMessage operation asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
uniqueId | java.lang.String | The unique Id of the message |
fileName | java.lang.String | The path of the local file. This cannot be a directory |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginSaveMessage(String uniqueId, String fileName, System.AsyncCallback callback)
public final System.IAsyncResult beginSaveMessage(String uniqueId, String fileName, System.AsyncCallback callback)
Begins SaveMessage operation asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
uniqueId | java.lang.String | The unique Id of the message |
fileName | java.lang.String | The path of the local file. This cannot be a directory |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginSaveMessage(String uniqueId, String fileName, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginSaveMessage(String uniqueId, String fileName, System.AsyncCallback callback, Object state)
Begins SaveMessage operation asynchronously
Parameters:
Parameter | Type | Description |
---|---|---|
uniqueId | java.lang.String | The unique Id of the message |
fileName | java.lang.String | The path of the local file. This cannot be a directory |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginSelectFolder(IConnection connection, String folderName)
public final System.IAsyncResult beginSelectFolder(IConnection connection, String folderName)
Begins select the specified folder asynchronously.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
folderName | java.lang.String | Name of the folder. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginSelectFolder(IConnection connection, String folderName, System.AsyncCallback callback)
public final System.IAsyncResult beginSelectFolder(IConnection connection, String folderName, System.AsyncCallback callback)
Begins select the specified folder asynchronously.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
folderName | java.lang.String | Name of the folder. |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginSelectFolder(IConnection connection, String folderName, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginSelectFolder(IConnection connection, String folderName, System.AsyncCallback callback, Object state)
Begins select the specified folder asynchronously.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
folderName | java.lang.String | Name of the folder. |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginSelectFolder(IConnection connection, String folderName, Boolean readOnly, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginSelectFolder(IConnection connection, String folderName, Boolean readOnly, System.AsyncCallback callback, Object state)
Begins select the specified folder asynchronously.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
folderName | java.lang.String | Name of the folder. |
readOnly | java.lang.Boolean | Specifies whether the folder is to be selected as read-only |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginSelectFolder(String folderName)
public final System.IAsyncResult beginSelectFolder(String folderName)
Begins select the specified folder asynchronously.
Parameters:
Parameter | Type | Description |
---|---|---|
folderName | java.lang.String | Name of the folder. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginSelectFolder(String folderName, System.AsyncCallback callback)
public final System.IAsyncResult beginSelectFolder(String folderName, System.AsyncCallback callback)
Begins select the specified folder asynchronously.
Parameters:
Parameter | Type | Description |
---|---|---|
folderName | java.lang.String | Name of the folder. |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginSelectFolder(String folderName, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginSelectFolder(String folderName, System.AsyncCallback callback, Object state)
Begins select the specified folder asynchronously.
Parameters:
Parameter | Type | Description |
---|---|---|
folderName | java.lang.String | Name of the folder. |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginSelectFolder(String folderName, Boolean readOnly, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginSelectFolder(String folderName, Boolean readOnly, System.AsyncCallback callback, Object state)
Begins select the specified folder asynchronously.
Parameters:
Parameter | Type | Description |
---|---|---|
folderName | java.lang.String | Name of the folder. |
readOnly | java.lang.Boolean | Specifies whether the folder is to be selected as read-only |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginSetQuota(IConnection connection, String quotaRootName, String resourceName, int resourceLimit)
public final System.IAsyncResult beginSetQuota(IConnection connection, String quotaRootName, String resourceName, int resourceLimit)
Begins setting quota information
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
quotaRootName | java.lang.String | quota root name |
resourceName | java.lang.String | resource name |
resourceLimit | int | resource limit |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginSetQuota(IConnection connection, String quotaRootName, String resourceName, int resourceLimit, System.AsyncCallback callback)
public final System.IAsyncResult beginSetQuota(IConnection connection, String quotaRootName, String resourceName, int resourceLimit, System.AsyncCallback callback)
Begins setting quota information
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
quotaRootName | java.lang.String | quota root name |
resourceName | java.lang.String | resource name |
resourceLimit | int | resource limit |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginSetQuota(IConnection connection, String quotaRootName, String resourceName, int resourceLimit, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginSetQuota(IConnection connection, String quotaRootName, String resourceName, int resourceLimit, System.AsyncCallback callback, Object state)
Begins setting quota information
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
quotaRootName | java.lang.String | quota root name |
resourceName | java.lang.String | resource name |
resourceLimit | int | resource limit |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginSetQuota(String quotaRootName, String resourceName, int resourceLimit)
public final System.IAsyncResult beginSetQuota(String quotaRootName, String resourceName, int resourceLimit)
Begins setting quota information
Parameters:
Parameter | Type | Description |
---|---|---|
quotaRootName | java.lang.String | quota root name |
resourceName | java.lang.String | resource name |
resourceLimit | int | resource limit |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginSetQuota(String quotaRootName, String resourceName, int resourceLimit, System.AsyncCallback callback)
public final System.IAsyncResult beginSetQuota(String quotaRootName, String resourceName, int resourceLimit, System.AsyncCallback callback)
Begins setting quota information
Parameters:
Parameter | Type | Description |
---|---|---|
quotaRootName | java.lang.String | quota root name |
resourceName | java.lang.String | resource name |
resourceLimit | int | resource limit |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginSetQuota(String quotaRootName, String resourceName, int resourceLimit, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginSetQuota(String quotaRootName, String resourceName, int resourceLimit, System.AsyncCallback callback, Object state)
Begins setting quota information
Parameters:
Parameter | Type | Description |
---|---|---|
quotaRootName | java.lang.String | quota root name |
resourceName | java.lang.String | Resource name. |
resourceLimit | int | Resource limit. |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginSortMessageThreads(IConnection connection, SortConditions conditions, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginSortMessageThreads(IConnection connection, SortConditions conditions, System.AsyncCallback callback, Object state)
Begins sorting message threads asynchronously.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
conditions | SortConditions | Sort conditions. |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginSortMessageThreads(SortConditions conditions, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginSortMessageThreads(SortConditions conditions, System.AsyncCallback callback, Object state)
Begins sorting message threads asynchronously.
Parameters:
Parameter | Type | Description |
---|---|---|
conditions | SortConditions | Sort conditions. |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginSubscribeFolder(IConnection connection, String folderName)
public final System.IAsyncResult beginSubscribeFolder(IConnection connection, String folderName)
Begins subscribe operation that adds the specified mailbox name to the server’s set of “active” mailboxes.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
folderName | java.lang.String | Name of the folder |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginSubscribeFolder(IConnection connection, String folderName, System.AsyncCallback callback)
public final System.IAsyncResult beginSubscribeFolder(IConnection connection, String folderName, System.AsyncCallback callback)
Begins subscribe operation that adds the specified mailbox name to the server’s set of “active” mailboxes.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
folderName | java.lang.String | Name of the folder |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginSubscribeFolder(IConnection connection, String folderName, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginSubscribeFolder(IConnection connection, String folderName, System.AsyncCallback callback, Object state)
Begins subscribe operation that adds the specified mailbox name to the server’s set of “active” mailboxes.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
folderName | java.lang.String | Name of the folder |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginSubscribeFolder(String folderName)
public final System.IAsyncResult beginSubscribeFolder(String folderName)
Begins subscribe operation that adds the specified mailbox name to the server’s set of “active” mailboxes.
Parameters:
Parameter | Type | Description |
---|---|---|
folderName | java.lang.String | Name of the folder |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginSubscribeFolder(String folderName, System.AsyncCallback callback)
public final System.IAsyncResult beginSubscribeFolder(String folderName, System.AsyncCallback callback)
Begins subscribe operation that adds the specified mailbox name to the server’s set of “active” mailboxes.
Parameters:
Parameter | Type | Description |
---|---|---|
folderName | java.lang.String | Name of the folder |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginSubscribeFolder(String folderName, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginSubscribeFolder(String folderName, System.AsyncCallback callback, Object state)
Begins subscribe operation that adds the specified mailbox name to the server’s set of “active” mailboxes.
Parameters:
Parameter | Type | Description |
---|---|---|
folderName | java.lang.String | Name of the folder |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginUndeleteMessage(IConnection connection, int sequenceNumber)
public final System.IAsyncResult beginUndeleteMessage(IConnection connection, int sequenceNumber)
Marks a message with the specified sequence number as not deleted.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceNumber | int | The sequence number of message |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginUndeleteMessage(IConnection connection, int sequenceNumber, System.AsyncCallback callback)
public final System.IAsyncResult beginUndeleteMessage(IConnection connection, int sequenceNumber, System.AsyncCallback callback)
Marks a message with the specified sequence number as not deleted.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceNumber | int | The sequence number of message |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginUndeleteMessage(IConnection connection, int sequenceNumber, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginUndeleteMessage(IConnection connection, int sequenceNumber, System.AsyncCallback callback, Object state)
Marks a message with the specified sequence number as not deleted.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceNumber | int | The sequence number of message |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginUndeleteMessage(IConnection connection, int sequenceNumber, long modificationSequence)
public final System.IAsyncResult beginUndeleteMessage(IConnection connection, int sequenceNumber, long modificationSequence)
Marks a message with the specified sequence number as not deleted.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceNumber | int | The sequence number of message |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginUndeleteMessage(IConnection connection, int sequenceNumber, long modificationSequence, System.AsyncCallback callback)
public final System.IAsyncResult beginUndeleteMessage(IConnection connection, int sequenceNumber, long modificationSequence, System.AsyncCallback callback)
Marks a message with the specified sequence number as not deleted.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceNumber | int | The sequence number of message |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginUndeleteMessage(IConnection connection, int sequenceNumber, long modificationSequence, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginUndeleteMessage(IConnection connection, int sequenceNumber, long modificationSequence, System.AsyncCallback callback, Object state)
Marks a message with the specified sequence number as not deleted.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceNumber | int | The sequence number of message |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginUndeleteMessage(IConnection connection, String uniqueId)
public final System.IAsyncResult beginUndeleteMessage(IConnection connection, String uniqueId)
Marks a message with the specified sequence number as not deleted.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uniqueId | java.lang.String | The unique Id of the message |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginUndeleteMessage(IConnection connection, String uniqueId, System.AsyncCallback callback)
public final System.IAsyncResult beginUndeleteMessage(IConnection connection, String uniqueId, System.AsyncCallback callback)
Marks a message with the specified sequence number as not deleted.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uniqueId | java.lang.String | The unique Id of the message |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginUndeleteMessage(IConnection connection, String uniqueId, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginUndeleteMessage(IConnection connection, String uniqueId, System.AsyncCallback callback, Object state)
Marks a message with the specified sequence number as not deleted.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uniqueId | java.lang.String | The unique Id of the message |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginUndeleteMessage(IConnection connection, String uniqueId, long modificationSequence)
public final System.IAsyncResult beginUndeleteMessage(IConnection connection, String uniqueId, long modificationSequence)
Marks a message with the specified sequence number as not deleted.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uniqueId | java.lang.String | The unique Id of the message |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginUndeleteMessage(IConnection connection, String uniqueId, long modificationSequence, System.AsyncCallback callback)
public final System.IAsyncResult beginUndeleteMessage(IConnection connection, String uniqueId, long modificationSequence, System.AsyncCallback callback)
Marks a message with the specified sequence number as not deleted.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uniqueId | java.lang.String | The unique Id of the message |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginUndeleteMessage(IConnection connection, String uniqueId, long modificationSequence, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginUndeleteMessage(IConnection connection, String uniqueId, long modificationSequence, System.AsyncCallback callback, Object state)
Marks a message with the specified sequence number as not deleted.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uniqueId | java.lang.String | The unique Id of the message |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginUndeleteMessage(int sequenceNumber)
public final System.IAsyncResult beginUndeleteMessage(int sequenceNumber)
Marks a message with the specified sequence number as not deleted.
Parameters:
Parameter | Type | Description |
---|---|---|
sequenceNumber | int | The sequence number of message |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginUndeleteMessage(int sequenceNumber, System.AsyncCallback callback)
public final System.IAsyncResult beginUndeleteMessage(int sequenceNumber, System.AsyncCallback callback)
Marks a message with the specified sequence number as not deleted.
Parameters:
Parameter | Type | Description |
---|---|---|
sequenceNumber | int | The sequence number of message |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginUndeleteMessage(int sequenceNumber, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginUndeleteMessage(int sequenceNumber, System.AsyncCallback callback, Object state)
Marks a message with the specified sequence number as not deleted.
Parameters:
Parameter | Type | Description |
---|---|---|
sequenceNumber | int | The sequence number of message |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginUndeleteMessage(int sequenceNumber, long modificationSequence)
public final System.IAsyncResult beginUndeleteMessage(int sequenceNumber, long modificationSequence)
Marks a message with the specified sequence number as not deleted.
Parameters:
Parameter | Type | Description |
---|---|---|
sequenceNumber | int | The sequence number of message |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginUndeleteMessage(int sequenceNumber, long modificationSequence, System.AsyncCallback callback)
public final System.IAsyncResult beginUndeleteMessage(int sequenceNumber, long modificationSequence, System.AsyncCallback callback)
Marks a message with the specified sequence number as not deleted.
Parameters:
Parameter | Type | Description |
---|---|---|
sequenceNumber | int | The sequence number of message |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginUndeleteMessage(int sequenceNumber, long modificationSequence, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginUndeleteMessage(int sequenceNumber, long modificationSequence, System.AsyncCallback callback, Object state)
Marks a message with the specified sequence number as not deleted.
Parameters:
Parameter | Type | Description |
---|---|---|
sequenceNumber | int | The sequence number of message |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginUndeleteMessage(String uniqueId)
public final System.IAsyncResult beginUndeleteMessage(String uniqueId)
Marks a message with the specified sequence number as not deleted.
Parameters:
Parameter | Type | Description |
---|---|---|
uniqueId | java.lang.String | The unique Id of the message |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginUndeleteMessage(String uniqueId, System.AsyncCallback callback)
public final System.IAsyncResult beginUndeleteMessage(String uniqueId, System.AsyncCallback callback)
Marks a message with the specified sequence number as not deleted.
Parameters:
Parameter | Type | Description |
---|---|---|
uniqueId | java.lang.String | The unique Id of the message |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginUndeleteMessage(String uniqueId, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginUndeleteMessage(String uniqueId, System.AsyncCallback callback, Object state)
Marks a message with the specified sequence number as not deleted.
Parameters:
Parameter | Type | Description |
---|---|---|
uniqueId | java.lang.String | The unique Id of the message |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginUndeleteMessage(String uniqueId, long modificationSequence)
public final System.IAsyncResult beginUndeleteMessage(String uniqueId, long modificationSequence)
Marks a message with the specified sequence number as not deleted.
Parameters:
Parameter | Type | Description |
---|---|---|
uniqueId | java.lang.String | The unique Id of the message |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginUndeleteMessage(String uniqueId, long modificationSequence, System.AsyncCallback callback)
public final System.IAsyncResult beginUndeleteMessage(String uniqueId, long modificationSequence, System.AsyncCallback callback)
Marks a message with the specified sequence number as not deleted.
Parameters:
Parameter | Type | Description |
---|---|---|
uniqueId | java.lang.String | The unique Id of the message |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginUndeleteMessage(String uniqueId, long modificationSequence, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginUndeleteMessage(String uniqueId, long modificationSequence, System.AsyncCallback callback, Object state)
Marks a message with the specified sequence number as not deleted.
Parameters:
Parameter | Type | Description |
---|---|---|
uniqueId | java.lang.String | The unique Id of the message |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginUnselectFolder()
public final System.IAsyncResult beginUnselectFolder()
Begins permanently removes all messages marked as deleted for currently selected folder and removes selected-state for current folder asyncronously.
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginUnselectFolder(boolean doNotExpunge)
public final System.IAsyncResult beginUnselectFolder(boolean doNotExpunge)
Unselects folder which are currently selected asyncronously. if doNotExpunge property is true, all messages are marked as deleted are removed, otherwise deletion canceled. Please note, this operation works only in case if server supports RFC3691 See more https://tools.ietf.org/html/rfc3691
Parameters:
Parameter | Type | Description |
---|---|---|
doNotExpunge | boolean | Specifies whether messages marked as deleted should be removed. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginUnselectFolder(boolean doNotExpunge, System.AsyncCallback callback)
public final System.IAsyncResult beginUnselectFolder(boolean doNotExpunge, System.AsyncCallback callback)
Unselects folder which are currently selected asyncronously. if doNotExpunge property is true, all messages are marked as deleted are removed, otherwise deletion canceled. Please note, this operation works only in case if server supports RFC3691 See more https://tools.ietf.org/html/rfc3691
Parameters:
Parameter | Type | Description |
---|---|---|
doNotExpunge | boolean | Specifies whether messages marked as deleted should be removed. |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginUnselectFolder(boolean doNotExpunge, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginUnselectFolder(boolean doNotExpunge, System.AsyncCallback callback, Object state)
Unselects folder which are currently selected asyncronously. if doNotExpunge property is true, all messages are marked as deleted are removed, otherwise deletion canceled. Please note, this operation works only in case if server supports RFC3691 See more https://tools.ietf.org/html/rfc3691
Parameters:
Parameter | Type | Description |
---|---|---|
doNotExpunge | boolean | Specifies whether messages marked as deleted should be removed. |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginUnselectFolder(IConnection connection)
public final System.IAsyncResult beginUnselectFolder(IConnection connection)
Begins permanently removes all messages marked as deleted for currently selected folder and removes selected-state for current folder asyncronously.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginUnselectFolder(IConnection connection, boolean doNotExpunge)
public final System.IAsyncResult beginUnselectFolder(IConnection connection, boolean doNotExpunge)
Unselects folder which are currently selected asyncronously. if doNotExpunge property is true, all messages are marked as deleted are removed, otherwise deletion canceled. Please note, this operation works only in case if server supports RFC3691 See more https://tools.ietf.org/html/rfc3691
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
doNotExpunge | boolean | Specifies whether messages marked as deleted should be removed. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginUnselectFolder(IConnection connection, boolean doNotExpunge, System.AsyncCallback callback)
public final System.IAsyncResult beginUnselectFolder(IConnection connection, boolean doNotExpunge, System.AsyncCallback callback)
Unselects folder which are currently selected asyncronously. if doNotExpunge property is true, all messages are marked as deleted are removed, otherwise deletion canceled. Please note, this operation works only in case if server supports RFC3691 See more https://tools.ietf.org/html/rfc3691
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
doNotExpunge | boolean | Specifies whether messages marked as deleted should be removed. |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginUnselectFolder(IConnection connection, boolean doNotExpunge, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginUnselectFolder(IConnection connection, boolean doNotExpunge, System.AsyncCallback callback, Object state)
Unselects folder which are currently selected asyncronously. if doNotExpunge property is true, all messages are marked as deleted are removed, otherwise deletion canceled. Please note, this operation works only in case if server supports RFC3691 See more https://tools.ietf.org/html/rfc3691
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
doNotExpunge | boolean | Specifies whether messages marked as deleted should be removed. |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginUnselectFolder(IConnection connection, System.AsyncCallback callback)
public final System.IAsyncResult beginUnselectFolder(IConnection connection, System.AsyncCallback callback)
Begins permanently removes all messages marked as deleted for currently selected folder and removes selected-state for current folder asyncronously.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginUnselectFolder(IConnection connection, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginUnselectFolder(IConnection connection, System.AsyncCallback callback, Object state)
Begins permanently removes all messages marked as deleted for currently selected folder and removes selected-state for current folder asyncronously.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginUnselectFolder(System.AsyncCallback callback)
public final System.IAsyncResult beginUnselectFolder(System.AsyncCallback callback)
Begins permanently removes all messages marked as deleted for currently selected folder and removes selected-state for current folder asyncronously.
Parameters:
Parameter | Type | Description |
---|---|---|
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginUnselectFolder(System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginUnselectFolder(System.AsyncCallback callback, Object state)
Begins permanently removes all messages marked as deleted for currently selected folder and removes selected-state for current folder asyncronously.
Parameters:
Parameter | Type | Description |
---|---|---|
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginUnsubscribeFolder(IConnection connection, String folderName)
public final System.IAsyncResult beginUnsubscribeFolder(IConnection connection, String folderName)
Begins unsubscribe operation that removes the specified mailbox name from the server’s set of “active” mailboxes
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
folderName | java.lang.String | Name of the folder |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginUnsubscribeFolder(IConnection connection, String folderName, System.AsyncCallback callback)
public final System.IAsyncResult beginUnsubscribeFolder(IConnection connection, String folderName, System.AsyncCallback callback)
Begins unsubscribe operation that removes the specified mailbox name from the server’s set of “active” mailboxes
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
folderName | java.lang.String | Name of the folder |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginUnsubscribeFolder(IConnection connection, String folderName, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginUnsubscribeFolder(IConnection connection, String folderName, System.AsyncCallback callback, Object state)
Begins unsubscribe operation that removes the specified mailbox name from the server’s set of “active” mailboxes
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
folderName | java.lang.String | Name of the folder |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginUnsubscribeFolder(String folderName)
public final System.IAsyncResult beginUnsubscribeFolder(String folderName)
Begins unsubscribe operation that removes the specified mailbox name from the server’s set of “active” mailboxes
Parameters:
Parameter | Type | Description |
---|---|---|
folderName | java.lang.String | Name of the folder |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginUnsubscribeFolder(String folderName, System.AsyncCallback callback)
public final System.IAsyncResult beginUnsubscribeFolder(String folderName, System.AsyncCallback callback)
Begins unsubscribe operation that removes the specified mailbox name from the server’s set of “active” mailboxes
Parameters:
Parameter | Type | Description |
---|---|---|
folderName | java.lang.String | Name of the folder |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginUnsubscribeFolder(String folderName, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginUnsubscribeFolder(String folderName, System.AsyncCallback callback, Object state)
Begins unsubscribe operation that removes the specified mailbox name from the server’s set of “active” mailboxes
Parameters:
Parameter | Type | Description |
---|---|---|
folderName | java.lang.String | Name of the folder |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginValidateCredentials()
public final System.IAsyncResult beginValidateCredentials()
Begins to execute credentials validation
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginValidateCredentials(IConnection connection)
public final System.IAsyncResult beginValidateCredentials(IConnection connection)
Begins to execute credentials validation
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginValidateCredentials(IConnection connection, System.AsyncCallback callback)
public final System.IAsyncResult beginValidateCredentials(IConnection connection, System.AsyncCallback callback)
Begins to execute credentials validation
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginValidateCredentials(IConnection connection, System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginValidateCredentials(IConnection connection, System.AsyncCallback callback, Object state)
Begins to execute credentials validation
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginValidateCredentials(System.AsyncCallback callback)
public final System.IAsyncResult beginValidateCredentials(System.AsyncCallback callback)
Begins to execute credentials validation
Parameters:
Parameter | Type | Description |
---|---|---|
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
beginValidateCredentials(System.AsyncCallback callback, Object state)
public final System.IAsyncResult beginValidateCredentials(System.AsyncCallback callback, Object state)
Begins to execute credentials validation
Parameters:
Parameter | Type | Description |
---|---|---|
callback | com.aspose.ms.System.AsyncCallback | References a method to be called when a corresponding asynchronous operation completes. |
state | java.lang.Object | The state. |
Returns: com.aspose.ms.System.IAsyncResult - IAsyncResult that represents the status of an asynchronous operation.
bindIPEndPoint(BindIPEndPointHandler handler)
public void bindIPEndPoint(BindIPEndPointHandler handler)
Associates a Socket with a local endpoint.
Parameters:
Parameter | Type | Description |
---|---|---|
handler | BindIPEndPointHandler |
cancelAsyncOperation(System.IAsyncResult asyncResult)
public final void cancelAsyncOperation(System.IAsyncResult asyncResult)
Cancels asynchronous operation.
Parameters:
Parameter | Type | Description |
---|---|---|
asyncResult | com.aspose.ms.System.IAsyncResult | Defines asynchronous operation to cancel. |
changeMessageFlags(IConnection connection, int sequenceNumber, ImapMessageFlags flags)
public final void changeMessageFlags(IConnection connection, int sequenceNumber, ImapMessageFlags flags)
Changes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceNumber | int | The sequence number of the message |
flags | ImapMessageFlags | The flags to be removed |
changeMessageFlags(IConnection connection, int sequenceNumber, ImapMessageFlags flags, long modificationSequence)
public final void changeMessageFlags(IConnection connection, int sequenceNumber, ImapMessageFlags flags, long modificationSequence)
Changes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceNumber | int | The sequence number of the message |
flags | ImapMessageFlags | The flags to be removed |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
changeMessageFlags(IConnection connection, int startSequence, int endSequence, ImapMessageFlags flags)
public final void changeMessageFlags(IConnection connection, int startSequence, int endSequence, ImapMessageFlags flags)
Changes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
startSequence | int | The starting sequence number of a message list |
endSequence | int | The ending sequence number of a message list |
flags | ImapMessageFlags | The flags to be removed |
changeMessageFlags(IConnection connection, int startSequence, int endSequence, ImapMessageFlags flags, long modificationSequence)
public final void changeMessageFlags(IConnection connection, int startSequence, int endSequence, ImapMessageFlags flags, long modificationSequence)
Changes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
startSequence | int | The starting sequence number of a message list |
endSequence | int | The ending sequence number of a message list |
flags | ImapMessageFlags | The flags to be removed |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
changeMessageFlags(IConnection connection, Iterable messageInfoSet, ImapMessageFlags flags)
public final void changeMessageFlags(IConnection connection, Iterable<ImapMessageInfo> messageInfoSet, ImapMessageFlags flags)
Changes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
messageInfoSet | java.lang.Iterable<com.aspose.email.ImapMessageInfo> | The set of ImapMessageInfo |
flags | ImapMessageFlags | The flags to be changed |
changeMessageFlags(IConnection connection, Iterable messageInfoSet, ImapMessageFlags flags, long modificationSequence)
public final void changeMessageFlags(IConnection connection, Iterable<ImapMessageInfo> messageInfoSet, ImapMessageFlags flags, long modificationSequence)
Changes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
messageInfoSet | java.lang.Iterable<com.aspose.email.ImapMessageInfo> | The set of ImapMessageInfo |
flags | ImapMessageFlags | The flags to be changed |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
changeMessageFlags(IConnection connection, String uniqueId, ImapMessageFlags flags)
public final void changeMessageFlags(IConnection connection, String uniqueId, ImapMessageFlags flags)
Changes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uniqueId | java.lang.String | The uid of the message |
flags | ImapMessageFlags | The flags to be changed |
changeMessageFlags(IConnection connection, String uniqueId, ImapMessageFlags flags, long modificationSequence)
public final void changeMessageFlags(IConnection connection, String uniqueId, ImapMessageFlags flags, long modificationSequence)
Changes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uniqueId | java.lang.String | The uid of the message |
flags | ImapMessageFlags | The flags to be changed |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
changeMessageFlags(IConnection connection, String startUid, String endUid, ImapMessageFlags flags)
public final void changeMessageFlags(IConnection connection, String startUid, String endUid, ImapMessageFlags flags)
Changes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
startUid | java.lang.String | The starting UID of a message list |
endUid | java.lang.String | The ending UID of a message list |
flags | ImapMessageFlags | The flags to be changed |
changeMessageFlags(IConnection connection, String startUid, String endUid, ImapMessageFlags flags, long modificationSequence)
public final void changeMessageFlags(IConnection connection, String startUid, String endUid, ImapMessageFlags flags, long modificationSequence)
Changes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
startUid | java.lang.String | The starting UID of a message list |
endUid | java.lang.String | The ending UID of a message list |
flags | ImapMessageFlags | The flags to be changed |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
changeMessageFlags(int sequenceNumber, ImapMessageFlags flags)
public final void changeMessageFlags(int sequenceNumber, ImapMessageFlags flags)
Changes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
sequenceNumber | int | The sequence number of the message |
flags | ImapMessageFlags | The flags to be removed |
changeMessageFlags(int sequenceNumber, ImapMessageFlags flags, long modificationSequence)
public final void changeMessageFlags(int sequenceNumber, ImapMessageFlags flags, long modificationSequence)
Changes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
sequenceNumber | int | The sequence number of the message |
flags | ImapMessageFlags | The flags to be removed |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
changeMessageFlags(int startSequence, int endSequence, ImapMessageFlags flags)
public final void changeMessageFlags(int startSequence, int endSequence, ImapMessageFlags flags)
Changes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
startSequence | int | The starting sequence number of a message list |
endSequence | int | The ending sequence number of a message list |
flags | ImapMessageFlags | The flags to be removed |
changeMessageFlags(int startSequence, int endSequence, ImapMessageFlags flags, long modificationSequence)
public final void changeMessageFlags(int startSequence, int endSequence, ImapMessageFlags flags, long modificationSequence)
Changes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
startSequence | int | The starting sequence number of a message list |
endSequence | int | The ending sequence number of a message list |
flags | ImapMessageFlags | The flags to be removed |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
changeMessageFlags(Iterable messageInfoSet, ImapMessageFlags flags)
public final void changeMessageFlags(Iterable<ImapMessageInfo> messageInfoSet, ImapMessageFlags flags)
Changes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
messageInfoSet | java.lang.Iterable<com.aspose.email.ImapMessageInfo> | The set of ImapMessageInfo |
flags | ImapMessageFlags | The flags to be changed |
changeMessageFlags(Iterable messageInfoSet, ImapMessageFlags flags, long modificationSequence)
public final void changeMessageFlags(Iterable<ImapMessageInfo> messageInfoSet, ImapMessageFlags flags, long modificationSequence)
Changes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
messageInfoSet | java.lang.Iterable<com.aspose.email.ImapMessageInfo> | The set of ImapMessageInfo |
flags | ImapMessageFlags | The flags to be changed |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
changeMessageFlags(String uniqueId, ImapMessageFlags flags)
public final void changeMessageFlags(String uniqueId, ImapMessageFlags flags)
Changes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
uniqueId | java.lang.String | The uid of the message |
flags | ImapMessageFlags | The flags to be changed |
changeMessageFlags(String uniqueId, ImapMessageFlags flags, long modificationSequence)
public final void changeMessageFlags(String uniqueId, ImapMessageFlags flags, long modificationSequence)
Changes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
uniqueId | java.lang.String | The uid of the message |
flags | ImapMessageFlags | The flags to be changed |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
changeMessageFlags(String startUid, String endUid, ImapMessageFlags flags)
public final void changeMessageFlags(String startUid, String endUid, ImapMessageFlags flags)
Changes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
startUid | java.lang.String | The starting UID of a message list |
endUid | java.lang.String | The ending UID of a message list |
flags | ImapMessageFlags | The flags to be changed |
changeMessageFlags(String startUid, String endUid, ImapMessageFlags flags, long modificationSequence)
public final void changeMessageFlags(String startUid, String endUid, ImapMessageFlags flags, long modificationSequence)
Changes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
startUid | java.lang.String | The starting UID of a message list |
endUid | java.lang.String | The ending UID of a message list |
flags | ImapMessageFlags | The flags to be changed |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
changeMessageFlagsBySequences(IConnection connection, Iterable sequenceSet, ImapMessageFlags flags)
public final void changeMessageFlagsBySequences(IConnection connection, Iterable<Integer> sequenceSet, ImapMessageFlags flags)
Changes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceSet | java.lang.Iterable<java.lang.Integer> | The set of sequence numbers for messages |
flags | ImapMessageFlags | The flags to be removed |
changeMessageFlagsBySequences(IConnection connection, Iterable sequenceSet, ImapMessageFlags flags, long modificationSequence)
public final void changeMessageFlagsBySequences(IConnection connection, Iterable<Integer> sequenceSet, ImapMessageFlags flags, long modificationSequence)
Changes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceSet | java.lang.Iterable<java.lang.Integer> | The set of sequence numbers for messages |
flags | ImapMessageFlags | The flags to be removed |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
changeMessageFlagsBySequences(Iterable sequenceSet, ImapMessageFlags flags)
public final void changeMessageFlagsBySequences(Iterable<Integer> sequenceSet, ImapMessageFlags flags)
Changes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
sequenceSet | java.lang.Iterable<java.lang.Integer> | The set of sequence numbers for messages |
flags | ImapMessageFlags | The flags to be removed |
changeMessageFlagsBySequences(Iterable sequenceSet, ImapMessageFlags flags, long modificationSequence)
public final void changeMessageFlagsBySequences(Iterable<Integer> sequenceSet, ImapMessageFlags flags, long modificationSequence)
Changes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
sequenceSet | java.lang.Iterable<java.lang.Integer> | The set of sequence numbers for messages |
flags | ImapMessageFlags | The flags to be removed |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
changeMessageFlagsByUids(IConnection connection, Iterable uidSet, ImapMessageFlags flags)
public final void changeMessageFlagsByUids(IConnection connection, Iterable<String> uidSet, ImapMessageFlags flags)
Changes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uidSet | java.lang.Iterable<java.lang.String> | The set of UID for messages |
flags | ImapMessageFlags | The flags to be changed |
changeMessageFlagsByUids(IConnection connection, Iterable uidSet, ImapMessageFlags flags, long modificationSequence)
public final void changeMessageFlagsByUids(IConnection connection, Iterable<String> uidSet, ImapMessageFlags flags, long modificationSequence)
Changes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uidSet | java.lang.Iterable<java.lang.String> | The set of UID for messages |
flags | ImapMessageFlags | The flags to be changed |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
changeMessageFlagsByUids(Iterable uidSet, ImapMessageFlags flags)
public final void changeMessageFlagsByUids(Iterable<String> uidSet, ImapMessageFlags flags)
Changes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
uidSet | java.lang.Iterable<java.lang.String> | The set of UID for messages |
flags | ImapMessageFlags | The flags to be changed |
changeMessageFlagsByUids(Iterable uidSet, ImapMessageFlags flags, long modificationSequence)
public final void changeMessageFlagsByUids(Iterable<String> uidSet, ImapMessageFlags flags, long modificationSequence)
Changes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
uidSet | java.lang.Iterable<java.lang.String> | The set of UID for messages |
flags | ImapMessageFlags | The flags to be changed |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
clientCapabilities(IConnection connection, String[] capabilityNames)
public final String[] clientCapabilities(IConnection connection, String[] capabilityNames)
Notifies server which extensions are supported by client. Please note, this operation works only in case if server supports RFC5161 See more https://tools.ietf.org/html/rfc5161
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
capabilityNames | java.lang.String[] | Array of capabilities which are supported by client |
Returns: java.lang.String[] - Returns array with capabilities which are supported by a server.
clientCapabilities(String[] capabilityNames)
public final String[] clientCapabilities(String[] capabilityNames)
Notifies server which extensions are supported by client. Please note, this operation works only in case if server supports RFC5161 See more https://tools.ietf.org/html/rfc5161
Parameters:
Parameter | Type | Description |
---|---|---|
capabilityNames | java.lang.String[] | Array of capabilities which are supported by client |
Returns: java.lang.String[] - Returns array with capabilities which are supported by a server.
close()
public void close()
commitDeletes()
public final void commitDeletes()
Commit the deletions
commitDeletes(IConnection connection)
public final void commitDeletes(IConnection connection)
Commit the deletions
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
commitDeletes(IConnection connection, int sleep)
public final void commitDeletes(IConnection connection, int sleep)
Commit the deletions
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sleep | int | Wait time complete the operation in milliseconds |
commitDeletes(IConnection connection, Iterable uidSet)
public final void commitDeletes(IConnection connection, Iterable<String> uidSet)
Commit the deletions This method works only if server supports UIDPLUS extension. Please, read more https://tools.ietf.org/html/rfc4315
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uidSet | java.lang.Iterable<java.lang.String> | Set of unique identifiers for messages |
commitDeletes(IConnection connection, String uniqueId)
public final void commitDeletes(IConnection connection, String uniqueId)
Commit the deletions
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uniqueId | java.lang.String | The uid of a message |
commitDeletes(IConnection connection, String startUid, String endUid)
public final void commitDeletes(IConnection connection, String startUid, String endUid)
Commit the deletions This method works only if server supports UIDPLUS extension. Please, read more https://tools.ietf.org/html/rfc4315
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
startUid | java.lang.String | The starting UID of a message list |
endUid | java.lang.String | The ending UID of a message list |
commitDeletes(int sleep)
public final void commitDeletes(int sleep)
Commit the deletions
Parameters:
Parameter | Type | Description |
---|---|---|
sleep | int | Wait time complete the operation in milliseconds |
commitDeletes(Iterable uidSet)
public final void commitDeletes(Iterable<String> uidSet)
Commit the deletions This method works only if server supports UIDPLUS extension. Please, read more https://tools.ietf.org/html/rfc4315
Parameters:
Parameter | Type | Description |
---|---|---|
uidSet | java.lang.Iterable<java.lang.String> | Set of unique identifiers for messages |
commitDeletes(String uniqueId)
public final void commitDeletes(String uniqueId)
Commit the deletions This method works only if server supports UIDPLUS extension. Please, read more https://tools.ietf.org/html/rfc4315
Parameters:
Parameter | Type | Description |
---|---|---|
uniqueId | java.lang.String | The uid of a message |
commitDeletes(String startUid, String endUid)
public final void commitDeletes(String startUid, String endUid)
Commit the deletions This method works only if server supports UIDPLUS extension. Please, read more https://tools.ietf.org/html/rfc4315
Parameters:
Parameter | Type | Description |
---|---|---|
startUid | java.lang.String | The starting UID of a message list |
endUid | java.lang.String | The ending UID of a message list |
connectIPEndPoint(BindIPEndPointHandler handler)
public void connectIPEndPoint(BindIPEndPointHandler handler)
Associates a Socket with a remote endpoint.
Parameters:
Parameter | Type | Description |
---|---|---|
handler | BindIPEndPointHandler |
copyMessage(IConnection connection, int sequenceNumber, String folderName)
public final String copyMessage(IConnection connection, int sequenceNumber, String folderName)
Copies the message
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceNumber | int | The sequence number of the message |
folderName | java.lang.String | Folder name where a message is to be copied |
Returns: java.lang.String - If server supports UIDPLUS extension returns unique id of the copied message, otherwise returns null Please, read more https://tools.ietf.org/html/rfc4315
copyMessage(IConnection connection, String uniqueId, String folderName)
public final String copyMessage(IConnection connection, String uniqueId, String folderName)
Copies the message
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uniqueId | java.lang.String | The uid of the message |
folderName | java.lang.String | Folder name where a message is to be copied |
Returns: java.lang.String - If server supports UIDPLUS extension returns unique id of the copied message, otherwise returns null Please, read more https://tools.ietf.org/html/rfc4315
copyMessage(int sequenceNumber, String folderName)
public final String copyMessage(int sequenceNumber, String folderName)
Copies the message
Parameters:
Parameter | Type | Description |
---|---|---|
sequenceNumber | int | The sequence number of the message |
folderName | java.lang.String | Folder name where a message is to be copied |
Returns: java.lang.String - If server supports UIDPLUS extension returns unique id of the copied message, otherwise returns null Please, read more https://tools.ietf.org/html/rfc4315
copyMessage(String uniqueId, String folderName)
public final String copyMessage(String uniqueId, String folderName)
Copies the message
Parameters:
Parameter | Type | Description |
---|---|---|
uniqueId | java.lang.String | The uid of the message |
folderName | java.lang.String | Folder name where a message is to be copied |
Returns: java.lang.String - If server supports UIDPLUS extension returns unique id of the copied message, otherwise returns null Please, read more https://tools.ietf.org/html/rfc4315
copyMessages(IConnection connection, int startSequence, int endSequence, String folderName)
public final void copyMessages(IConnection connection, int startSequence, int endSequence, String folderName)
Copy the messaeg
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
startSequence | int | The starting sequence number of a message list |
endSequence | int | The ending sequence number of a message list |
folderName | java.lang.String | Folder name where a message is to be moved |
copyMessages(IConnection connection, Iterable messageInfoSet, String folderName)
public final void copyMessages(IConnection connection, Iterable<ImapMessageInfo> messageInfoSet, String folderName)
Copy messages
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
messageInfoSet | java.lang.Iterable<com.aspose.email.ImapMessageInfo> | The set of ImapMessageInfo |
folderName | java.lang.String | Folder name where a message is to be moved |
copyMessages(IConnection connection, String startUid, String endUid, String folderName)
public final void copyMessages(IConnection connection, String startUid, String endUid, String folderName)
Copy messages
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
startUid | java.lang.String | The starting UID of a message list |
endUid | java.lang.String | The ending UID of a message list |
folderName | java.lang.String | Folder name where a message is to be moved |
copyMessages(int startSequence, int endSequence, String folderName)
public final void copyMessages(int startSequence, int endSequence, String folderName)
Copy messages
Parameters:
Parameter | Type | Description |
---|---|---|
startSequence | int | The starting sequence number of a message list |
endSequence | int | The ending sequence number of a message list |
folderName | java.lang.String | Folder name where a message is to be moved |
copyMessages(Iterable messageInfoSet, String folderName)
public final void copyMessages(Iterable<ImapMessageInfo> messageInfoSet, String folderName)
Copy messages
Parameters:
Parameter | Type | Description |
---|---|---|
messageInfoSet | java.lang.Iterable<com.aspose.email.ImapMessageInfo> | The set of ImapMessageInfo |
folderName | java.lang.String | Folder name where a message is to be moved |
copyMessages(String startUid, String endUid, String folderName)
public final void copyMessages(String startUid, String endUid, String folderName)
Copy messages
Parameters:
Parameter | Type | Description |
---|---|---|
startUid | java.lang.String | The starting UID of a message list |
endUid | java.lang.String | The ending UID of a message list |
folderName | java.lang.String | Folder name where a message is to be moved |
copyMessagesBySequences(IConnection connection, Iterable sequenceSet, String folderName)
public final void copyMessagesBySequences(IConnection connection, Iterable<Integer> sequenceSet, String folderName)
Copy the messaeg
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceSet | java.lang.Iterable<java.lang.Integer> | The set of sequence numbers for messages |
folderName | java.lang.String | Folder name where a message is to be moved |
copyMessagesBySequences(Iterable sequenceSet, String folderName)
public final void copyMessagesBySequences(Iterable<Integer> sequenceSet, String folderName)
Copy messages
Parameters:
Parameter | Type | Description |
---|---|---|
sequenceSet | java.lang.Iterable<java.lang.Integer> | The set of sequence numbers for messages |
folderName | java.lang.String | Folder name where a message is to be moved |
copyMessagesBySequences(Iterable sequenceSet, String folderName, boolean commitDeletions)
public final void copyMessagesBySequences(Iterable<Integer> sequenceSet, String folderName, boolean commitDeletions)
Copy messages
Parameters:
Parameter | Type | Description |
---|---|---|
sequenceSet | java.lang.Iterable<java.lang.Integer> | The set of sequence numbers for messages |
folderName | java.lang.String | Folder name where a message is to be moved |
commitDeletions | boolean | Specifies whether deletions should be committed. |
copyMessagesByUids(IConnection connection, Iterable uidSet, String folderName)
public final void copyMessagesByUids(IConnection connection, Iterable<String> uidSet, String folderName)
Copy messages
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uidSet | java.lang.Iterable<java.lang.String> | The set of UID for messages |
folderName | java.lang.String | Folder name where a message is to be moved |
copyMessagesByUids(Iterable uidSet, String folderName)
public final void copyMessagesByUids(Iterable<String> uidSet, String folderName)
Copy messages
Parameters:
Parameter | Type | Description |
---|---|---|
uidSet | java.lang.Iterable<java.lang.String> | The set of UID for messages |
folderName | java.lang.String | Folder name where a message is to be moved |
createConnection()
public IConnection createConnection()
Creates new independent connection for operations not linked to threads (not default connection). Invocation of this method is similar to invocation of CreateConnection(createAsDefaultConnection = false) Please see more in documentation for EmailClient.ConnectionAsgmtMode property.
Returns: IConnection - Returns connection object
createConnection(boolean createAsDefaultConnection)
public IConnection createConnection(boolean createAsDefaultConnection)
Creates new (default or independent) connection for operations. Please see more in documentation for EmailClient.ConnectionAsgmtMode property.
Parameters:
Parameter | Type | Description |
---|---|---|
createAsDefaultConnection | boolean | Indicates if connection has to be created as default for current thread |
Returns: IConnection - Returns connection object
createFolder(IConnection connection, String folderName)
public final void createFolder(IConnection connection, String folderName)
Creates a folder with the specified name
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
folderName | java.lang.String | Folder to be created |
createFolder(String folderName)
public final void createFolder(String folderName)
Creates a folder with the specified name
Parameters:
Parameter | Type | Description |
---|---|---|
folderName | java.lang.String | Folder to be created |
deleteFolder(IConnection connection, String folderName)
public final void deleteFolder(IConnection connection, String folderName)
Deletes a specified folder. This method represents IMAP DELETE command
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
folderName | java.lang.String | Folder to be deleted |
deleteFolder(String folderName)
public final void deleteFolder(String folderName)
Deletes a specified folder. This method represents IMAP DELETE command
Parameters:
Parameter | Type | Description |
---|---|---|
folderName | java.lang.String | Folder to be deleted |
deleteMessage(IConnection connection, int sequenceNumber)
public final void deleteMessage(IConnection connection, int sequenceNumber)
Marks a message with the specified sequence number as deleted
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceNumber | int | Sequence number of a message |
deleteMessage(IConnection connection, int sequenceNumber, long modificationSequence)
public final void deleteMessage(IConnection connection, int sequenceNumber, long modificationSequence)
Marks a message with the specified sequence number as deleted
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceNumber | int | Sequence number of a message |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
deleteMessage(IConnection connection, String uniqueId)
public final void deleteMessage(IConnection connection, String uniqueId)
Marks a message with the specified sequence number as deleted
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uniqueId | java.lang.String | The uid of the message |
deleteMessage(IConnection connection, String uniqueId, boolean commitNow)
public final void deleteMessage(IConnection connection, String uniqueId, boolean commitNow)
Marks a message with the specified unique identifier as deleted and commits the deletions if user specifies this. This method works only if server supports UIDPLUS extension. Please, read more https://tools.ietf.org/html/rfc4315
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uniqueId | java.lang.String | The uid of the message |
commitNow | boolean | Defines whether message must be commited now. Please, read more https://tools.ietf.org/html/rfc4315 |
deleteMessage(IConnection connection, String uniqueId, long modificationSequence)
public final void deleteMessage(IConnection connection, String uniqueId, long modificationSequence)
Marks a message with the specified unique identifier as deleted
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uniqueId | java.lang.String | The uid of the message |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
deleteMessage(IConnection connection, String uniqueId, long modificationSequence, boolean commitNow)
public final void deleteMessage(IConnection connection, String uniqueId, long modificationSequence, boolean commitNow)
Marks a message with the specified unique identifier as deleted and commits the deletions if user specifies this. This method works only if server supports UIDPLUS extension. Please, read more https://tools.ietf.org/html/rfc4315
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uniqueId | java.lang.String | The uid of the message |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
commitNow | boolean | Defines whether message must be commited now. Please, read more https://tools.ietf.org/html/rfc4315 |
deleteMessage(int sequenceNumber)
public final void deleteMessage(int sequenceNumber)
Marks a message with the specified sequence number as deleted
Parameters:
Parameter | Type | Description |
---|---|---|
sequenceNumber | int | Sequence number of a message |
deleteMessage(int sequenceNumber, long modificationSequence)
public final void deleteMessage(int sequenceNumber, long modificationSequence)
Marks a message with the specified sequence number as deleted
Parameters:
Parameter | Type | Description |
---|---|---|
sequenceNumber | int | Sequence number of a message |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
deleteMessage(String uniqueId)
public final void deleteMessage(String uniqueId)
Marks a message with the specified sequence number as deleted
Parameters:
Parameter | Type | Description |
---|---|---|
uniqueId | java.lang.String | The uid of the message |
deleteMessage(String uniqueId, boolean commitNow)
public final void deleteMessage(String uniqueId, boolean commitNow)
Marks a message with the specified unique identifier as deleted and commits the deletions if user specifies this. This method works only if server supports UIDPLUS extension. Please, read more https://tools.ietf.org/html/rfc4315
Parameters:
Parameter | Type | Description |
---|---|---|
uniqueId | java.lang.String | The uid of the message |
commitNow | boolean | Defines whether message must be commited now. Please, read more https://tools.ietf.org/html/rfc4315 |
deleteMessage(String uniqueId, long modificationSequence)
public final void deleteMessage(String uniqueId, long modificationSequence)
Marks a message with the specified unique identifier as deleted
Parameters:
Parameter | Type | Description |
---|---|---|
uniqueId | java.lang.String | The uid of the message |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
deleteMessage(String uniqueId, long modificationSequence, boolean commitNow)
public final void deleteMessage(String uniqueId, long modificationSequence, boolean commitNow)
Marks a message with the specified unique identifier as deleted and commits the deletions if user specifies this. This method works only if server supports UIDPLUS extension. Please, read more https://tools.ietf.org/html/rfc4315
Parameters:
Parameter | Type | Description |
---|---|---|
uniqueId | java.lang.String | The uid of the message |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
commitNow | boolean | Defines whether message must be commited now. Please, read more https://tools.ietf.org/html/rfc4315 |
deleteMessages(IConnection connection, int startSequence, int endSequence)
public final void deleteMessages(IConnection connection, int startSequence, int endSequence)
Marks a message with the specified sequence number as deleted
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
startSequence | int | The starting sequence number of a message list |
endSequence | int | The ending sequence number of a message list |
deleteMessages(IConnection connection, int startSequence, int endSequence, long modificationSequence)
public final void deleteMessages(IConnection connection, int startSequence, int endSequence, long modificationSequence)
Marks a message with the specified sequence number as deleted
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
startSequence | int | The starting sequence number of a message list |
endSequence | int | The ending sequence number of a message list |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
deleteMessages(IConnection connection, Iterable messageInfoSet)
public final void deleteMessages(IConnection connection, Iterable<ImapMessageInfo> messageInfoSet)
Marks a message with the specified sequence number as deleted
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
messageInfoSet | java.lang.Iterable<com.aspose.email.ImapMessageInfo> | The set of ImapMessageInfo for deletion |
deleteMessages(IConnection connection, Iterable messageInfoSet, boolean commitNow)
public final void deleteMessages(IConnection connection, Iterable<ImapMessageInfo> messageInfoSet, boolean commitNow)
Marks a message with the specified unique identifier as deleted and commits the deletions if user specifies this. This method works only if server supports UIDPLUS extension. Please, read more https://tools.ietf.org/html/rfc4315
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
messageInfoSet | java.lang.Iterable<com.aspose.email.ImapMessageInfo> | The set of ImapMessageInfo for deletion |
commitNow | boolean | Defines whether message must be commited now. Please, read more https://tools.ietf.org/html/rfc4315 |
deleteMessages(IConnection connection, Iterable messageInfoSet, long modificationSequence)
public final void deleteMessages(IConnection connection, Iterable<ImapMessageInfo> messageInfoSet, long modificationSequence)
Marks a message with the specified unique identifier as deleted
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
messageInfoSet | java.lang.Iterable<com.aspose.email.ImapMessageInfo> | The set of ImapMessageInfo for deletion |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
deleteMessages(IConnection connection, Iterable messageInfoSet, long modificationSequence, boolean commitNow)
public final void deleteMessages(IConnection connection, Iterable<ImapMessageInfo> messageInfoSet, long modificationSequence, boolean commitNow)
Marks a message with the specified unique identifier as deleted and commits the deletions if user specifies this. This method works only if server supports UIDPLUS extension. Please, read more https://tools.ietf.org/html/rfc4315
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
messageInfoSet | java.lang.Iterable<com.aspose.email.ImapMessageInfo> | The set of ImapMessageInfo for deletion |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
commitNow | boolean | Defines whether message must be commited now. Please, read more https://tools.ietf.org/html/rfc4315 |
deleteMessages(IConnection connection, String startUid, String endUid)
public final void deleteMessages(IConnection connection, String startUid, String endUid)
Marks a message with the specified sequence number as deleted
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
startUid | java.lang.String | The starting UID of a message list |
endUid | java.lang.String | The ending UID of a message list |
deleteMessages(IConnection connection, String startUid, String endUid, boolean commitNow)
public final void deleteMessages(IConnection connection, String startUid, String endUid, boolean commitNow)
Marks a message with the specified unique identifier as deleted and commits the deletions if user specifies this. This method works only if server supports UIDPLUS extension. Please, read more https://tools.ietf.org/html/rfc4315
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
startUid | java.lang.String | The starting UID of a message list |
endUid | java.lang.String | The ending UID of a message list |
commitNow | boolean | Defines whether message must be commited now. Please, read more https://tools.ietf.org/html/rfc4315 |
deleteMessages(IConnection connection, String startUid, String endUid, long modificationSequence)
public final void deleteMessages(IConnection connection, String startUid, String endUid, long modificationSequence)
Marks a message with the specified unique identifier as deleted
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
startUid | java.lang.String | The starting UID of a message list |
endUid | java.lang.String | The ending UID of a message list |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
deleteMessages(IConnection connection, String startUid, String endUid, long modificationSequence, boolean commitNow)
public final void deleteMessages(IConnection connection, String startUid, String endUid, long modificationSequence, boolean commitNow)
Marks a message with the specified unique identifier as deleted and commits the deletions if user specifies this. This method works only if server supports UIDPLUS extension. Please, read more https://tools.ietf.org/html/rfc4315
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
startUid | java.lang.String | The starting UID of a message list |
endUid | java.lang.String | The ending UID of a message list |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
commitNow | boolean | Defines whether message must be commited now. Please, read more https://tools.ietf.org/html/rfc4315 |
deleteMessages(int startSequence, int endSequence)
public final void deleteMessages(int startSequence, int endSequence)
Marks a message with the specified sequence number as deleted
Parameters:
Parameter | Type | Description |
---|---|---|
startSequence | int | The starting sequence number of a message list |
endSequence | int | The ending sequence number of a message list |
deleteMessages(int startSequence, int endSequence, long modificationSequence)
public final void deleteMessages(int startSequence, int endSequence, long modificationSequence)
Marks a message with the specified sequence number as deleted
Parameters:
Parameter | Type | Description |
---|---|---|
startSequence | int | The starting sequence number of a message list |
endSequence | int | The ending sequence number of a message list |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
deleteMessages(Iterable messageInfoSet)
public final void deleteMessages(Iterable<ImapMessageInfo> messageInfoSet)
Marks a message with the specified sequence number as deleted
Parameters:
Parameter | Type | Description |
---|---|---|
messageInfoSet | java.lang.Iterable<com.aspose.email.ImapMessageInfo> | The set of ImapMessageInfo for deletion |
deleteMessages(Iterable messageInfoSet, boolean commitNow)
public final void deleteMessages(Iterable<ImapMessageInfo> messageInfoSet, boolean commitNow)
Marks a message with the specified unique identifier as deleted and commits the deletions if user specifies this. This method works only if server supports UIDPLUS extension. Please, read more https://tools.ietf.org/html/rfc4315
Parameters:
Parameter | Type | Description |
---|---|---|
messageInfoSet | java.lang.Iterable<com.aspose.email.ImapMessageInfo> | The set of ImapMessageInfo for deletion |
commitNow | boolean | Defines whether message must be commited now. Please, read more https://tools.ietf.org/html/rfc4315 |
deleteMessages(Iterable messageInfoSet, long modificationSequence)
public final void deleteMessages(Iterable<ImapMessageInfo> messageInfoSet, long modificationSequence)
Marks a message with the specified unique identifier as deleted
Parameters:
Parameter | Type | Description |
---|---|---|
messageInfoSet | java.lang.Iterable<com.aspose.email.ImapMessageInfo> | The set of ImapMessageInfo for deletion |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
deleteMessages(Iterable messageInfoSet, long modificationSequence, boolean commitNow)
public final void deleteMessages(Iterable<ImapMessageInfo> messageInfoSet, long modificationSequence, boolean commitNow)
Marks a message with the specified unique identifier as deleted and commits the deletions if user specifies this. This method works only if server supports UIDPLUS extension. Please, read more https://tools.ietf.org/html/rfc4315
Parameters:
Parameter | Type | Description |
---|---|---|
messageInfoSet | java.lang.Iterable<com.aspose.email.ImapMessageInfo> | The set of ImapMessageInfo for deletion |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
commitNow | boolean | Defines whether message must be commited now. Please, read more https://tools.ietf.org/html/rfc4315 |
deleteMessages(String startUid, String endUid)
public final void deleteMessages(String startUid, String endUid)
Marks a message with the specified sequence number as deleted
Parameters:
Parameter | Type | Description |
---|---|---|
startUid | java.lang.String | The starting UID of a message list |
endUid | java.lang.String | The ending UID of a message list |
deleteMessages(String startUid, String endUid, boolean commitNow)
public final void deleteMessages(String startUid, String endUid, boolean commitNow)
Marks a message with the specified unique identifier as deleted and commits the deletions if user specifies this. This method works only if server supports UIDPLUS extension. Please, read more https://tools.ietf.org/html/rfc4315
Parameters:
Parameter | Type | Description |
---|---|---|
startUid | java.lang.String | The starting UID of a message list |
endUid | java.lang.String | The ending UID of a message list |
commitNow | boolean | Defines whether message must be commited now. Please, read more https://tools.ietf.org/html/rfc4315 |
deleteMessages(String startUid, String endUid, long modificationSequence)
public final void deleteMessages(String startUid, String endUid, long modificationSequence)
Marks a message with the specified unique identifier as deleted
Parameters:
Parameter | Type | Description |
---|---|---|
startUid | java.lang.String | The starting UID of a message list |
endUid | java.lang.String | The ending UID of a message list |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
deleteMessages(String startUid, String endUid, long modificationSequence, boolean commitNow)
public final void deleteMessages(String startUid, String endUid, long modificationSequence, boolean commitNow)
Marks a message with the specified unique identifier as deleted and commits the deletions if user specifies this. This method works only if server supports UIDPLUS extension. Please, read more https://tools.ietf.org/html/rfc4315
Parameters:
Parameter | Type | Description |
---|---|---|
startUid | java.lang.String | The starting UID of a message list |
endUid | java.lang.String | The ending UID of a message list |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
commitNow | boolean | Defines whether message must be commited now. Please, read more https://tools.ietf.org/html/rfc4315 |
deleteMessagesBySequences(IConnection connection, Iterable sequenceSet)
public final void deleteMessagesBySequences(IConnection connection, Iterable<Integer> sequenceSet)
Marks a message with the specified sequence number as deleted
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceSet | java.lang.Iterable<java.lang.Integer> | The set of sequence numbers for messages |
deleteMessagesBySequences(IConnection connection, Iterable sequenceSet, long modificationSequence)
public final void deleteMessagesBySequences(IConnection connection, Iterable<Integer> sequenceSet, long modificationSequence)
Marks a message with the specified sequence number as deleted
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceSet | java.lang.Iterable<java.lang.Integer> | The set of sequence numbers for messages |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
deleteMessagesBySequences(Iterable sequenceSet)
public final void deleteMessagesBySequences(Iterable<Integer> sequenceSet)
Marks a message with the specified sequence number as deleted
Parameters:
Parameter | Type | Description |
---|---|---|
sequenceSet | java.lang.Iterable<java.lang.Integer> | The set of sequence numbers for messages |
deleteMessagesBySequences(Iterable sequenceSet, long modificationSequence)
public final void deleteMessagesBySequences(Iterable<Integer> sequenceSet, long modificationSequence)
Marks a message with the specified sequence number as deleted
Parameters:
Parameter | Type | Description |
---|---|---|
sequenceSet | java.lang.Iterable<java.lang.Integer> | The set of sequence numbers for messages |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
deleteMessagesByUids(IConnection connection, Iterable uidSet)
public final void deleteMessagesByUids(IConnection connection, Iterable<String> uidSet)
Marks a message with the specified sequence number as deleted
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uidSet | java.lang.Iterable<java.lang.String> | The set of UID for messages |
deleteMessagesByUids(IConnection connection, Iterable uidSet, boolean commitNow)
public final void deleteMessagesByUids(IConnection connection, Iterable<String> uidSet, boolean commitNow)
Marks a message with the specified unique identifier as deleted and commits the deletions if user specifies this. This method works only if server supports UIDPLUS extension. Please, read more https://tools.ietf.org/html/rfc4315
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uidSet | java.lang.Iterable<java.lang.String> | The set of UID for messages |
commitNow | boolean | Defines whether message must be commited now. Please, read more https://tools.ietf.org/html/rfc4315 |
deleteMessagesByUids(IConnection connection, Iterable uidSet, long modificationSequence)
public final void deleteMessagesByUids(IConnection connection, Iterable<String> uidSet, long modificationSequence)
Marks a message with the specified unique identifier as deleted
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uidSet | java.lang.Iterable<java.lang.String> | The set of UID for messages |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
deleteMessagesByUids(IConnection connection, Iterable uidSet, long modificationSequence, boolean commitNow)
public final void deleteMessagesByUids(IConnection connection, Iterable<String> uidSet, long modificationSequence, boolean commitNow)
Marks a message with the specified unique identifier as deleted and commits the deletions if user specifies this. This method works only if server supports UIDPLUS extension. Please, read more https://tools.ietf.org/html/rfc4315
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uidSet | java.lang.Iterable<java.lang.String> | The set of UID for messages |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
commitNow | boolean | Defines whether message must be commited now. Please, read more https://tools.ietf.org/html/rfc4315 |
deleteMessagesByUids(Iterable uidSet)
public final void deleteMessagesByUids(Iterable<String> uidSet)
Marks a message with the specified sequence number as deleted
Parameters:
Parameter | Type | Description |
---|---|---|
uidSet | java.lang.Iterable<java.lang.String> | The set of UID for messages |
deleteMessagesByUids(Iterable uidSet, boolean commitNow)
public final void deleteMessagesByUids(Iterable<String> uidSet, boolean commitNow)
Marks a message with the specified unique identifier as deleted and commits the deletions if user specifies this. This method works only if server supports UIDPLUS extension. Please, read more https://tools.ietf.org/html/rfc4315
Parameters:
Parameter | Type | Description |
---|---|---|
uidSet | java.lang.Iterable<java.lang.String> | The set of UID for messages |
commitNow | boolean | Defines whether message must be commited now. Please, read more https://tools.ietf.org/html/rfc4315 |
deleteMessagesByUids(Iterable uidSet, long modificationSequence)
public final void deleteMessagesByUids(Iterable<String> uidSet, long modificationSequence)
Marks a message with the specified unique identifier as deleted
Parameters:
Parameter | Type | Description |
---|---|---|
uidSet | java.lang.Iterable<java.lang.String> | The set of UID for messages |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
deleteMessagesByUids(Iterable uidSet, long modificationSequence, boolean commitNow)
public final void deleteMessagesByUids(Iterable<String> uidSet, long modificationSequence, boolean commitNow)
Marks a message with the specified unique identifier as deleted and commits the deletions if user specifies this. This method works only if server supports UIDPLUS extension. Please, read more https://tools.ietf.org/html/rfc4315
Parameters:
Parameter | Type | Description |
---|---|---|
uidSet | java.lang.Iterable<java.lang.String> | The set of UID for messages |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
commitNow | boolean | Defines whether message must be commited now. Please, read more https://tools.ietf.org/html/rfc4315 |
dispose()
public void dispose()
Finalizes all operations with a server.
endAddMessageFlags(System.IAsyncResult asyncResult)
public final void endAddMessageFlags(System.IAsyncResult asyncResult)
Waits for the pending asynchronous operation to complete.
Parameters:
Parameter | Type | Description |
---|---|---|
asyncResult | com.aspose.ms.System.IAsyncResult | The reference to the pending asynchronous request to wait for. |
endAppendMessage(System.IAsyncResult asyncResult)
public final String endAppendMessage(System.IAsyncResult asyncResult)
Waits for the pending asynchronous operation to complete.
Parameters:
Parameter | Type | Description |
---|---|---|
asyncResult | com.aspose.ms.System.IAsyncResult | The reference to the pending asynchronous request to wait for. |
Returns: java.lang.String - An unique id of appended message
endAppendMessages(System.IAsyncResult asyncResult)
public final AppendMessagesResult endAppendMessages(System.IAsyncResult asyncResult)
Waits for the pending asynchronous operation to complete.
Parameters:
Parameter | Type | Description |
---|---|---|
asyncResult | com.aspose.ms.System.IAsyncResult | The reference to the pending asynchronous request to wait for. |
Returns: AppendMessagesResult - An unique id of appended message
endBackup(System.IAsyncResult asyncResult)
public final void endBackup(System.IAsyncResult asyncResult)
Waits for the pending asynchronous operation to complete.
Parameters:
Parameter | Type | Description |
---|---|---|
asyncResult | com.aspose.ms.System.IAsyncResult | The reference to the pending asynchronous request to wait for. |
endChangeMessageFlags(System.IAsyncResult asyncResult)
public final void endChangeMessageFlags(System.IAsyncResult asyncResult)
Waits for the pending asynchronous operation to complete.
Parameters:
Parameter | Type | Description |
---|---|---|
asyncResult | com.aspose.ms.System.IAsyncResult | The reference to the pending asynchronous request to wait for. |
endClientCapabilities(System.IAsyncResult asyncResult)
public final String[] endClientCapabilities(System.IAsyncResult asyncResult)
Waits for the pending asynchronous operation to complete. Please note, this operation works only in case if server supports RFC5161 See more https://tools.ietf.org/html/rfc5161
Parameters:
Parameter | Type | Description |
---|---|---|
asyncResult | com.aspose.ms.System.IAsyncResult | The reference to the pending asynchronous request to wait for. |
Returns: java.lang.String[] - Returns array with capabilities which are supported by a server.
endCommitDeletes(System.IAsyncResult asyncResult)
public final void endCommitDeletes(System.IAsyncResult asyncResult)
Waits for the pending asynchronous operation to complete.
Parameters:
Parameter | Type | Description |
---|---|---|
asyncResult | com.aspose.ms.System.IAsyncResult | The reference to the pending asynchronous request to wait for. |
endCopyMessage(System.IAsyncResult asyncResult)
public final String endCopyMessage(System.IAsyncResult asyncResult)
Waits for the pending asynchronous operation to complete.
Parameters:
Parameter | Type | Description |
---|---|---|
asyncResult | com.aspose.ms.System.IAsyncResult | The reference to the pending asynchronous request to wait for. |
Returns: java.lang.String - If server supports UIDPLUS extension returns unique id of the copied message, otherwise returns null Please, read more https://tools.ietf.org/html/rfc4315
endCopyMessages(System.IAsyncResult asyncResult)
public final void endCopyMessages(System.IAsyncResult asyncResult)
Waits for the pending asynchronous operation to complete.
Parameters:
Parameter | Type | Description |
---|---|---|
asyncResult | com.aspose.ms.System.IAsyncResult | The reference to the pending asynchronous request to wait for. |
endCreateFolder(System.IAsyncResult asyncResult)
public final void endCreateFolder(System.IAsyncResult asyncResult)
Waits for the pending asynchronous folder creation to complete.
Parameters:
Parameter | Type | Description |
---|---|---|
asyncResult | com.aspose.ms.System.IAsyncResult | The reference to the pending asynchronous request to wait for. |
endDeleteFolder(System.IAsyncResult asyncResult)
public final void endDeleteFolder(System.IAsyncResult asyncResult)
Waits for the pending asynchronous folder deletion to complete.
Parameters:
Parameter | Type | Description |
---|---|---|
asyncResult | com.aspose.ms.System.IAsyncResult | The reference to the pending asynchronous request to wait for. |
endDeleteMessage(System.IAsyncResult asyncResult)
public final void endDeleteMessage(System.IAsyncResult asyncResult)
Waits for the pending asynchronous message deletion to complete.
Parameters:
Parameter | Type | Description |
---|---|---|
asyncResult | com.aspose.ms.System.IAsyncResult | The reference to the pending asynchronous request to wait for. |
endDeleteMessages(System.IAsyncResult asyncResult)
public final void endDeleteMessages(System.IAsyncResult asyncResult)
Waits for the pending asynchronous message deletion to complete.
Parameters:
Parameter | Type | Description |
---|---|---|
asyncResult | com.aspose.ms.System.IAsyncResult | The reference to the pending asynchronous request to wait for. |
endExistFolder(System.IAsyncResult asyncResult)
public final boolean endExistFolder(System.IAsyncResult asyncResult)
Waits for the pending asynchronous operation to complete.
Parameters:
Parameter | Type | Description |
---|---|---|
asyncResult | com.aspose.ms.System.IAsyncResult | The reference to the pending asynchronous request to wait for. |
Returns: boolean - Returns true if the folder is existing, otherwise returns false
endExistFolder(System.IAsyncResult asyncResult, ImapFolderInfo[] folderInfo)
public final boolean endExistFolder(System.IAsyncResult asyncResult, ImapFolderInfo[] folderInfo)
Waits for the pending asynchronous operation to complete.
Parameters:
Parameter | Type | Description |
---|---|---|
asyncResult | com.aspose.ms.System.IAsyncResult | The reference to the pending asynchronous request to wait for. |
folderInfo | ImapFolderInfo[] | Folder information |
Returns: boolean - Returns true if the folder is existing, otherwise returns false
endFetchAttachment(System.IAsyncResult asyncResult)
public final Attachment endFetchAttachment(System.IAsyncResult asyncResult)
Waits for the asynchronous operation to complete.
Parameters:
Parameter | Type | Description |
---|---|---|
asyncResult | com.aspose.ms.System.IAsyncResult | The reference to the pending asynchronous request to wait for. |
Returns: Attachment
endFetchMessage(System.IAsyncResult asyncResult)
public final MailMessage endFetchMessage(System.IAsyncResult asyncResult)
Waits for the pending asynchronous message fetching to complete.
Parameters:
Parameter | Type | Description |
---|---|---|
asyncResult | com.aspose.ms.System.IAsyncResult | The reference to the pending asynchronous request to wait for. |
Returns: MailMessage - The MailMessage that represents message.
endFetchMessages(System.IAsyncResult asyncResult)
public final Iterable<MailMessage> endFetchMessages(System.IAsyncResult asyncResult)
Waits for the asynchronous operation to complete.
Parameters:
Parameter | Type | Description |
---|---|---|
asyncResult | com.aspose.ms.System.IAsyncResult | The reference to the pending asynchronous request to wait for. |
Returns: java.lang.Iterable<com.aspose.email.MailMessage> - List of MailMessage objects
endGetFolderInfo(System.IAsyncResult asyncResult)
public final ImapFolderInfo endGetFolderInfo(System.IAsyncResult asyncResult)
Waits for the pending asynchronous folder listing to complete.
Parameters:
Parameter | Type | Description |
---|---|---|
asyncResult | com.aspose.ms.System.IAsyncResult | The reference to the pending asynchronous request to wait for. |
Returns: ImapFolderInfo - The specified folder information
endGetMessageThreads(System.IAsyncResult asyncResult)
public final List<MessageThreadResult> endGetMessageThreads(System.IAsyncResult asyncResult)
Waits for the pending asynchronous folder deletion to complete.
Parameters:
Parameter | Type | Description |
---|---|---|
asyncResult | com.aspose.ms.System.IAsyncResult | The reference to the pending asynchronous request to wait for. |
Returns: java.util.List<com.aspose.email.MessageThreadResult>
endGetNamespaces(System.IAsyncResult asyncResult)
public final ImapNamespace[] endGetNamespaces(System.IAsyncResult asyncResult)
Waits for the pending asynchronous operation to complete.
Parameters:
Parameter | Type | Description |
---|---|---|
asyncResult | com.aspose.ms.System.IAsyncResult | The reference to the pending asynchronous request to wait for. |
Returns: com.aspose.email.ImapNamespace[] - Returns namespaces that are available on a server.
endGetQuota(System.IAsyncResult asyncResult)
public final ImapQuota[] endGetQuota(System.IAsyncResult asyncResult)
Waits for the pending asynchronous operation to complete.
Parameters:
Parameter | Type | Description |
---|---|---|
asyncResult | com.aspose.ms.System.IAsyncResult | The reference to the pending asynchronous request to wait for. |
Returns: com.aspose.email.ImapQuota[] - Quota information
endGetQuotaRoot(System.IAsyncResult asyncResult)
public final ImapQuotaRoot[] endGetQuotaRoot(System.IAsyncResult asyncResult)
Waits for the pending asynchronous operation to complete.
Parameters:
Parameter | Type | Description |
---|---|---|
asyncResult | com.aspose.ms.System.IAsyncResult | The reference to the pending asynchronous request to wait for. |
Returns: com.aspose.email.ImapQuotaRoot[] - Quota root information for mailbox
endIntroduceClient(System.IAsyncResult asyncResult)
public final ImapIdentificationInfo endIntroduceClient(System.IAsyncResult asyncResult)
Waits for the pending asynchronous operation to complete.
Parameters:
Parameter | Type | Description |
---|---|---|
asyncResult | com.aspose.ms.System.IAsyncResult | The reference to the pending asynchronous request to wait for. |
Returns: ImapIdentificationInfo - Returns server identification information
endListAttachments(System.IAsyncResult asyncResult)
public final ImapAttachmentInfoCollection endListAttachments(System.IAsyncResult asyncResult)
Parameters:
Parameter | Type | Description |
---|---|---|
asyncResult | com.aspose.ms.System.IAsyncResult |
Returns: ImapAttachmentInfoCollection
endListFolders(System.IAsyncResult asyncResult)
public final ImapFolderInfoCollection endListFolders(System.IAsyncResult asyncResult)
Waits for the pending asynchronous operation to complete.
Parameters:
Parameter | Type | Description |
---|---|---|
asyncResult | com.aspose.ms.System.IAsyncResult | The reference to the pending asynchronous request to wait for. |
Returns: ImapFolderInfoCollection - Collection of ImapFolderInfo objects
endListMessage(System.IAsyncResult asyncResult)
public final ImapMessageInfo endListMessage(System.IAsyncResult asyncResult)
Waits for the asynchronous ListMessage operation to complete.
Parameters:
Parameter | Type | Description |
---|---|---|
asyncResult | com.aspose.ms.System.IAsyncResult | The reference to the pending asynchronous request to wait for. |
Returns: ImapMessageInfo - Returns ImapMessageInfo objects
endListMessages(System.IAsyncResult asyncResult)
public final ImapMessageInfoCollection endListMessages(System.IAsyncResult asyncResult)
Waits for the asynchronous ListMessages operation to complete.
Parameters:
Parameter | Type | Description |
---|---|---|
asyncResult | com.aspose.ms.System.IAsyncResult | The reference to the pending asynchronous request to wait for. |
Returns: ImapMessageInfoCollection - Returns container for a collection of ImapMessageInfo objects
endListMessagesByPage(System.IAsyncResult asyncResult)
public final ImapPageInfo endListMessagesByPage(System.IAsyncResult asyncResult)
Waits for the asynchronous ListMessagesByPage operation to complete.
Parameters:
Parameter | Type | Description |
---|---|---|
asyncResult | com.aspose.ms.System.IAsyncResult | The reference to the pending asynchronous request to wait for. |
Returns: ImapPageInfo - ImapPageInfo with information for current page
endMoveFolder(System.IAsyncResult asyncResult)
public final void endMoveFolder(System.IAsyncResult asyncResult)
Waits for completion of the asynchronous operation.
Parameters:
Parameter | Type | Description |
---|---|---|
asyncResult | com.aspose.ms.System.IAsyncResult | The reference to the pending asynchronous request to wait for. |
endMoveMessage(System.IAsyncResult asyncResult)
public final String endMoveMessage(System.IAsyncResult asyncResult)
Waits for the pending asynchronous operation to complete.
Parameters:
Parameter | Type | Description |
---|---|---|
asyncResult | com.aspose.ms.System.IAsyncResult | The reference to the pending asynchronous request to wait for. |
Returns: java.lang.String
endMoveMessages(System.IAsyncResult asyncResult)
public final void endMoveMessages(System.IAsyncResult asyncResult)
Waits for the pending asynchronous operation to complete.
Parameters:
Parameter | Type | Description |
---|---|---|
asyncResult | com.aspose.ms.System.IAsyncResult | The reference to the pending asynchronous request to wait for. |
endNoop(System.IAsyncResult asyncResult)
public final void endNoop(System.IAsyncResult asyncResult)
Waits for the pending asynchronous operation to complete.
Parameters:
Parameter | Type | Description |
---|---|---|
asyncResult | com.aspose.ms.System.IAsyncResult | The reference to the pending asynchronous request to wait for. |
endRemoveMessageFlags(System.IAsyncResult asyncResult)
public final void endRemoveMessageFlags(System.IAsyncResult asyncResult)
Waits for the pending asynchronous operation to complete.
Parameters:
Parameter | Type | Description |
---|---|---|
asyncResult | com.aspose.ms.System.IAsyncResult | The reference to the pending asynchronous request to wait for. |
endRenameFolder(System.IAsyncResult asyncResult)
public final void endRenameFolder(System.IAsyncResult asyncResult)
Waits for the asynchronous operation to complete.
Parameters:
Parameter | Type | Description |
---|---|---|
asyncResult | com.aspose.ms.System.IAsyncResult | The reference to the pending asynchronous request to wait for. |
endRequestCheckpoint(System.IAsyncResult asyncResult)
public final void endRequestCheckpoint(System.IAsyncResult asyncResult)
Waits for the pending asynchronous operation to complete.
Parameters:
Parameter | Type | Description |
---|---|---|
asyncResult | com.aspose.ms.System.IAsyncResult | The reference to the pending asynchronous request to wait for. |
endRestore(System.IAsyncResult asyncResult)
public final void endRestore(System.IAsyncResult asyncResult)
Waits for the pending asynchronous operation to complete.
Parameters:
Parameter | Type | Description |
---|---|---|
asyncResult | com.aspose.ms.System.IAsyncResult | The reference to the pending asynchronous request to wait for. |
endSaveMessage(System.IAsyncResult asyncResult)
public final void endSaveMessage(System.IAsyncResult asyncResult)
Waits for the asynchronous operation to complete.
Parameters:
Parameter | Type | Description |
---|---|---|
asyncResult | com.aspose.ms.System.IAsyncResult | The reference to the pending asynchronous request to wait for. |
endSelectFolder(System.IAsyncResult asyncResult)
public final ImapFolderInfo endSelectFolder(System.IAsyncResult asyncResult)
Waits for the pending asynchronous message fetching to complete.
Parameters:
Parameter | Type | Description |
---|---|---|
asyncResult | com.aspose.ms.System.IAsyncResult | The reference to the pending asynchronous request to wait for. |
Returns: ImapFolderInfo - The MailMessage that represents message.
endSetQuota(System.IAsyncResult asyncResult)
public final ImapQuota[] endSetQuota(System.IAsyncResult asyncResult)
Waits for the pending asynchronous operation to complete.
Parameters:
Parameter | Type | Description |
---|---|---|
asyncResult | com.aspose.ms.System.IAsyncResult | The reference to the pending asynchronous request to wait for. |
Returns: com.aspose.email.ImapQuota[] - Quota information
endSortMessageThreads(System.IAsyncResult asyncResult)
public final List<MessageThreadResult> endSortMessageThreads(System.IAsyncResult asyncResult)
Waits for the pending asynchronous folder deletion to complete.
Parameters:
Parameter | Type | Description |
---|---|---|
asyncResult | com.aspose.ms.System.IAsyncResult | The reference to the pending asynchronous request to wait for. |
Returns: java.util.List<com.aspose.email.MessageThreadResult>
endSubscribeFolder(System.IAsyncResult asyncResult)
public final void endSubscribeFolder(System.IAsyncResult asyncResult)
Waits for the pending asynchronous operation to complete.
Parameters:
Parameter | Type | Description |
---|---|---|
asyncResult | com.aspose.ms.System.IAsyncResult | The reference to the pending asynchronous request to wait for. |
endUndeleteMessage(System.IAsyncResult asyncResult)
public final void endUndeleteMessage(System.IAsyncResult asyncResult)
Waits for the pending asynchronous operation to complete.
Parameters:
Parameter | Type | Description |
---|---|---|
asyncResult | com.aspose.ms.System.IAsyncResult | The reference to the pending asynchronous request to wait for. |
endUnselectFolder(System.IAsyncResult asyncResult)
public final void endUnselectFolder(System.IAsyncResult asyncResult)
Waits for the pending asynchronous operation to complete.
Parameters:
Parameter | Type | Description |
---|---|---|
asyncResult | com.aspose.ms.System.IAsyncResult | The reference to the pending asynchronous request to wait for. |
endUnsubscribeFolder(System.IAsyncResult asyncResult)
public final void endUnsubscribeFolder(System.IAsyncResult asyncResult)
Waits for the pending asynchronous operation to complete.
Parameters:
Parameter | Type | Description |
---|---|---|
asyncResult | com.aspose.ms.System.IAsyncResult | The reference to the pending asynchronous request to wait for. |
endValidateCredentials(System.IAsyncResult asyncResult)
public final boolean endValidateCredentials(System.IAsyncResult asyncResult)
Waits for the pending asynchronous operation to complete.
Parameters:
Parameter | Type | Description |
---|---|---|
asyncResult | com.aspose.ms.System.IAsyncResult | The reference to the pending asynchronous request to wait for. |
Returns: boolean - True if authentication was successful, otherwise false.
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Object |
Returns: boolean
existFolder(IConnection connection, String folderName)
public final boolean existFolder(IConnection connection, String folderName)
Check whether this folder exists
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
folderName | java.lang.String | Name of the folder |
Returns: boolean - Returns true if the folder is existing, otherwise returns false
existFolder(IConnection connection, String folderName, ImapFolderInfo[] folderInfo)
public final boolean existFolder(IConnection connection, String folderName, ImapFolderInfo[] folderInfo)
Check whether this folder exists, extract folder info if so
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
folderName | java.lang.String | Name of the folder |
folderInfo | ImapFolderInfo[] | Folder information |
Returns: boolean - Returns true if the folder is existing, otherwise returns false
existFolder(String folderName)
public final boolean existFolder(String folderName)
Check whether this folder exists
Parameters:
Parameter | Type | Description |
---|---|---|
folderName | java.lang.String | Name of the folder |
Returns: boolean - Returns true if the folder is existing, otherwise returns false
existFolder(String folderName, ImapFolderInfo[] folderInfo)
public final boolean existFolder(String folderName, ImapFolderInfo[] folderInfo)
Check whether this folder exists, extract folder info if so
Parameters:
Parameter | Type | Description |
---|---|---|
folderName | java.lang.String | Name of the folder |
folderInfo | ImapFolderInfo[] | Folder information |
Returns: boolean - Returns true if the folder is existing, otherwise returns false
fetchAttachment(IConnection connection, int sequenceNumber, String attachmentName)
public final Attachment fetchAttachment(IConnection connection, int sequenceNumber, String attachmentName)
Fetches the specified attachment
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceNumber | int | The sequence number of a message |
attachmentName | java.lang.String | A name of attachment |
Returns: Attachment - Attachment that represents attachment
fetchAttachment(int sequenceNumber, String attachmentName)
public final Attachment fetchAttachment(int sequenceNumber, String attachmentName)
Fetches the specified attachment
Parameters:
Parameter | Type | Description |
---|---|---|
sequenceNumber | int | The sequence number of a message |
attachmentName | java.lang.String | A name of attachment |
Returns: Attachment - Attachment that represents attachment
fetchMessage(IConnection connection, int sequenceNumber)
public final MailMessage fetchMessage(IConnection connection, int sequenceNumber)
Fetches the message
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceNumber | int | The sequence number of message |
Returns: MailMessage - MailMessage that represents e-mail message
fetchMessage(IConnection connection, int sequenceNumber, boolean ignoreAttachment)
public final MailMessage fetchMessage(IConnection connection, int sequenceNumber, boolean ignoreAttachment)
Fetches the message
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceNumber | int | The sequence number of message |
ignoreAttachment | boolean | 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 loaded |
Returns: MailMessage - MailMessage that represents e-mail message
fetchMessage(IConnection connection, String uniqueId)
public final MailMessage fetchMessage(IConnection connection, String uniqueId)
Fetches the message
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uniqueId | java.lang.String | The unique id of message |
Returns: MailMessage - MailMessage that represents e-mail message
fetchMessage(int sequenceNumber)
public final MailMessage fetchMessage(int sequenceNumber)
Fetches the message
Parameters:
Parameter | Type | Description |
---|---|---|
sequenceNumber | int | The sequence number of message |
Returns: MailMessage - MailMessage that represents e-mail message
fetchMessage(int sequenceNumber, boolean ignoreAttachment)
public final MailMessage fetchMessage(int sequenceNumber, boolean ignoreAttachment)
Fetches the message
Parameters:
Parameter | Type | Description |
---|---|---|
sequenceNumber | int | The sequence number of message |
ignoreAttachment | boolean | 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 loaded |
Returns: MailMessage - MailMessage that represents e-mail message
fetchMessage(String uniqueId)
public final MailMessage fetchMessage(String uniqueId)
Fetches the message
Parameters:
Parameter | Type | Description |
---|---|---|
uniqueId | java.lang.String | The unique id of message |
Returns: MailMessage - MailMessage that represents e-mail message
fetchMessagesBySequences(IConnection connection, Iterable sequenceNumbers)
public final Iterable<MailMessage> fetchMessagesBySequences(IConnection connection, Iterable<Integer> sequenceNumbers)
Fetches the messages
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceNumbers | java.lang.Iterable<java.lang.Integer> | The sequence numbers of the messages |
Returns: java.lang.Iterable<com.aspose.email.MailMessage> - List of MailMessage objects
fetchMessagesBySequences(Iterable sequenceNumbers)
public final Iterable<MailMessage> fetchMessagesBySequences(Iterable<Integer> sequenceNumbers)
Fetches the messages
Parameters:
Parameter | Type | Description |
---|---|---|
sequenceNumbers | java.lang.Iterable<java.lang.Integer> | The sequence numbers of the messages |
Returns: java.lang.Iterable<com.aspose.email.MailMessage> - List of MailMessage objects
fetchMessagesByUids(IConnection connection, Iterable uids)
public final Iterable<MailMessage> fetchMessagesByUids(IConnection connection, Iterable<String> uids)
Fetches the messages
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uids | java.lang.Iterable<java.lang.String> | The sequence numbers of the messages |
Returns: java.lang.Iterable<com.aspose.email.MailMessage> - List of MailMessage objects
fetchMessagesByUids(Iterable uids)
public final Iterable<MailMessage> fetchMessagesByUids(Iterable<String> uids)
Fetches the messages
Parameters:
Parameter | Type | Description |
---|---|---|
uids | java.lang.Iterable<java.lang.String> | The sequence numbers of the messages |
Returns: java.lang.Iterable<com.aspose.email.MailMessage> - List of MailMessage objects
getAccessToken()
public String getAccessToken()
Gets or sets the access token.
Value: The string that represents access token.
Returns: java.lang.String
getAllowedAuthentication()
public final long getAllowedAuthentication()
Gets or sets enumeration of allowed by user authentication types
Returns: long
getAnnotateSupported()
public final boolean getAnnotateSupported()
Gets information whether ANNOTATE extension is supported See more: https://tools.ietf.org/html/rfc5257
Returns: boolean
getAutoCommit()
public final boolean getAutoCommit()
Indicates, whether commit operation are executed automatically when folder is changed or before connection is closed.
Returns: boolean
getCapabilities()
public String[] getCapabilities()
Get Capabilities.
Returns: java.lang.String[]
getChildrenSupported()
public final boolean getChildrenSupported()
Gets information whether CHILDREN extension is supported See more: https://tools.ietf.org/html/rfc3348
Returns: boolean
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
getClientCertificates()
public System.Security.Cryptography.X509Certificates.X509CertificateCollection getClientCertificates()
Contains collection of clients certificates
Returns: com.aspose.ms.System.Security.Cryptography.X509Certificates.X509CertificateCollection
getClientIdentificationInfo()
public final ImapIdentificationInfo getClientIdentificationInfo()
Gets or sets client identification information See more: https://tools.ietf.org/html/rfc2971
Returns: ImapIdentificationInfo
getCompressSupported()
public final boolean getCompressSupported()
Gets information whether COMPRESS extension is supported See more: https://tools.ietf.org/html/rfc4978
Returns: boolean
getCondstoreSupported()
public final boolean getCondstoreSupported()
Gets information whether CONDSTORE extension is supported See more: https://tools.ietf.org/html/rfc7162
Returns: boolean
getConnectionAsgmtMode()
public int getConnectionAsgmtMode()
Gets or sets value which defines mode of connection allocation in multiple threads environment There are folowing connection types: - Main connection is connection created and disposed together with mail client.It can’t be created or disposed manually. - Default connection is connection default for some thread. If default connection exists and ConnectionAsgmtMode allow, all methods of email client executed in this thread will be implicitly use this connection. Only one default connection can be exist per thread. It can be created manually or automatically. It depends on EmailClient.ConnectionAsgmtMode property. These connections can be created manually with EmailClient.CreateConnection(createAsDefaultConnection = true) method. If default connection does not used(depends on connection allocation mode), main connection used implicitly instead of it. - Independent connections are connections that are not linked to threads.They can be created manually and has to be used explicitly as method parameter. These connections can be created manually with EmailClient.CreateConnection() method or EmailClient.CreateConnection(createAsDefaultConnection = false) method. There are folowing connection allocation types: - ConnectionAsgmtType.UseMainOrDefault This mode uses by default in email clients. Email client uses main connection for all operations from multiple threads if default connection hasn’t been created, or connection hasnt been passed as method parameter explicitly. Main connection is connection which is created in the same time like email client. User can create default connections for threads with CreateConnection method. If default connection for thread is created, it’s used implicitly for all methods of email client which are invoked in this thread. If default connection for thread is not created, main connection is used for all methods of email client which are invoked in this thread. User also can create connections not linked with threads (not default connections) with CreateConnection method. If user wants to use other connections (not main and not default) he has to pass this connection explicitly as parameter of a method which he wants to use. User can additionally create any number of connections. Default connection can be only one per thread. Please note default connections works correctly if user uses Thread objects for multitasking programming. If user uses ConnectionPool or uses Task objects for multitasking programming this mode may lead to wrong behaviour of a programm. To avoid this problem user has to manually dispose default conection (if he uses it) in the end of the code which executes in the thread. - ConnectionAsgmtType.UseMain Email client uses main connection for all operations from multiple threads. Main connection is connection which is created in the same time like email client. User cann’t create default connections. User can create connections not linked with threads (not default connections) with CreateConnection method. If user wants to use other connections (not main and not default) he has to pass this connection explicitly as parameter of a method which he wants to use. User can additionally create any number of connections. - ConnectionAsgmtType.UseDefault Email client uses implicitly only default connections for all operations from multiple threads. Main connection is not used in this mode. If default connection hasn’t been created for some thread (first invocation of email client method), email client creates default connection implicitly for thread before first operation is executed. User can’t create default connections for threads with CreateConnection method because they are created automatically. When default connection for thread is created, it’s used implicitly for all methods of email client which are invoked in this thread.read. User also can create connections not linked with threads (not default connections) with CreateConnection method. If user wants to use other connections (not main and not default) he has to pass this connection explicitly as parameter of a method which he wants to use. User can additionally create any number of connections. Default connection can be only one per thread. Please note default connections works correctly if user uses Thread objects for multitasking programming. If user uses ConnectionPool or uses Task objects for multitasking programming this mode may lead to wrong behaviour of a programm. To avoid this problem user has to manually dispose default conection in the end of the code which executes in the thread.
Returns: int
getConnectionCheckupPeriod()
public int getConnectionCheckupPeriod()
Period of connection checking up in milliseconds. Default value is 5 min.
Returns: int
getConnectionState()
public final int getConnectionState()
Gets the current state of the connection.
Returns: int
getConnectionsQuantity()
public int getConnectionsQuantity()
Gets or sets quantity of connections in multy-connection mode
Returns: int
getCredentialsEncoding()
public final String getCredentialsEncoding()
Gets or sets Credentials Encoding
Returns: java.lang.String
getCurrentConnection()
public IConnection getCurrentConnection()
Gets current connection according to ConnectionAsgmtMode option
Returns: IConnection
getCurrentFolder()
public final ImapFolderInfo getCurrentFolder()
Gets the current folder
Value: ImapFolderInfo that represents current folder
Returns: ImapFolderInfo
getDefaultFolder()
public static String getDefaultFolder()
Default folder for ImapClients
Returns: java.lang.String
getDefaultPort()
public int getDefaultPort()
Gets default port for client
Returns: int
getDelimiter()
public final String getDelimiter()
Gets or sets delimiter of folders hierarhy.
Returns: java.lang.String
getESearchSupported()
public final boolean getESearchSupported()
Gets information whether ESEARCH extension is supported See more: https://tools.ietf.org/html/rfc4731
Returns: boolean
getEnableLogger()
public final boolean getEnableLogger()
Gets or sets value which allows enable/disable logger
Returns: boolean
getEnableSupported()
public final boolean getEnableSupported()
Gets information whether ENABLE extension is supported See more: https://tools.ietf.org/html/rfc5161
Returns: boolean
getExchangeIdAutomatically()
public final boolean getExchangeIdAutomatically()
Gets or sets value which indicates whether client should to introduce information about itself to a server automatically. See more: https://tools.ietf.org/html/rfc2971
Returns: boolean
getExtendedListSupported()
public final boolean getExtendedListSupported()
Gets information whether LIST Command Extension is supported See more https://tools.ietf.org/html/rfc5258
Returns: boolean
getFolderInfo(IConnection connection, String folderName)
public final ImapFolderInfo getFolderInfo(IConnection connection, String folderName)
Returns information about the specified folder without selecting it
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
folderName | java.lang.String | Folder to retrieve information about |
Returns: ImapFolderInfo - The specified folder information
getFolderInfo(String folderName)
public final ImapFolderInfo getFolderInfo(String folderName)
Returns information about the specified folder without selecting it
Parameters:
Parameter | Type | Description |
---|---|---|
folderName | java.lang.String | Folder to retrieve information about |
Returns: ImapFolderInfo - The specified folder information
getGmExt1Supported()
public final boolean getGmExt1Supported()
Defines if Google X-GM-EXT-1 extension is supported
Returns: boolean
getGreetingTimeout()
public final int getGreetingTimeout()
Gets or sets the greeting timeout that is used when establishing a connection. Please note, greeting timeout can’t be infinite. Email clients may execute enough long operations. To limit the time of operations users have to use EmailClient.Timeout (#getTimeout.getTimeout/#setTimeout(int).setTimeout(int)) property. Values for this property have to have long intervals to not prevent long-time operations. But in some cases, if EmailClient will use only Timeout property connection establishing may take a long time. For instance, the mail client may use the automatic mode to connection establishing. In this mode, the email client goes through all possible connection parameters until the connection is established. SMTP, IMAP, and POP3 servers in case of correct connection establishing send greeting string to the client. Servers may use implicit or explicit (START TLS) SSL/TLS connection initiation. If connection mode is mismatched (for instance, the server waits for an implicit SSL connection but the client tries to establish a non-secured or explicit SSL connection), the server won’t send a greeting string. In this case, the user will wait a long time until the timeout reaches a greeting string, and the client goes to the next connection option. To avoid this problem, the GreetingTimeout property has been introduced. This property allows you to set the timeout for greeting string, and reduce the time of automatic connection establishment.
Value: The greeting timeout in milliseconds
Returns: int
getHost()
public String getHost()
Gets or sets the host name.
Value: The host name.
Returns: java.lang.String
getIdSupported()
public final boolean getIdSupported()
Gets information whether ID extension is supported See more: https://tools.ietf.org/html/rfc2971
Returns: boolean
getLogFileName()
public final String getLogFileName()
Gets or sets log file name
Returns: java.lang.String
getMailboxInfo()
public final ImapMailboxInfo getMailboxInfo()
Gets set of special-use mailboxes See more: http://tools.ietf.org/html/rfc6154 and https://tools.ietf.org/html/rfc8457
Returns: ImapMailboxInfo
getMessageThreads(BaseSearchConditions conditions)
public final List<MessageThreadResult> getMessageThreads(BaseSearchConditions conditions)
Get message threads.
Parameters:
Parameter | Type | Description |
---|---|---|
conditions | BaseSearchConditions | Thread conditions. |
Returns: java.util.List<com.aspose.email.MessageThreadResult> - Message threads
getMessageThreads(IConnection connection, BaseSearchConditions conditions)
public final List<MessageThreadResult> getMessageThreads(IConnection connection, BaseSearchConditions conditions)
Get message threads.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
conditions | BaseSearchConditions | Thread conditions. |
Returns: java.util.List<com.aspose.email.MessageThreadResult> - Message threads
getMoveSupported()
public final boolean getMoveSupported()
Gets information whether MOVE extension is supported See more: https://tools.ietf.org/html/rfc6851
Returns: boolean
getNamespaceSupported()
public final boolean getNamespaceSupported()
Gets information whether NAMESPACE extension is supported See more: https://tools.ietf.org/html/rfc2342
Returns: boolean
getNamespaces()
public final ImapNamespace[] getNamespaces()
Gets namespaces that are available on a server.
Returns: com.aspose.email.ImapNamespace[] - Returns namespaces that are available on a server.
getNamespaces(IConnection connection)
public final ImapNamespace[] getNamespaces(IConnection connection)
Gets namespaces that are available on a server.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
Returns: com.aspose.email.ImapNamespace[] - Returns namespaces that are available on a server.
getPassword()
public String getPassword()
Gets or sets the password. Password limitations are defined by server implementation, which client connects.
Value: The string that represents the password.
Returns: java.lang.String
getPort()
public int getPort()
Gets or sets the port.
Value: The port number.
Returns: int
getProxy()
public Proxy getProxy()
Gets or sets proxy for the client
Returns: Proxy
getQresyncSupported()
public final boolean getQresyncSupported()
Gets information whether QRESYNC extension is supported See more: https://tools.ietf.org/html/rfc7162
Returns: boolean
getQuota(IConnection connection, String quotaRootName)
public final ImapQuota[] getQuota(IConnection connection, String quotaRootName)
Gets quota information
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
quotaRootName | java.lang.String | quota root name |
Returns: com.aspose.email.ImapQuota[] - Quota information
getQuota(String quotaRootName)
public final ImapQuota[] getQuota(String quotaRootName)
Gets quota information
Parameters:
Parameter | Type | Description |
---|---|---|
quotaRootName | java.lang.String | quota root name |
Returns: com.aspose.email.ImapQuota[] - Quota information
getQuotaRoot(IConnection connection, String mailboxName)
public final ImapQuotaRoot[] getQuotaRoot(IConnection connection, String mailboxName)
Gets quota root information for mailbox
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
mailboxName | java.lang.String | mailbox name |
Returns: com.aspose.email.ImapQuotaRoot[] - Quota root information for mailbox
getQuotaRoot(String mailboxName)
public final ImapQuotaRoot[] getQuotaRoot(String mailboxName)
Gets quota root information for mailbox
Parameters:
Parameter | Type | Description |
---|---|---|
mailboxName | java.lang.String | mailbox name |
Returns: com.aspose.email.ImapQuotaRoot[] - Quota root information for mailbox
getQuotaSupported()
public final boolean getQuotaSupported()
Gets information whether quota is supported
Returns: boolean
getReadOnly()
public final boolean getReadOnly()
Gets or sets value which indicates if changes to the permanent state of the mailbox, including per-user state, are permitted.
Returns: boolean
getSaslIrSupported()
public final boolean getSaslIrSupported()
Gets information whether SASL Initial Client Response extension is supported See more: https://tools.ietf.org/html/rfc4959
Returns: boolean
getSecurityOptions()
public int getSecurityOptions()
Security mode for a mail client
Returns: int
getServerIdentificationInfo()
public final ImapIdentificationInfo getServerIdentificationInfo()
Gets server identification information See more: https://tools.ietf.org/html/rfc2971
Returns: ImapIdentificationInfo
getServerSupportedCompression()
public final int getServerSupportedCompression()
Gets information which compression types are supported by a server. See more: https://tools.ietf.org/html/rfc4978
Returns: int
getSortSupported()
public final boolean getSortSupported()
Gets information whether Sort command are supported
Returns: boolean
getSpecialUseSupported()
public final boolean getSpecialUseSupported()
Gets information whether Special-Use Mailboxes is supported See more: https://tools.ietf.org/html/rfc6154
Returns: boolean
getSupportOldServer()
public final boolean getSupportOldServer()
Indicates whether the old servers need to be supported when receiving messages.
Returns: boolean
getSupportedAuthentication()
public final long getSupportedAuthentication()
Gets enumeration of supported by server authentication types
Returns: long
getSupportedEncryption()
public int getSupportedEncryption()
Defines the versions of SSL/TLS encryption protocols to be used. PLEASE PAY YOUR ATTENTION, you may set only those versions of protocol, which are supported by .net framework. IF SOME VERSIONS OF PROTOCOL ARE NOT SUPPORTED BY YOUR CURRENT VERSION OF FRAMEWORK, THEY WILL BE IGNORED AND SKIPPED. IT MAY LEAD TO DOWNGRADE TLS SECURITY LEVEL. IN THIS CASE EXCEPTION WON’T BE GENERATED!!! Please, see EncryptionProtocols documentation for more details. Please use #setSupportedEncryptionUnsafe(int).setSupportedEncryptionUnsafe(int) method if you want to set the encryption protocols without any compatibility checks. Default value is: Tls | Tls11 | Tls12 | Tls13 (in case if your current version of .net framework supports these versions of TLS)
Returns: int
getThreadAlgorithms()
public final String[] getThreadAlgorithms()
Gets supported thread algorithms
Returns: java.lang.String[]
getThreadSupported()
public final boolean getThreadSupported()
Gets information whether Thread command are supported
Returns: boolean
getTimeout()
public final int getTimeout()
Gets or sets the timeout for mail operations
Value: The timeout in milliseconds
Returns: int
getTokenProvider()
public final ITokenProvider getTokenProvider()
Gets or sets TokenProvider allowing to retrieve access token.
Returns: ITokenProvider
getUidPlusSupported()
public final boolean getUidPlusSupported()
Gets information whether UIDPLUS extension is supported See more: https://tools.ietf.org/html/rfc4315
Returns: boolean
getUnselectSupported()
public final boolean getUnselectSupported()
Gets information whether UNSELECT extension is supported See more: https://tools.ietf.org/html/rfc2342
Returns: boolean
getUseAuthentication()
public boolean getUseAuthentication()
Indicates whether authentication is used.
Returns: boolean
getUseDateInLogFileName()
public final boolean getUseDateInLogFileName()
Gets or sets value which indicates if date has to be used in log file name.
Returns: boolean
getUseDefaultCredentials()
public boolean getUseDefaultCredentials()
Gets or sets a Boolean value that controls whether the DefaultCredentials are sent with requests. This option is used with NTLM authentication ONLY!
Returns: boolean
getUseMultiConnection()
public int getUseMultiConnection()
Gets or sets value which indicates if client has to use multiple connections for heavy loaded operations. Please note, using of this mode not necessary has to lead to performance increasing.
Returns: int
getUsePipelining()
public PipeliningStatus getUsePipelining()
Gets or sets object which indicates whether the pipelining mode is enabled.
Returns: PipeliningStatus
getUsername()
public String getUsername()
Gets or sets the username.
Value: The username string.
Returns: java.lang.String
hashCode()
public native int hashCode()
Returns: int
introduceClient()
public final ImapIdentificationInfo introduceClient()
Introduces client information to a server.
Returns: ImapIdentificationInfo - Returns server identification information
introduceClient(IConnection connection)
public final ImapIdentificationInfo introduceClient(IConnection connection)
Introduces client information to a server.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
Returns: ImapIdentificationInfo - Returns server identification information
introduceClient(IConnection connection, ImapIdentificationInfo clientIdentificationInfo)
public final ImapIdentificationInfo introduceClient(IConnection connection, ImapIdentificationInfo clientIdentificationInfo)
Introduces client information to a server.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
clientIdentificationInfo | ImapIdentificationInfo | Client identification information |
Returns: ImapIdentificationInfo - Returns server identification information
introduceClient(ImapIdentificationInfo clientIdentificationInfo)
public final ImapIdentificationInfo introduceClient(ImapIdentificationInfo clientIdentificationInfo)
Introduces client information to a server.
Parameters:
Parameter | Type | Description |
---|---|---|
clientIdentificationInfo | ImapIdentificationInfo | Client identification information |
Returns: ImapIdentificationInfo - Returns server identification information
listAttachments(int sequenceNumber)
public final ImapAttachmentInfoCollection listAttachments(int sequenceNumber)
Gets the message attachments list. Gets an information for each attachment in message.
Parameters:
Parameter | Type | Description |
---|---|---|
sequenceNumber | int | The message sequence number. |
Returns: ImapAttachmentInfoCollection - ImapMessageInfoCollection that represents collection of ImapAttachmentInfo
listFolders()
public final ImapFolderInfoCollection listFolders()
Gets the list of folders in the mailbox
Returns: ImapFolderInfoCollection - Collection of ImapFolderInfo objects
listFolders(boolean loadFullInfo)
public final ImapFolderInfoCollection listFolders(boolean loadFullInfo)
Gets the list of folders in the mailbox
Parameters:
Parameter | Type | Description |
---|---|---|
loadFullInfo | boolean | If true indicates that folder information should be retrieved from a server completely, otherwise only folder names are retrieved. |
Returns: ImapFolderInfoCollection - Collection of ImapFolderInfo objects
listFolders(IConnection connection)
public final ImapFolderInfoCollection listFolders(IConnection connection)
Gets the list of folders in the mailbox
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
Returns: ImapFolderInfoCollection - Collection of ImapFolderInfo objects
listFolders(IConnection connection, boolean loadFullInfo)
public final ImapFolderInfoCollection listFolders(IConnection connection, boolean loadFullInfo)
Gets the list of folders in the mailbox
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
loadFullInfo | boolean | If true indicates that folder information should be retrieved from a server completely, otherwise only folder names are retrieved. |
Returns: ImapFolderInfoCollection - Collection of ImapFolderInfo objects
listFolders(IConnection connection, String parentFolder)
public final ImapFolderInfoCollection listFolders(IConnection connection, String parentFolder)
Gets the list of subfolders in the specified folder
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
parentFolder | java.lang.String | Name of the folder |
Returns: ImapFolderInfoCollection - Collection of ImapFolderInfo objects
listFolders(IConnection connection, String parentFolder, boolean loadFullInfo)
public final ImapFolderInfoCollection listFolders(IConnection connection, String parentFolder, boolean loadFullInfo)
Gets the list of subfolders in the specified folder
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
parentFolder | java.lang.String | Name of the folder |
loadFullInfo | boolean | If true indicates that folder information should be retrieved from a server completely, otherwise only folder names are retrieved. |
Returns: ImapFolderInfoCollection - Collection of ImapFolderInfo objects
listFolders(IConnection connection, String parentFolder, boolean loadFullInfo, int options, int returnOptions)
public final ImapFolderInfoCollection listFolders(IConnection connection, String parentFolder, boolean loadFullInfo, int options, int returnOptions)
Gets the list of subfolders in the specified folder
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
parentFolder | java.lang.String | Name of the folder |
loadFullInfo | boolean | If true indicates that folder information should be retrieved from a server completely, otherwise only folder names are retrieved. |
options | int | Options for operation |
returnOptions | int | Return options for operation |
Returns: ImapFolderInfoCollection - Collection of ImapFolderInfo objects
listFolders(String parentFolder)
public final ImapFolderInfoCollection listFolders(String parentFolder)
Gets the list of subfolders in the specified folder
Parameters:
Parameter | Type | Description |
---|---|---|
parentFolder | java.lang.String | Name of the folder |
Returns: ImapFolderInfoCollection - Collection of ImapFolderInfo objects
listFolders(String parentFolder, boolean loadFullInfo)
public final ImapFolderInfoCollection listFolders(String parentFolder, boolean loadFullInfo)
Gets the list of subfolders in the specified folder
Parameters:
Parameter | Type | Description |
---|---|---|
parentFolder | java.lang.String | Name of the folder |
loadFullInfo | boolean | If true indicates that folder information should be retrieved from a server completely, otherwise only folder names are retrieved. |
Returns: ImapFolderInfoCollection - Collection of ImapFolderInfo objects
listFolders(String parentFolder, boolean loadFullInfo, int options, int returnOptions)
public final ImapFolderInfoCollection listFolders(String parentFolder, boolean loadFullInfo, int options, int returnOptions)
Gets the list of subfolders in the specified folder
Parameters:
Parameter | Type | Description |
---|---|---|
parentFolder | java.lang.String | Name of the folder |
loadFullInfo | boolean | If true indicates that folder information should be retrieved from a server completely, otherwise only folder names are retrieved. |
options | int | Options for operation |
returnOptions | int | Return options for operation |
Returns: ImapFolderInfoCollection - Collection of ImapFolderInfo objects
listMessage(IConnection connection, int sequenceNumber)
public final ImapMessageInfo listMessage(IConnection connection, int sequenceNumber)
Gets information about a message.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceNumber | int | The sequence number of message |
Returns: ImapMessageInfo - Returns ImapMessageInfo objects
listMessage(IConnection connection, int sequenceNumber, Iterable messageExtraFields)
public final ImapMessageInfo listMessage(IConnection connection, int sequenceNumber, Iterable<String> messageExtraFields)
Gets information about a message.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceNumber | int | The sequence number of message |
messageExtraFields | java.lang.Iterable<java.lang.String> | List of extra parameters for a message wich will be requested. |
Returns: ImapMessageInfo - Returns ImapMessageInfo objects
listMessage(IConnection connection, String uniqueId)
public final ImapMessageInfo listMessage(IConnection connection, String uniqueId)
Gets information about a message.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uniqueId | java.lang.String | The unique Id of the message |
Returns: ImapMessageInfo - Returns ImapMessageInfo objects
listMessage(IConnection connection, String uniqueId, Iterable messageExtraFields)
public final ImapMessageInfo listMessage(IConnection connection, String uniqueId, Iterable<String> messageExtraFields)
Gets information about a message.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uniqueId | java.lang.String | The unique Id of the message |
messageExtraFields | java.lang.Iterable<java.lang.String> | List of extra parameters for a message wich will be requested. |
Returns: ImapMessageInfo - Returns ImapMessageInfo objects
listMessage(int sequenceNumber)
public final ImapMessageInfo listMessage(int sequenceNumber)
Gets information about a message.
Parameters:
Parameter | Type | Description |
---|---|---|
sequenceNumber | int | The sequence number of message |
Returns: ImapMessageInfo - Returns ImapMessageInfo objects
listMessage(int sequenceNumber, Iterable messageExtraFields)
public final ImapMessageInfo listMessage(int sequenceNumber, Iterable<String> messageExtraFields)
Gets information about a message.
Parameters:
Parameter | Type | Description |
---|---|---|
sequenceNumber | int | The sequence number of message |
messageExtraFields | java.lang.Iterable<java.lang.String> | List of extra parameters for a message wich will be requested. |
Returns: ImapMessageInfo - Returns ImapMessageInfo objects
listMessage(String uniqueId)
public final ImapMessageInfo listMessage(String uniqueId)
Gets information about a message.
Parameters:
Parameter | Type | Description |
---|---|---|
uniqueId | java.lang.String | The unique Id of the message |
Returns: ImapMessageInfo - Returns ImapMessageInfo objects
listMessage(String uniqueId, Iterable messageExtraFields)
public final ImapMessageInfo listMessage(String uniqueId, Iterable<String> messageExtraFields)
Gets information about a message.
Parameters:
Parameter | Type | Description |
---|---|---|
uniqueId | java.lang.String | The unique Id of the message |
messageExtraFields | java.lang.Iterable<java.lang.String> | List of extra parameters for a message wich will be requested. |
Returns: ImapMessageInfo - Returns ImapMessageInfo objects
listMessages()
public final ImapMessageInfoCollection listMessages()
Gets the list of messages in the current folder
Returns: ImapMessageInfoCollection - Collection of ImapMessageInfo objects
listMessages(boolean retrieveRecursively)
public final ImapMessageInfoCollection listMessages(boolean retrieveRecursively)
Gets the list of messages in the current folder
Parameters:
Parameter | Type | Description |
---|---|---|
retrieveRecursively | boolean | Indicates, if messages have to be retrieved recursively. |
Returns: ImapMessageInfoCollection - Collection of ImapMessageInfo objects
listMessages(IConnection connection)
public final ImapMessageInfoCollection listMessages(IConnection connection)
Gets the list of messages in the current folder
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
Returns: ImapMessageInfoCollection - Collection of ImapMessageInfo objects
listMessages(IConnection connection, boolean retrieveRecursively)
public final ImapMessageInfoCollection listMessages(IConnection connection, boolean retrieveRecursively)
Gets the list of messages in the current folder
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
retrieveRecursively | boolean | Indicates, if messages have to be retrieved recursively. |
Returns: ImapMessageInfoCollection - Collection of ImapMessageInfo objects
listMessages(IConnection connection, MailQuery query)
public final ImapMessageInfoCollection listMessages(IConnection connection, MailQuery query)
Gets the list of messages in the current folder.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
query | MailQuery | MailQuery that represents search query. |
Returns: ImapMessageInfoCollection - Collection of ImapMessageInfo objects.
listMessages(IConnection connection, MailQuery query, int maxNumberOfMessages)
public final ImapMessageInfoCollection listMessages(IConnection connection, MailQuery query, int maxNumberOfMessages)
Gets the list of messages in the current folder.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
query | MailQuery | MailQuery that represents search query. |
maxNumberOfMessages | int | Maximum number of messages. |
Returns: ImapMessageInfoCollection - Collection of ImapMessageInfo objects.
listMessages(IConnection connection, int maxNumberOfMessages)
public final ImapMessageInfoCollection listMessages(IConnection connection, int maxNumberOfMessages)
Gets the list of messages in the current folder.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
maxNumberOfMessages | int | Maximum number of messages. |
Returns: ImapMessageInfoCollection - Collection of ImapMessageInfo representing the messages information.
listMessages(IConnection connection, String folderName)
public final ImapMessageInfoCollection listMessages(IConnection connection, String folderName)
Gets the list of messages in the specified folder
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
folderName | java.lang.String | Folder to retrieve messages. |
Returns: ImapMessageInfoCollection - Collection of ImapMessageInfo objects
listMessages(IConnection connection, String folderName, boolean retrieveRecursively)
public final ImapMessageInfoCollection listMessages(IConnection connection, String folderName, boolean retrieveRecursively)
Gets the list of messages in the specified folder
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
folderName | java.lang.String | Folder to retrieve messages. |
retrieveRecursively | boolean | Indicates, if messages have to be retrieved recursively. |
Returns: ImapMessageInfoCollection - Collection of ImapMessageInfo objects
listMessages(IConnection connection, String folderName, MailQuery query, int maxNumberOfMessages)
public final ImapMessageInfoCollection listMessages(IConnection connection, String folderName, MailQuery query, int maxNumberOfMessages)
Gets the list of messages in the current folder.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
folderName | java.lang.String | Messages location |
query | MailQuery | MailQuery that represents search query. |
maxNumberOfMessages | int | Maximum number of messages. |
Returns: ImapMessageInfoCollection - Collection of ImapMessageInfo objects.
listMessages(IConnection connection, String folderName, int fieldsList, int maxNumberOfMessages)
public final ImapMessageInfoCollection listMessages(IConnection connection, String folderName, int fieldsList, int maxNumberOfMessages)
Lists the messages. Gets an information for earch message
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
folderName | java.lang.String | Folder to retrieve messages. |
fieldsList | int | Fields that may be retrieved from the server. |
maxNumberOfMessages | int | Maximum number of messages. |
Note that messages marked as deleted are not listed |
Returns: ImapMessageInfoCollection - ImapMessageInfoCollection
listMessages(IConnection connection, String folderName, long modificationSequence, boolean retrieveRecursively, Iterable messageExtraFields)
public final ImapMessageInfoCollection listMessages(IConnection connection, String folderName, long modificationSequence, boolean retrieveRecursively, Iterable<String> messageExtraFields)
Gets the list of messages in the specified folder
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
folderName | java.lang.String | Folder to retrieve messages. |
modificationSequence | long | Modification sequence |
retrieveRecursively | boolean | Indicates, if messages have to be retrieved recursively. |
messageExtraFields | java.lang.Iterable<java.lang.String> | List of extra parameters for a message wich will be requested. |
Returns: ImapMessageInfoCollection - Collection of ImapMessageInfo objects
listMessages(IConnection connection, long modificationSequence)
public final ImapMessageInfoCollection listMessages(IConnection connection, long modificationSequence)
Gets the list of messages in the current folder that have a modification sequence bigger than specified value. Please, see more https://tools.ietf.org/html/rfc7162
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
modificationSequence | long | Modification sequence |
Returns: ImapMessageInfoCollection - Collection of ImapMessageInfo representing the messages information.
listMessages(MailQuery query)
public final ImapMessageInfoCollection listMessages(MailQuery query)
Gets the list of messages in the current folder.
Parameters:
Parameter | Type | Description |
---|---|---|
query | MailQuery | MailQuery that represents search query. |
Returns: ImapMessageInfoCollection - Collection of ImapMessageInfo objects.
listMessages(MailQuery query, int maxNumberOfMessages)
public final ImapMessageInfoCollection listMessages(MailQuery query, int maxNumberOfMessages)
Gets the list of messages in the current folder.
Parameters:
Parameter | Type | Description |
---|---|---|
query | MailQuery | MailQuery that represents search query. |
maxNumberOfMessages | int | Maximum number of messages. |
Returns: ImapMessageInfoCollection - Collection of ImapMessageInfo objects.
listMessages(int maxNumberOfMessages)
public final ImapMessageInfoCollection listMessages(int maxNumberOfMessages)
Gets the list of messages in the current folder.
Parameters:
Parameter | Type | Description |
---|---|---|
maxNumberOfMessages | int | Maximum number of messages. |
Returns: ImapMessageInfoCollection - Collection of ImapMessageInfo representing the messages information.
listMessages(Iterable messageExtraFields)
public final ImapMessageInfoCollection listMessages(Iterable<String> messageExtraFields)
Gets the list of messages in the current folder
Parameters:
Parameter | Type | Description |
---|---|---|
messageExtraFields | java.lang.Iterable<java.lang.String> | List of extra parameters for a message wich will be requested. |
Returns: ImapMessageInfoCollection - Collection of ImapMessageInfo objects
listMessages(String folderName)
public final ImapMessageInfoCollection listMessages(String folderName)
Gets the list of messages in the specified folder
Parameters:
Parameter | Type | Description |
---|---|---|
folderName | java.lang.String | Folder to retrieve messages. |
Returns: ImapMessageInfoCollection - Collection of ImapMessageInfo objects
listMessages(String folderName, boolean retrieveRecursively)
public final ImapMessageInfoCollection listMessages(String folderName, boolean retrieveRecursively)
Gets the list of messages in the specified folder
Parameters:
Parameter | Type | Description |
---|---|---|
folderName | java.lang.String | Folder to retrieve messages. |
retrieveRecursively | boolean | Indicates, if messages have to be retrieved recursively. |
Returns: ImapMessageInfoCollection - Collection of ImapMessageInfo objects
listMessages(String folderName, boolean retrieveRecursively, Iterable messageExtraFields)
public final ImapMessageInfoCollection listMessages(String folderName, boolean retrieveRecursively, Iterable<String> messageExtraFields)
Gets the list of messages in the specified folder
Parameters:
Parameter | Type | Description |
---|---|---|
folderName | java.lang.String | Folder to retrieve messages. |
retrieveRecursively | boolean | Indicates, if messages have to be retrieved recursively. |
messageExtraFields | java.lang.Iterable<java.lang.String> | List of extra parameters for a message wich will be requested. |
Returns: ImapMessageInfoCollection - Collection of ImapMessageInfo objects
listMessages(String folderName, MailQuery query, int maxNumberOfMessages)
public final ImapMessageInfoCollection listMessages(String folderName, MailQuery query, int maxNumberOfMessages)
Gets the list of messages in the current folder.
Parameters:
Parameter | Type | Description |
---|---|---|
folderName | java.lang.String | Messages location |
query | MailQuery | MailQuery that represents search query. |
maxNumberOfMessages | int | Maximum number of messages. |
Returns: ImapMessageInfoCollection - Collection of ImapMessageInfo objects.
listMessages(String folderName, int fieldsList, int maxNumberOfMessages)
public final ImapMessageInfoCollection listMessages(String folderName, int fieldsList, int maxNumberOfMessages)
Lists the messages. Gets an information for earch message
Parameters:
Parameter | Type | Description |
---|---|---|
folderName | java.lang.String | Folder to retrieve messages. |
fieldsList | int | Fields that may be retrieved from the server. |
maxNumberOfMessages | int | Maximum number of messages. |
Note that messages marked as deleted are not listed |
Returns: ImapMessageInfoCollection - ImapMessageInfoCollection
listMessages(long modificationSequence)
public final ImapMessageInfoCollection listMessages(long modificationSequence)
Gets the list of messages in the current folder that have a modification sequence bigger than specified value. Please, see more https://tools.ietf.org/html/rfc7162
Parameters:
Parameter | Type | Description |
---|---|---|
modificationSequence | long | Modification sequence |
Returns: ImapMessageInfoCollection - Collection of ImapMessageInfo representing the messages information.
listMessagesByPage(IConnection connection, PageInfo page)
public final ImapPageInfo listMessagesByPage(IConnection connection, PageInfo page)
Gets the list of messages in the current folder.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
page | PageInfo | Next page to retrieve |
Returns: ImapPageInfo - ImapPageInfo with information for current page
listMessagesByPage(IConnection connection, int itemsPerPage)
public final ImapPageInfo listMessagesByPage(IConnection connection, int itemsPerPage)
Gets the list of messages in the current folder.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
itemsPerPage | int | A number of items in page |
Returns: ImapPageInfo - Collection of ImapMessageInfo objects.
listMessagesByPage(IConnection connection, int itemsPerPage, int pageOffset)
public final ImapPageInfo listMessagesByPage(IConnection connection, int itemsPerPage, int pageOffset)
Gets the list of messages in the current folder.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
itemsPerPage | int | A number of items in page |
pageOffset | int | An offset of next page in view |
Returns: ImapPageInfo - Collection of ImapMessageInfo objects.
listMessagesByPage(IConnection connection, String folderName, MailQuery query, PageInfo pageInfo)
public final ImapPageInfo listMessagesByPage(IConnection connection, String folderName, MailQuery query, PageInfo pageInfo)
Gets the list of messages in the current folder.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
folderName | java.lang.String | Messages location |
query | MailQuery | MailQuery that represents search query. |
pageInfo | PageInfo | Next page to retrieve |
Returns: ImapPageInfo - ImapPageInfo with information for current page
listMessagesByPage(IConnection connection, String folderName, MailQuery query, int itemsPerPage)
public final ImapPageInfo listMessagesByPage(IConnection connection, String folderName, MailQuery query, int itemsPerPage)
Gets the list of messages in the current folder.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
folderName | java.lang.String | Messages location |
query | MailQuery | MailQuery that represents search query. |
itemsPerPage | int | A number of items in page |
Returns: ImapPageInfo - ImapPageInfo with information for current page
listMessagesByPage(MailQuery query, PageInfo pageInfo, PageSettings settings)
public final ImapPageInfo listMessagesByPage(MailQuery query, PageInfo pageInfo, PageSettings settings)
Gets the list of messages
Parameters:
Parameter | Type | Description |
---|---|---|
query | MailQuery | MailQuery that represents search query. |
pageInfo | PageInfo | The next page to retrieve. |
settings | PageSettings | The settings. |
Returns: ImapPageInfo - IAsyncResult that represents the status of an asynchronous operation.
listMessagesByPage(PageInfo page)
public final ImapPageInfo listMessagesByPage(PageInfo page)
Gets the list of messages in the current folder.
Parameters:
Parameter | Type | Description |
---|---|---|
page | PageInfo | Next page to retrieve |
Returns: ImapPageInfo - ImapPageInfo with information for current page
listMessagesByPage(PageInfo pageInfo, PageSettings settings)
public final ImapPageInfo listMessagesByPage(PageInfo pageInfo, PageSettings settings)
Gets the list of messages
Parameters:
Parameter | Type | Description |
---|---|---|
pageInfo | PageInfo | The next page to retrieve. |
settings | PageSettings | The settings. |
Returns: ImapPageInfo - IAsyncResult that represents the status of an asynchronous operation.
listMessagesByPage(int itemsPerPage)
public final ImapPageInfo listMessagesByPage(int itemsPerPage)
Gets the list of messages in the current folder.
Parameters:
Parameter | Type | Description |
---|---|---|
itemsPerPage | int | A number of items in page |
Returns: ImapPageInfo - Collection of ImapMessageInfo objects.
listMessagesByPage(int itemsPerPage, PageSettings settings)
public final ImapPageInfo listMessagesByPage(int itemsPerPage, PageSettings settings)
Gets the list of messages
Parameters:
Parameter | Type | Description |
---|---|---|
itemsPerPage | int | A number of items in page |
settings | PageSettings | The settings. |
Returns: ImapPageInfo - IAsyncResult that represents the status of an asynchronous operation.
listMessagesByPage(int itemsPerPage, int pageOffset)
public final ImapPageInfo listMessagesByPage(int itemsPerPage, int pageOffset)
Gets the list of messages in the current folder.
Parameters:
Parameter | Type | Description |
---|---|---|
itemsPerPage | int | A number of items in page |
pageOffset | int | An offset of next page in view |
Returns: ImapPageInfo - Collection of ImapMessageInfo objects.
listMessagesByPage(int itemsPerPage, int pageOffset, PageSettings settings)
public final ImapPageInfo listMessagesByPage(int itemsPerPage, int pageOffset, PageSettings settings)
Gets the list of messages
Parameters:
Parameter | Type | Description |
---|---|---|
itemsPerPage | int | A number of items in page |
pageOffset | int | An offset of next page in view |
settings | PageSettings | The settings. |
Returns: ImapPageInfo - IAsyncResult that represents the status of an asynchronous operation.
listMessagesByPage(String folderName, MailQuery query, PageInfo pageInfo)
public final ImapPageInfo listMessagesByPage(String folderName, MailQuery query, PageInfo pageInfo)
Gets the list of messages in the current folder.
Parameters:
Parameter | Type | Description |
---|---|---|
folderName | java.lang.String | Messages location |
query | MailQuery | MailQuery that represents search query. |
pageInfo | PageInfo | Next page to retrieve |
Returns: ImapPageInfo - ImapPageInfo with information for current page
listMessagesByPage(String folderName, MailQuery query, int itemsPerPage)
public final ImapPageInfo listMessagesByPage(String folderName, MailQuery query, int itemsPerPage)
Gets the list of messages in the current folder.
Parameters:
Parameter | Type | Description |
---|---|---|
folderName | java.lang.String | Messages location |
query | MailQuery | MailQuery that represents search query. |
itemsPerPage | int | A number of items in page |
Returns: ImapPageInfo - ImapPageInfo with information for current page
listMessagesBySequences(IConnection connection, String folderName, Iterable sequenceNumberLst)
public final ImapMessageInfoCollection listMessagesBySequences(IConnection connection, String folderName, Iterable<Integer> sequenceNumberLst)
Lists the messages. Gets an information for earch message
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
folderName | java.lang.String | Folder to retrieve messages. |
sequenceNumberLst | java.lang.Iterable<java.lang.Integer> | sequenceNumber list for ImapMessageInfo to retrieve from a server. |
Note that messages marked as deleted are not listed |
Returns: ImapMessageInfoCollection - ImapMessageInfoCollection
listMessagesBySequences(String folderName, Iterable sequenceNumberLst)
public final ImapMessageInfoCollection listMessagesBySequences(String folderName, Iterable<Integer> sequenceNumberLst)
Lists the messages. Gets an information for earch message
Parameters:
Parameter | Type | Description |
---|---|---|
folderName | java.lang.String | Folder to retrieve messages. |
sequenceNumberLst | java.lang.Iterable<java.lang.Integer> | sequenceNumber list for ImapMessageInfo to retrieve from a server. |
Note that messages marked as deleted are not listed |
Returns: ImapMessageInfoCollection - ImapMessageInfoCollection
listMessagesByUids(IConnection connection, String folderName, Iterable uniqueIdLst)
public final ImapMessageInfoCollection listMessagesByUids(IConnection connection, String folderName, Iterable<String> uniqueIdLst)
Lists the messages. Gets an information for earch message
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
folderName | java.lang.String | Folder to retrieve messages. |
uniqueIdLst | java.lang.Iterable<java.lang.String> | UniqueId list for ImapMessageInfo to retrieve from a server. |
Note that messages marked as deleted are not listed |
Returns: ImapMessageInfoCollection - ImapMessageInfoCollection
listMessagesByUids(String folderName, Iterable uniqueIdLst)
public final ImapMessageInfoCollection listMessagesByUids(String folderName, Iterable<String> uniqueIdLst)
Lists the messages. Gets an information for earch message
Parameters:
Parameter | Type | Description |
---|---|---|
folderName | java.lang.String | Folder to retrieve messages. |
uniqueIdLst | java.lang.Iterable<java.lang.String> | UniqueId list for ImapMessageInfo to retrieve from a server. |
Note that messages marked as deleted are not listed |
Returns: ImapMessageInfoCollection - ImapMessageInfoCollection
moveFolder(IConnection connection, String newParentFolder, String folderName)
public final void moveFolder(IConnection connection, String newParentFolder, String folderName)
Moves specified folder and its subfolders to new location.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
newParentFolder | java.lang.String | New location for moved folder |
folderName | java.lang.String | Folder to move |
moveFolder(String newParentFolder, String folderName)
public final void moveFolder(String newParentFolder, String folderName)
Moves specified folder and its subfolders to new location.
Parameters:
Parameter | Type | Description |
---|---|---|
newParentFolder | java.lang.String | New location for moved folder |
folderName | java.lang.String | Folder to move |
moveMessage(IConnection connection, int sequenceNumber, String folderName)
public final String moveMessage(IConnection connection, int sequenceNumber, String folderName)
Moves the messaeg
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceNumber | int | The sequence number of the message |
folderName | java.lang.String | Folder name where a message is to be moved |
Returns: java.lang.String
moveMessage(IConnection connection, int sequenceNumber, String folderName, boolean commitDeletions)
public final String moveMessage(IConnection connection, int sequenceNumber, String folderName, boolean commitDeletions)
Moves the messaeg
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceNumber | int | The sequence number of the message |
folderName | java.lang.String | Folder name where a message is to be moved |
commitDeletions | boolean | Specifies whether deletions should be committed. |
Returns: java.lang.String
moveMessage(IConnection connection, String uniqueId, String folderName)
public final String moveMessage(IConnection connection, String uniqueId, String folderName)
Moves the message
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uniqueId | java.lang.String | The uid of the message |
folderName | java.lang.String | Folder name where a message is to be moved |
Returns: java.lang.String
moveMessage(IConnection connection, String uniqueId, String folderName, boolean commitDeletions)
public final String moveMessage(IConnection connection, String uniqueId, String folderName, boolean commitDeletions)
Moves the message
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uniqueId | java.lang.String | The uid of the message |
folderName | java.lang.String | Folder name where a message is to be moved |
commitDeletions | boolean | Specifies whether deletions should be committed. |
Returns: java.lang.String
moveMessage(int sequenceNumber, String folderName)
public final String moveMessage(int sequenceNumber, String folderName)
Moves the message
Parameters:
Parameter | Type | Description |
---|---|---|
sequenceNumber | int | The sequence number of the message |
folderName | java.lang.String | Folder name where a message is to be moved |
Returns: java.lang.String
moveMessage(int sequenceNumber, String folderName, boolean commitDeletions)
public final String moveMessage(int sequenceNumber, String folderName, boolean commitDeletions)
Moves the message
Parameters:
Parameter | Type | Description |
---|---|---|
sequenceNumber | int | The sequence number of the message |
folderName | java.lang.String | Folder name where a message is to be moved |
commitDeletions | boolean | Specifies whether deletions should be committed. |
Returns: java.lang.String
moveMessage(String uniqueId, String folderName)
public final String moveMessage(String uniqueId, String folderName)
Moves the message
Parameters:
Parameter | Type | Description |
---|---|---|
uniqueId | java.lang.String | The uid of the message |
folderName | java.lang.String | Folder name where a message is to be moved |
Returns: java.lang.String
moveMessage(String uniqueId, String folderName, boolean commitDeletions)
public final String moveMessage(String uniqueId, String folderName, boolean commitDeletions)
Moves the message
Parameters:
Parameter | Type | Description |
---|---|---|
uniqueId | java.lang.String | The uid of the message |
folderName | java.lang.String | Folder name where a message is to be moved |
commitDeletions | boolean | Specifies whether deletions should be committed. |
Returns: java.lang.String
moveMessages(IConnection connection, int startSequence, int endSequence, String folderName)
public final void moveMessages(IConnection connection, int startSequence, int endSequence, String folderName)
Moves the messaeg
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
startSequence | int | The starting sequence number of a message list |
endSequence | int | The ending sequence number of a message list |
folderName | java.lang.String | Folder name where a message is to be moved |
moveMessages(IConnection connection, int startSequence, int endSequence, String folderName, boolean commitDeletions)
public final void moveMessages(IConnection connection, int startSequence, int endSequence, String folderName, boolean commitDeletions)
Moves the messaeg
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
startSequence | int | The starting sequence number of a message list |
endSequence | int | The ending sequence number of a message list |
folderName | java.lang.String | Folder name where a message is to be moved |
commitDeletions | boolean | Specifies whether deletions should be committed. |
moveMessages(IConnection connection, Iterable messageInfoSet, String folderName)
public final void moveMessages(IConnection connection, Iterable<ImapMessageInfo> messageInfoSet, String folderName)
Moves the message
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
messageInfoSet | java.lang.Iterable<com.aspose.email.ImapMessageInfo> | The set of ImapMessageInfo |
folderName | java.lang.String | Folder name where a message is to be moved |
moveMessages(IConnection connection, Iterable messageInfoSet, String folderName, boolean commitDeletions)
public final void moveMessages(IConnection connection, Iterable<ImapMessageInfo> messageInfoSet, String folderName, boolean commitDeletions)
Moves the message
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
messageInfoSet | java.lang.Iterable<com.aspose.email.ImapMessageInfo> | The set of ImapMessageInfo |
folderName | java.lang.String | Folder name where a message is to be moved |
commitDeletions | boolean | Specifies whether deletions should be committed. |
moveMessages(IConnection connection, String startUid, String endUid, String folderName)
public final void moveMessages(IConnection connection, String startUid, String endUid, String folderName)
Moves the message
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
startUid | java.lang.String | The starting UID of a message list |
endUid | java.lang.String | The ending UID of a message list |
folderName | java.lang.String | Folder name where a message is to be moved |
moveMessages(IConnection connection, String startUid, String endUid, String folderName, boolean commitDeletions)
public final void moveMessages(IConnection connection, String startUid, String endUid, String folderName, boolean commitDeletions)
Moves the message
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
startUid | java.lang.String | The starting UID of a message list |
endUid | java.lang.String | The ending UID of a message list |
folderName | java.lang.String | Folder name where a message is to be moved |
commitDeletions | boolean | Specifies whether deletions should be committed. |
moveMessages(int startSequence, int endSequence, String folderName)
public final void moveMessages(int startSequence, int endSequence, String folderName)
Moves the message
Parameters:
Parameter | Type | Description |
---|---|---|
startSequence | int | The starting sequence number of a message list |
endSequence | int | The ending sequence number of a message list |
folderName | java.lang.String | Folder name where a message is to be moved |
moveMessages(int startSequence, int endSequence, String folderName, boolean commitDeletions)
public final void moveMessages(int startSequence, int endSequence, String folderName, boolean commitDeletions)
Moves the message
Parameters:
Parameter | Type | Description |
---|---|---|
startSequence | int | The starting sequence number of a message list |
endSequence | int | The ending sequence number of a message list |
folderName | java.lang.String | Folder name where a message is to be moved |
commitDeletions | boolean | Specifies whether deletions should be committed. |
moveMessages(Iterable messageInfoSet, String folderName)
public final void moveMessages(Iterable<ImapMessageInfo> messageInfoSet, String folderName)
Moves the message
Parameters:
Parameter | Type | Description |
---|---|---|
messageInfoSet | java.lang.Iterable<com.aspose.email.ImapMessageInfo> | The set of ImapMessageInfo |
folderName | java.lang.String | Folder name where a message is to be moved |
moveMessages(Iterable messageInfoSet, String folderName, boolean commitDeletions)
public final void moveMessages(Iterable<ImapMessageInfo> messageInfoSet, String folderName, boolean commitDeletions)
Moves the message
Parameters:
Parameter | Type | Description |
---|---|---|
messageInfoSet | java.lang.Iterable<com.aspose.email.ImapMessageInfo> | The set of ImapMessageInfo |
folderName | java.lang.String | Folder name where a message is to be moved |
commitDeletions | boolean | Specifies whether deletions should be committed. |
moveMessages(String startUid, String endUid, String folderName)
public final void moveMessages(String startUid, String endUid, String folderName)
Moves the message
Parameters:
Parameter | Type | Description |
---|---|---|
startUid | java.lang.String | The starting UID of a message list |
endUid | java.lang.String | The ending UID of a message list |
folderName | java.lang.String | Folder name where a message is to be moved |
moveMessages(String startUid, String endUid, String folderName, boolean commitDeletions)
public final void moveMessages(String startUid, String endUid, String folderName, boolean commitDeletions)
Moves the message
Parameters:
Parameter | Type | Description |
---|---|---|
startUid | java.lang.String | The starting UID of a message list |
endUid | java.lang.String | The ending UID of a message list |
folderName | java.lang.String | Folder name where a message is to be moved |
commitDeletions | boolean | Specifies whether deletions should be committed. |
moveMessagesBySequences(IConnection connection, Iterable sequenceSet, String folderName)
public final void moveMessagesBySequences(IConnection connection, Iterable<Integer> sequenceSet, String folderName)
Moves the messaeg
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceSet | java.lang.Iterable<java.lang.Integer> | The set of sequence numbers for messages |
folderName | java.lang.String | Folder name where a message is to be moved |
moveMessagesBySequences(IConnection connection, Iterable sequenceSet, String folderName, boolean commitDeletions)
public final void moveMessagesBySequences(IConnection connection, Iterable<Integer> sequenceSet, String folderName, boolean commitDeletions)
Moves the messaeg
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceSet | java.lang.Iterable<java.lang.Integer> | The set of sequence numbers for messages |
folderName | java.lang.String | Folder name where a message is to be moved |
commitDeletions | boolean | Specifies whether deletions should be committed. |
moveMessagesBySequences(Iterable sequenceSet, String folderName)
public final void moveMessagesBySequences(Iterable<Integer> sequenceSet, String folderName)
Moves the message
Parameters:
Parameter | Type | Description |
---|---|---|
sequenceSet | java.lang.Iterable<java.lang.Integer> | The set of sequence numbers for messages |
folderName | java.lang.String | Folder name where a message is to be moved |
moveMessagesBySequences(Iterable sequenceSet, String folderName, boolean commitDeletions)
public final void moveMessagesBySequences(Iterable<Integer> sequenceSet, String folderName, boolean commitDeletions)
Moves the message
Parameters:
Parameter | Type | Description |
---|---|---|
sequenceSet | java.lang.Iterable<java.lang.Integer> | The set of sequence numbers for messages |
folderName | java.lang.String | Folder name where a message is to be moved |
commitDeletions | boolean | Specifies whether deletions should be committed. |
moveMessagesByUids(IConnection connection, Iterable uidSet, String folderName)
public final void moveMessagesByUids(IConnection connection, Iterable<String> uidSet, String folderName)
Moves the message
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uidSet | java.lang.Iterable<java.lang.String> | The set of UID for messages |
folderName | java.lang.String | Folder name where a message is to be moved |
moveMessagesByUids(IConnection connection, Iterable uidSet, String folderName, boolean commitDeletions)
public final void moveMessagesByUids(IConnection connection, Iterable<String> uidSet, String folderName, boolean commitDeletions)
Moves the message
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uidSet | java.lang.Iterable<java.lang.String> | The set of UID for messages |
folderName | java.lang.String | Folder name where a message is to be moved |
commitDeletions | boolean | Specifies whether deletions should be committed. |
moveMessagesByUids(Iterable uidSet, String folderName)
public final void moveMessagesByUids(Iterable<String> uidSet, String folderName)
Moves the message
Parameters:
Parameter | Type | Description |
---|---|---|
uidSet | java.lang.Iterable<java.lang.String> | The set of UID for messages |
folderName | java.lang.String | Folder name where a message is to be moved |
moveMessagesByUids(Iterable uidSet, String folderName, boolean commitDeletions)
public final void moveMessagesByUids(Iterable<String> uidSet, String folderName, boolean commitDeletions)
Moves the message
Parameters:
Parameter | Type | Description |
---|---|---|
uidSet | java.lang.Iterable<java.lang.String> | The set of UID for messages |
folderName | java.lang.String | Folder name where a message is to be moved |
commitDeletions | boolean | Specifies whether deletions should be committed. |
noop()
public void noop()
‘No operation’ command
noop(IConnection connection)
public void noop(IConnection connection)
‘No operation’ command
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
removeMessageFlags(IConnection connection, int sequenceNumber, ImapMessageFlags flags)
public final void removeMessageFlags(IConnection connection, int sequenceNumber, ImapMessageFlags flags)
Removes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceNumber | int | The sequence number of the message |
flags | ImapMessageFlags | The flags to be added |
removeMessageFlags(IConnection connection, int sequenceNumber, ImapMessageFlags flags, long modificationSequence)
public final void removeMessageFlags(IConnection connection, int sequenceNumber, ImapMessageFlags flags, long modificationSequence)
Removes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceNumber | int | The sequence number of the message |
flags | ImapMessageFlags | The flags to be added |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
removeMessageFlags(IConnection connection, int startSequence, int endSequence, ImapMessageFlags flags)
public final void removeMessageFlags(IConnection connection, int startSequence, int endSequence, ImapMessageFlags flags)
Removes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
startSequence | int | The starting sequence number of a message list |
endSequence | int | The ending sequence number of a message list |
flags | ImapMessageFlags | The flags to be removed |
removeMessageFlags(IConnection connection, int startSequence, int endSequence, ImapMessageFlags flags, long modificationSequence)
public final void removeMessageFlags(IConnection connection, int startSequence, int endSequence, ImapMessageFlags flags, long modificationSequence)
Removes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
startSequence | int | The starting sequence number of a message list |
endSequence | int | The ending sequence number of a message list |
flags | ImapMessageFlags | The flags to be removed |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
removeMessageFlags(IConnection connection, Iterable messageInfoSet, ImapMessageFlags flags)
public final void removeMessageFlags(IConnection connection, Iterable<ImapMessageInfo> messageInfoSet, ImapMessageFlags flags)
Removes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
messageInfoSet | java.lang.Iterable<com.aspose.email.ImapMessageInfo> | The set of ImapMessageInfo |
flags | ImapMessageFlags | The flags to be changed |
removeMessageFlags(IConnection connection, Iterable messageInfoSet, ImapMessageFlags flags, long modificationSequence)
public final void removeMessageFlags(IConnection connection, Iterable<ImapMessageInfo> messageInfoSet, ImapMessageFlags flags, long modificationSequence)
Removes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
messageInfoSet | java.lang.Iterable<com.aspose.email.ImapMessageInfo> | The set of ImapMessageInfo |
flags | ImapMessageFlags | The flags to be changed |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
removeMessageFlags(IConnection connection, String uniqueId, ImapMessageFlags flags)
public final void removeMessageFlags(IConnection connection, String uniqueId, ImapMessageFlags flags)
Removes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uniqueId | java.lang.String | Unique identifier of a message |
flags | ImapMessageFlags | The flags to be added |
removeMessageFlags(IConnection connection, String uniqueId, ImapMessageFlags flags, long modificationSequence)
public final void removeMessageFlags(IConnection connection, String uniqueId, ImapMessageFlags flags, long modificationSequence)
Removes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uniqueId | java.lang.String | Unique identifier of a message |
flags | ImapMessageFlags | The flags to be added |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
removeMessageFlags(IConnection connection, String startUid, String endUid, ImapMessageFlags flags)
public final void removeMessageFlags(IConnection connection, String startUid, String endUid, ImapMessageFlags flags)
Removes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
startUid | java.lang.String | The starting UID of a message list |
endUid | java.lang.String | The ending UID of a message list |
flags | ImapMessageFlags | The flags to be changed |
removeMessageFlags(IConnection connection, String startUid, String endUid, ImapMessageFlags flags, long modificationSequence)
public final void removeMessageFlags(IConnection connection, String startUid, String endUid, ImapMessageFlags flags, long modificationSequence)
Removes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
startUid | java.lang.String | The starting UID of a message list |
endUid | java.lang.String | The ending UID of a message list |
flags | ImapMessageFlags | The flags to be changed |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
removeMessageFlags(int sequenceNumber, ImapMessageFlags flags)
public final void removeMessageFlags(int sequenceNumber, ImapMessageFlags flags)
Removes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
sequenceNumber | int | The sequence number of the message |
flags | ImapMessageFlags | The flags to be added |
removeMessageFlags(int sequenceNumber, ImapMessageFlags flags, long modificationSequence)
public final void removeMessageFlags(int sequenceNumber, ImapMessageFlags flags, long modificationSequence)
Removes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
sequenceNumber | int | The sequence number of the message |
flags | ImapMessageFlags | The flags to be added |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
removeMessageFlags(int startSequence, int endSequence, ImapMessageFlags flags)
public final void removeMessageFlags(int startSequence, int endSequence, ImapMessageFlags flags)
Removes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
startSequence | int | The starting sequence number of a message list |
endSequence | int | The ending sequence number of a message list |
flags | ImapMessageFlags | The flags to be removed |
removeMessageFlags(int startSequence, int endSequence, ImapMessageFlags flags, long modificationSequence)
public final void removeMessageFlags(int startSequence, int endSequence, ImapMessageFlags flags, long modificationSequence)
Removes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
startSequence | int | The starting sequence number of a message list |
endSequence | int | The ending sequence number of a message list |
flags | ImapMessageFlags | The flags to be removed |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
removeMessageFlags(Iterable messageInfoSet, ImapMessageFlags flags)
public final void removeMessageFlags(Iterable<ImapMessageInfo> messageInfoSet, ImapMessageFlags flags)
Removes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
messageInfoSet | java.lang.Iterable<com.aspose.email.ImapMessageInfo> | The set of ImapMessageInfo |
flags | ImapMessageFlags | The flags to be changed |
removeMessageFlags(Iterable messageInfoSet, ImapMessageFlags flags, long modificationSequence)
public final void removeMessageFlags(Iterable<ImapMessageInfo> messageInfoSet, ImapMessageFlags flags, long modificationSequence)
Removes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
messageInfoSet | java.lang.Iterable<com.aspose.email.ImapMessageInfo> | The set of ImapMessageInfo |
flags | ImapMessageFlags | The flags to be changed |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
removeMessageFlags(String uniqueId, ImapMessageFlags flags)
public final void removeMessageFlags(String uniqueId, ImapMessageFlags flags)
Removes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
uniqueId | java.lang.String | Unique identifier of a message |
flags | ImapMessageFlags | The flags to be added |
removeMessageFlags(String uniqueId, ImapMessageFlags flags, long modificationSequence)
public final void removeMessageFlags(String uniqueId, ImapMessageFlags flags, long modificationSequence)
Removes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
uniqueId | java.lang.String | Unique identifier of a message |
flags | ImapMessageFlags | The flags to be added |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
removeMessageFlags(String startUid, String endUid, ImapMessageFlags flags)
public final void removeMessageFlags(String startUid, String endUid, ImapMessageFlags flags)
Removes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
startUid | java.lang.String | The starting UID of a message list |
endUid | java.lang.String | The ending UID of a message list |
flags | ImapMessageFlags | The flags to be changed |
removeMessageFlags(String startUid, String endUid, ImapMessageFlags flags, long modificationSequence)
public final void removeMessageFlags(String startUid, String endUid, ImapMessageFlags flags, long modificationSequence)
Removes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
startUid | java.lang.String | The starting UID of a message list |
endUid | java.lang.String | The ending UID of a message list |
flags | ImapMessageFlags | The flags to be changed |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
removeMessageFlagsBySequences(IConnection connection, Iterable sequenceSet, ImapMessageFlags flags)
public final void removeMessageFlagsBySequences(IConnection connection, Iterable<Integer> sequenceSet, ImapMessageFlags flags)
Removes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceSet | java.lang.Iterable<java.lang.Integer> | The set of sequence numbers for messages |
flags | ImapMessageFlags | The flags to be removed |
removeMessageFlagsBySequences(IConnection connection, Iterable sequenceSet, ImapMessageFlags flags, long modificationSequence)
public final void removeMessageFlagsBySequences(IConnection connection, Iterable<Integer> sequenceSet, ImapMessageFlags flags, long modificationSequence)
Removes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceSet | java.lang.Iterable<java.lang.Integer> | The set of sequence numbers for messages |
flags | ImapMessageFlags | The flags to be removed |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
removeMessageFlagsBySequences(Iterable sequenceSet, ImapMessageFlags flags)
public final void removeMessageFlagsBySequences(Iterable<Integer> sequenceSet, ImapMessageFlags flags)
Removes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
sequenceSet | java.lang.Iterable<java.lang.Integer> | The set of sequence numbers for messages |
flags | ImapMessageFlags | The flags to be removed |
removeMessageFlagsBySequences(Iterable sequenceSet, ImapMessageFlags flags, long modificationSequence)
public final void removeMessageFlagsBySequences(Iterable<Integer> sequenceSet, ImapMessageFlags flags, long modificationSequence)
Removes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
sequenceSet | java.lang.Iterable<java.lang.Integer> | The set of sequence numbers for messages |
flags | ImapMessageFlags | The flags to be removed |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
removeMessageFlagsByUids(IConnection connection, Iterable uidSet, ImapMessageFlags flags)
public final void removeMessageFlagsByUids(IConnection connection, Iterable<String> uidSet, ImapMessageFlags flags)
Removes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uidSet | java.lang.Iterable<java.lang.String> | The set of UID for messages |
flags | ImapMessageFlags | The flags to be changed |
removeMessageFlagsByUids(IConnection connection, Iterable uidSet, ImapMessageFlags flags, long modificationSequence)
public final void removeMessageFlagsByUids(IConnection connection, Iterable<String> uidSet, ImapMessageFlags flags, long modificationSequence)
Removes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uidSet | java.lang.Iterable<java.lang.String> | The set of set of UID for messages |
flags | ImapMessageFlags | The flags to be changed |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
removeMessageFlagsByUids(Iterable uidSet, ImapMessageFlags flags)
public final void removeMessageFlagsByUids(Iterable<String> uidSet, ImapMessageFlags flags)
Removes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
uidSet | java.lang.Iterable<java.lang.String> | The set of UID for messages |
flags | ImapMessageFlags | The flags to be changed |
removeMessageFlagsByUids(Iterable uidSet, ImapMessageFlags flags, long modificationSequence)
public final void removeMessageFlagsByUids(Iterable<String> uidSet, ImapMessageFlags flags, long modificationSequence)
Removes the flags of the message
Parameters:
Parameter | Type | Description |
---|---|---|
uidSet | java.lang.Iterable<java.lang.String> | The set of UID for messages |
flags | ImapMessageFlags | The flags to be changed |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
renameFolder(IConnection connection, String folderName, String newFolderName)
public final void renameFolder(IConnection connection, String folderName, String newFolderName)
Renames a specified folder to a new name
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
folderName | java.lang.String | Folder to be renamed |
newFolderName | java.lang.String | New folder name |
renameFolder(String folderName, String newFolderName)
public final void renameFolder(String folderName, String newFolderName)
Renames a specified folder to a new name
Parameters:
Parameter | Type | Description |
---|---|---|
folderName | java.lang.String | Folder to be renamed |
newFolderName | java.lang.String | New folder name |
requestCheckpoint()
public final void requestCheckpoint()
Requests a checkpoint of the currently selected mailbox.
requestCheckpoint(IConnection connection)
public final void requestCheckpoint(IConnection connection)
Requests a checkpoint of the currently selected mailbox.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
resetLogSettings()
public final void resetLogSettings()
Resets logging settings to default.
restore(PersonalStorage pst, ImapRestoreSettings settings)
public final void restore(PersonalStorage pst, ImapRestoreSettings settings)
Begins to restore imap folders from the given personal storage.
Parameters:
Parameter | Type | Description |
---|---|---|
pst | PersonalStorage | A personal storage containing the backuped imap folders. |
settings | ImapRestoreSettings | The restore settings |
resumeMonitoring(ImapMonitoringEventHandler callback, ImapMonitoringErrorEventHandler errorCallback, IImapMonitoringState monitoringState)
public final void resumeMonitoring(ImapMonitoringEventHandler callback, ImapMonitoringErrorEventHandler errorCallback, IImapMonitoringState monitoringState)
Resumes monitoring of message changes for specified folder. Unlike the StartMonitoring method, it will find all missing mailbox changes and call the callback for them.
Parameters:
Parameter | Type | Description |
---|---|---|
callback | ImapMonitoringEventHandler | The callback function for monitoring operation. |
errorCallback | ImapMonitoringErrorEventHandler | The callback function for monitoring error handling. Monitoring of specified folder is stopped when this callback is called. |
monitoringState | IImapMonitoringState | The monitoring state to resume folder monitoring from. Can be retrieved from ImapMonitoringErrorEventArgs. |
saveMessage(IConnection connection, int sequenceNumber, OutputStream resultStream)
public final void saveMessage(IConnection connection, int sequenceNumber, OutputStream resultStream)
Downloads the message with the specified sequence number and writes its data into a supplied stream
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceNumber | int | The sequence number of the message |
resultStream | java.io.OutputStream | Stream that will receive the message |
saveMessage(IConnection connection, int sequenceNumber, String fileName)
public final void saveMessage(IConnection connection, int sequenceNumber, String fileName)
Downloads the message with the specified sequence number and writes its data into a local file
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceNumber | int | The sequence number of the message |
fileName | java.lang.String | The path of the local file. This cannot be a directory |
saveMessage(IConnection connection, String uniqueId, OutputStream resultStream)
public final void saveMessage(IConnection connection, String uniqueId, OutputStream resultStream)
Downloads the message with the specified sequence number and writes its data into a supplied stream
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uniqueId | java.lang.String | The unique Id of the message |
resultStream | java.io.OutputStream | Stream that will receive the message |
saveMessage(IConnection connection, String uniqueId, String fileName)
public final void saveMessage(IConnection connection, String uniqueId, String fileName)
Downloads the message with the specified sequence number and writes its data into a local file
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uniqueId | java.lang.String | The unique Id of the message |
fileName | java.lang.String | The path of the local file. This cannot be a directory |
saveMessage(int sequenceNumber, OutputStream resultStream)
public final void saveMessage(int sequenceNumber, OutputStream resultStream)
Downloads the message with the specified sequence number and writes its data into a supplied stream
Parameters:
Parameter | Type | Description |
---|---|---|
sequenceNumber | int | The sequence number of the message |
resultStream | java.io.OutputStream | Stream that will receive the message |
saveMessage(int sequenceNumber, String fileName)
public final void saveMessage(int sequenceNumber, String fileName)
Downloads the message with the specified sequence number and writes its data into a local file
Parameters:
Parameter | Type | Description |
---|---|---|
sequenceNumber | int | The sequence number of the message |
fileName | java.lang.String | The path of the local file. This cannot be a directory |
saveMessage(String uniqueId, OutputStream resultStream)
public final void saveMessage(String uniqueId, OutputStream resultStream)
Downloads the message with the specified sequence number and writes its data into a supplied stream
Parameters:
Parameter | Type | Description |
---|---|---|
uniqueId | java.lang.String | The unique Id of the message |
resultStream | java.io.OutputStream | Stream that will receive the message |
saveMessage(String uniqueId, String fileName)
public final void saveMessage(String uniqueId, String fileName)
Downloads the message with the specified sequence number and writes its data into a local file
Parameters:
Parameter | Type | Description |
---|---|---|
uniqueId | java.lang.String | The unique Id of the message |
fileName | java.lang.String | The path of the local file. This cannot be a directory |
selectFolder(IConnection connection, String folderName)
public final void selectFolder(IConnection connection, String folderName)
Selects the specified folder
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
folderName | java.lang.String | Folder to be selected |
selectFolder(IConnection connection, String folderName, Boolean readOnly)
public final void selectFolder(IConnection connection, String folderName, Boolean readOnly)
Selects the specified folder
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
folderName | java.lang.String | Folder to be selected |
readOnly | java.lang.Boolean | Specifies whether the folder is to be selected as read-only |
selectFolder(String folderName)
public final void selectFolder(String folderName)
Selects the specified folder
Parameters:
Parameter | Type | Description |
---|---|---|
folderName | java.lang.String | Folder to be selected |
selectFolder(String folderName, Boolean readOnly)
public final void selectFolder(String folderName, Boolean readOnly)
Selects the specified folder
Parameters:
Parameter | Type | Description |
---|---|---|
folderName | java.lang.String | Folder to be selected |
readOnly | java.lang.Boolean | Specifies whether the folder is to be selected as read-only |
setAccessToken(String value)
public void setAccessToken(String value)
Gets or sets the access token.
Value: The string that represents access token.
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.lang.String |
setAllowedAuthentication(long value)
public final void setAllowedAuthentication(long value)
Gets or sets enumeration of allowed by user authentication types
Parameters:
Parameter | Type | Description |
---|---|---|
value | long |
setAnnotateSupported(boolean value)
public final void setAnnotateSupported(boolean value)
Gets information whether ANNOTATE extension is supported See more: https://tools.ietf.org/html/rfc5257
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean |
setAutoCommit(boolean value)
public final void setAutoCommit(boolean value)
Indicates, whether commit operation are executed automatically when folder is changed or before connection is closed.
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean |
setChildrenSupported(boolean value)
public final void setChildrenSupported(boolean value)
Gets information whether CHILDREN extension is supported See more: https://tools.ietf.org/html/rfc3348
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean |
setClientIdentificationInfo(ImapIdentificationInfo value)
public final void setClientIdentificationInfo(ImapIdentificationInfo value)
Gets or sets client identification information See more: https://tools.ietf.org/html/rfc2971
Parameters:
Parameter | Type | Description |
---|---|---|
value | ImapIdentificationInfo |
setCompressSupported(boolean value)
public final void setCompressSupported(boolean value)
Gets information whether COMPRESS extension is supported See more: https://tools.ietf.org/html/rfc4978
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean |
setCondstoreSupported(boolean value)
public final void setCondstoreSupported(boolean value)
Gets information whether CONDSTORE extension is supported See more: https://tools.ietf.org/html/rfc7162
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean |
setConnectionAsgmtMode(int value)
public void setConnectionAsgmtMode(int value)
Gets or sets value which defines mode of connection allocation in multiple threads environment There are folowing connection types: - Main connection is connection created and disposed together with mail client.It can’t be created or disposed manually. - Default connection is connection default for some thread. If default connection exists and ConnectionAsgmtMode allow, all methods of email client executed in this thread will be implicitly use this connection. Only one default connection can be exist per thread. It can be created manually or automatically. It depends on EmailClient.ConnectionAsgmtMode property. These connections can be created manually with EmailClient.CreateConnection(createAsDefaultConnection = true) method. If default connection does not used(depends on connection allocation mode), main connection used implicitly instead of it. - Independent connections are connections that are not linked to threads.They can be created manually and has to be used explicitly as method parameter. These connections can be created manually with EmailClient.CreateConnection() method or EmailClient.CreateConnection(createAsDefaultConnection = false) method. There are folowing connection allocation types: - ConnectionAsgmtType.UseMainOrDefault This mode uses by default in email clients. Email client uses main connection for all operations from multiple threads if default connection hasn’t been created, or connection hasnt been passed as method parameter explicitly. Main connection is connection which is created in the same time like email client. User can create default connections for threads with CreateConnection method. If default connection for thread is created, it’s used implicitly for all methods of email client which are invoked in this thread. If default connection for thread is not created, main connection is used for all methods of email client which are invoked in this thread. User also can create connections not linked with threads (not default connections) with CreateConnection method. If user wants to use other connections (not main and not default) he has to pass this connection explicitly as parameter of a method which he wants to use. User can additionally create any number of connections. Default connection can be only one per thread. Please note default connections works correctly if user uses Thread objects for multitasking programming. If user uses ConnectionPool or uses Task objects for multitasking programming this mode may lead to wrong behaviour of a programm. To avoid this problem user has to manually dispose default conection (if he uses it) in the end of the code which executes in the thread. - ConnectionAsgmtType.UseMain Email client uses main connection for all operations from multiple threads. Main connection is connection which is created in the same time like email client. User cann’t create default connections. User can create connections not linked with threads (not default connections) with CreateConnection method. If user wants to use other connections (not main and not default) he has to pass this connection explicitly as parameter of a method which he wants to use. User can additionally create any number of connections. - ConnectionAsgmtType.UseDefault Email client uses implicitly only default connections for all operations from multiple threads. Main connection is not used in this mode. If default connection hasn’t been created for some thread (first invocation of email client method), email client creates default connection implicitly for thread before first operation is executed. User can’t create default connections for threads with CreateConnection method because they are created automatically. When default connection for thread is created, it’s used implicitly for all methods of email client which are invoked in this thread.read. User also can create connections not linked with threads (not default connections) with CreateConnection method. If user wants to use other connections (not main and not default) he has to pass this connection explicitly as parameter of a method which he wants to use. User can additionally create any number of connections. Default connection can be only one per thread. Please note default connections works correctly if user uses Thread objects for multitasking programming. If user uses ConnectionPool or uses Task objects for multitasking programming this mode may lead to wrong behaviour of a programm. To avoid this problem user has to manually dispose default conection in the end of the code which executes in the thread.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
setConnectionCheckupPeriod(int value)
public void setConnectionCheckupPeriod(int value)
Period of connection checking up in milliseconds. Default value is 5 min.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
setConnectionsQuantity(int value)
public void setConnectionsQuantity(int value)
Gets or sets quantity of connections in multy-connection mode
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
setCredentialsEncoding(String value)
public final void setCredentialsEncoding(String value)
Gets or sets Credentials Encoding
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.lang.String |
setCurrentFolder(ImapFolderInfo value)
public final void setCurrentFolder(ImapFolderInfo value)
Gets the current folder
Value: ImapFolderInfo that represents current folder
Parameters:
Parameter | Type | Description |
---|---|---|
value | ImapFolderInfo |
setDefaultFolder(String value)
public static void setDefaultFolder(String value)
Default folder for ImapClients
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.lang.String |
setDelimiter(String value)
public final void setDelimiter(String value)
Gets or sets delimiter of folders hierarhy.
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.lang.String |
setESearchSupported(boolean value)
public final void setESearchSupported(boolean value)
Gets information whether ESEARCH extension is supported See more: https://tools.ietf.org/html/rfc4731
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean |
setEnableLogger(boolean value)
public final void setEnableLogger(boolean value)
Gets or sets value which allows enable/disable logger
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean |
setEnableSupported(boolean value)
public final void setEnableSupported(boolean value)
Gets information whether ENABLE extension is supported See more: https://tools.ietf.org/html/rfc5161
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean |
setExchangeIdAutomatically(boolean value)
public final void setExchangeIdAutomatically(boolean value)
Gets or sets value which indicates whether client should to introduce information about itself to a server automatically. See more: https://tools.ietf.org/html/rfc2971
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean |
setExtendedListSupported(boolean value)
public final void setExtendedListSupported(boolean value)
Gets information whether LIST Command Extension is supported See more https://tools.ietf.org/html/rfc5258
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean |
setGmExt1Supported(boolean value)
public final void setGmExt1Supported(boolean value)
Defines if Google X-GM-EXT-1 extension is supported
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean |
setGreetingTimeout(int value)
public final void setGreetingTimeout(int value)
Gets or sets the greeting timeout that is used when establishing a connection. Please note, greeting timeout can’t be infinite. Email clients may execute enough long operations. To limit the time of operations users have to use EmailClient.Timeout (#getTimeout.getTimeout/#setTimeout(int).setTimeout(int)) property. Values for this property have to have long intervals to not prevent long-time operations. But in some cases, if EmailClient will use only Timeout property connection establishing may take a long time. For instance, the mail client may use the automatic mode to connection establishing. In this mode, the email client goes through all possible connection parameters until the connection is established. SMTP, IMAP, and POP3 servers in case of correct connection establishing send greeting string to the client. Servers may use implicit or explicit (START TLS) SSL/TLS connection initiation. If connection mode is mismatched (for instance, the server waits for an implicit SSL connection but the client tries to establish a non-secured or explicit SSL connection), the server won’t send a greeting string. In this case, the user will wait a long time until the timeout reaches a greeting string, and the client goes to the next connection option. To avoid this problem, the GreetingTimeout property has been introduced. This property allows you to set the timeout for greeting string, and reduce the time of automatic connection establishment.
Value: The greeting timeout in milliseconds
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
setHost(String value)
public void setHost(String value)
Gets or sets the host name.
Value: The host name.
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.lang.String |
setIdSupported(boolean value)
public final void setIdSupported(boolean value)
Gets information whether ID extension is supported See more: https://tools.ietf.org/html/rfc2971
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean |
setLogFileName(String value)
public final void setLogFileName(String value)
Gets or sets log file name
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.lang.String |
setMoveSupported(boolean value)
public final void setMoveSupported(boolean value)
Gets information whether MOVE extension is supported See more: https://tools.ietf.org/html/rfc6851
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean |
setNamespaceSupported(boolean value)
public final void setNamespaceSupported(boolean value)
Gets information whether NAMESPACE extension is supported See more: https://tools.ietf.org/html/rfc2342
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean |
setPassword(String value)
public void setPassword(String value)
Gets or sets the password. Password limitations are defined by server implementation, which client connects.
Value: The string that represents the password.
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.lang.String |
setPort(int value)
public void setPort(int value)
Gets or sets the port.
Value: The port number.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
setProxy(Proxy value)
public void setProxy(Proxy value)
Gets or sets proxy for the client
Parameters:
Parameter | Type | Description |
---|---|---|
value | Proxy |
setQresyncSupported(boolean value)
public final void setQresyncSupported(boolean value)
Gets information whether QRESYNC extension is supported See more: https://tools.ietf.org/html/rfc7162
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean |
setQuota(IConnection connection, String quotaRootName, String resourceName, int resourceLimit)
public final ImapQuota[] setQuota(IConnection connection, String quotaRootName, String resourceName, int resourceLimit)
Sets quota information
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
quotaRootName | java.lang.String | quota root name |
resourceName | java.lang.String | resource name |
resourceLimit | int | resource limit |
Returns: com.aspose.email.ImapQuota[] - Quota information
setQuota(String quotaRootName, String resourceName, int resourceLimit)
public final ImapQuota[] setQuota(String quotaRootName, String resourceName, int resourceLimit)
Sets quota information
Parameters:
Parameter | Type | Description |
---|---|---|
quotaRootName | java.lang.String | quota root name |
resourceName | java.lang.String | resource name |
resourceLimit | int | resource limit |
Returns: com.aspose.email.ImapQuota[] - Quota information
setQuotaSupported(boolean value)
public final void setQuotaSupported(boolean value)
Gets information whether quota is supported
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean |
setReadOnly(boolean value)
public final void setReadOnly(boolean value)
Gets or sets value which indicates if changes to the permanent state of the mailbox, including per-user state, are permitted.
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean |
setSaslIrSupported(boolean value)
public final void setSaslIrSupported(boolean value)
Gets information whether SASL Initial Client Response extension is supported See more: https://tools.ietf.org/html/rfc4959
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean |
setSecurityOptions(int value)
public void setSecurityOptions(int value)
Security mode for a mail client
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
setShowCredentialsInLog(boolean value)
public static void setShowCredentialsInLog(boolean value)
Sets value indicating whether Credentials should be displayed in the log. By default, is False.
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean | True if Credentials should be displayed in the log. |
setSocketsLayerVersion2(boolean value)
public static void setSocketsLayerVersion2(boolean value)
Sets value indicating whether Sockets Layer version 2 is used. By default, Sockets Layer version 2 is used.
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean | False if Sockets Layer version 1 should be used. |
setSocketsLayerVersion2DisableSSLCertificateValidation(boolean value)
public static void setSocketsLayerVersion2DisableSSLCertificateValidation(boolean value)
Disable SSL certificate validation for Sockets Layer version 2
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean |
setSocketsLayerVersion2SSLSocketFactory(SSLSocketFactory value)
public static void setSocketsLayerVersion2SSLSocketFactory(SSLSocketFactory value)
Set SSL Socket Factory for Sockets Layer version 2
Parameters:
Parameter | Type | Description |
---|---|---|
value | javax.net.ssl.SSLSocketFactory |
setSortSupported(boolean value)
public final void setSortSupported(boolean value)
Gets information whether Sort command are supported
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean |
setSpecialUseSupported(boolean value)
public final void setSpecialUseSupported(boolean value)
Gets information whether Special-Use Mailboxes is supported See more: https://tools.ietf.org/html/rfc6154
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean |
setSupportOldServer(boolean value)
public final void setSupportOldServer(boolean value)
Indicates whether the old servers need to be supported when receiving messages.
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean |
setSupportedEncryption(int value)
public void setSupportedEncryption(int value)
Defines the versions of SSL/TLS encryption protocols to be used. PLEASE PAY YOUR ATTENTION, you may set only those versions of protocol, which are supported by .net framework. IF SOME VERSIONS OF PROTOCOL ARE NOT SUPPORTED BY YOUR CURRENT VERSION OF FRAMEWORK, THEY WILL BE IGNORED AND SKIPPED. IT MAY LEAD TO DOWNGRADE TLS SECURITY LEVEL. IN THIS CASE EXCEPTION WON’T BE GENERATED!!! Please, see EncryptionProtocols documentation for more details. Please use #setSupportedEncryptionUnsafe(int).setSupportedEncryptionUnsafe(int) method if you want to set the encryption protocols without any compatibility checks. Default value is: Tls | Tls11 | Tls12 | Tls13 (in case if your current version of .net framework supports these versions of TLS)
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
setSupportedEncryptionUnsafe(int value)
public final void setSupportedEncryptionUnsafe(int value)
Defines the versions of SSL/TLS encryption protocols to be used. This method is not safe and sets the encryption protocols without any compatibility checks. Use SupportedEncryption (#getSupportedEncryption.getSupportedEncryption/#setSupportedEncryption(int).setSupportedEncryption(int)) property to safely set only protocols that definitely supported by framework. Please note, if your current framework does not support this level of security, an exception will be thrown when trying to establish a connection to the server.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
setThreadSupported(boolean value)
public final void setThreadSupported(boolean value)
Gets information whether Thread command are supported
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean |
setTimeout(int value)
public final void setTimeout(int value)
Gets or sets the timeout for mail operations
Value: The timeout in milliseconds
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
setTokenProvider(ITokenProvider value)
public final void setTokenProvider(ITokenProvider value)
Gets or sets TokenProvider allowing to retrieve access token.
Parameters:
Parameter | Type | Description |
---|---|---|
value | ITokenProvider |
setUidPlusSupported(boolean value)
public final void setUidPlusSupported(boolean value)
Gets information whether UIDPLUS extension is supported See more: https://tools.ietf.org/html/rfc4315
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean |
setUnselectSupported(boolean value)
public final void setUnselectSupported(boolean value)
Gets information whether UNSELECT extension is supported See more: https://tools.ietf.org/html/rfc2342
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean |
setUseAuthentication(boolean value)
public void setUseAuthentication(boolean value)
Indicates whether authentication is used.
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean |
setUseDateInLogFileName(boolean value)
public final void setUseDateInLogFileName(boolean value)
Gets or sets value which indicates if date has to be used in log file name.
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean |
setUseDefaultCredentials(boolean value)
public void setUseDefaultCredentials(boolean value)
Gets or sets a Boolean value that controls whether the DefaultCredentials are sent with requests. This option is used with NTLM authentication ONLY!
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean |
setUseMultiConnection(int value)
public void setUseMultiConnection(int value)
Gets or sets value which indicates if client has to use multiple connections for heavy loaded operations. Please note, using of this mode not necessary has to lead to performance increasing.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
setUsePipelining(PipeliningStatus value)
public void setUsePipelining(PipeliningStatus value)
Gets or sets object which indicates whether the pipelining mode is enabled.
Parameters:
Parameter | Type | Description |
---|---|---|
value | PipeliningStatus |
setUsername(String value)
public void setUsername(String value)
Gets or sets the username.
Value: The username string.
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.lang.String |
sortMessageThreads(IConnection connection, SortConditions conditions)
public final List<MessageThreadResult> sortMessageThreads(IConnection connection, SortConditions conditions)
Get message threads.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
conditions | SortConditions | Thread conditions. |
Returns: java.util.List<com.aspose.email.MessageThreadResult> - Message threads
sortMessageThreads(SortConditions conditions)
public final List<MessageThreadResult> sortMessageThreads(SortConditions conditions)
Get message threads.
Parameters:
Parameter | Type | Description |
---|---|---|
conditions | SortConditions | Thread conditions. |
Returns: java.util.List<com.aspose.email.MessageThreadResult> - Message threads
startMonitoring(ImapMonitoringEventHandler callback, ImapMonitoringErrorEventHandler errorCallback)
public final void startMonitoring(ImapMonitoringEventHandler callback, ImapMonitoringErrorEventHandler errorCallback)
Starts monitoring of message changes for “Inbox” folder.
Parameters:
Parameter | Type | Description |
---|---|---|
callback | ImapMonitoringEventHandler | The callback function for monitoring operation. |
errorCallback | ImapMonitoringErrorEventHandler | The callback function for monitoring error handling. Monitoring of specified folder is stopped when this callback is called. The callback also provides a state holder so folder monitoring could be resumed using #resumeMonitoring(ImapMonitoringEventHandler,ImapMonitoringErrorEventHandler,IImapMonitoringState).resumeMonitoring(ImapMonitoringEventHandler,ImapMonitoringErrorEventHandler,IImapMonitoringState) method. |
startMonitoring(ImapMonitoringEventHandler callback, ImapMonitoringErrorEventHandler errorCallback, String folderName)
public final void startMonitoring(ImapMonitoringEventHandler callback, ImapMonitoringErrorEventHandler errorCallback, String folderName)
Starts monitoring of message changes for specified folder.
Parameters:
Parameter | Type | Description |
---|---|---|
callback | ImapMonitoringEventHandler | The callback function for monitoring operation. |
errorCallback | ImapMonitoringErrorEventHandler | The callback function for monitoring error handling. Monitoring of specified folder is stopped when this callback is called. The callback also provides a state holder so folder monitoring could be resumed using #resumeMonitoring(ImapMonitoringEventHandler,ImapMonitoringErrorEventHandler,IImapMonitoringState).resumeMonitoring(ImapMonitoringEventHandler,ImapMonitoringErrorEventHandler,IImapMonitoringState) method. |
folderName | java.lang.String | The folder for monitoring operation. |
stopMonitoring()
public final void stopMonitoring()
Stops any monitoring of changes.
stopMonitoring(String folderName)
public final void stopMonitoring(String folderName)
Stops monitoring of message changes for specified folder.
Parameters:
Parameter | Type | Description |
---|---|---|
folderName | java.lang.String | specified folder for monitoring operation |
subscribeFolder(IConnection connection, String folderName)
public final void subscribeFolder(IConnection connection, String folderName)
Sent the SUBSCRIBE command that adds the specified mailbox name to the server’s set of “active” mailboxes.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
folderName | java.lang.String | Name of the folder |
subscribeFolder(String folderName)
public final void subscribeFolder(String folderName)
Sent the SUBSCRIBE command that adds the specified mailbox name to the server’s set of “active” mailboxes.
Parameters:
Parameter | Type | Description |
---|---|---|
folderName | java.lang.String | Name of the folder |
toString()
public String toString()
Returns: java.lang.String
undeleteMessage(IConnection connection, int sequenceNumber)
public final void undeleteMessage(IConnection connection, int sequenceNumber)
Marks a message with the specified sequence number as not deleted
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceNumber | int | The sequence number of the message |
undeleteMessage(IConnection connection, int sequenceNumber, long modificationSequence)
public final void undeleteMessage(IConnection connection, int sequenceNumber, long modificationSequence)
Marks a message with the specified sequence number as not deleted
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceNumber | int | The sequence number of the message |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
undeleteMessage(IConnection connection, String uniqueId)
public final void undeleteMessage(IConnection connection, String uniqueId)
Marks a message with the specified sequence number as not deleted.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uniqueId | java.lang.String | The unique Id of the message |
undeleteMessage(IConnection connection, String uniqueId, long modificationSequence)
public final void undeleteMessage(IConnection connection, String uniqueId, long modificationSequence)
Marks a message with the specified sequence number as not deleted.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uniqueId | java.lang.String | The unique Id of the message |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
undeleteMessage(int sequenceNumber)
public final void undeleteMessage(int sequenceNumber)
Marks a message with the specified sequence number as not deleted
Parameters:
Parameter | Type | Description |
---|---|---|
sequenceNumber | int | The sequence number of the message |
undeleteMessage(int sequenceNumber, long modificationSequence)
public final void undeleteMessage(int sequenceNumber, long modificationSequence)
Marks a message with the specified sequence number as not deleted
Parameters:
Parameter | Type | Description |
---|---|---|
sequenceNumber | int | The sequence number of the message |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
undeleteMessage(String uniqueId)
public final void undeleteMessage(String uniqueId)
Marks a message with the specified sequence number as not deleted.
Parameters:
Parameter | Type | Description |
---|---|---|
uniqueId | java.lang.String | The unique Id of the message |
undeleteMessage(String uniqueId, long modificationSequence)
public final void undeleteMessage(String uniqueId, long modificationSequence)
Marks a message with the specified sequence number as not deleted.
Parameters:
Parameter | Type | Description |
---|---|---|
uniqueId | java.lang.String | The unique Id of the message |
modificationSequence | long | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
unselectFolder()
public final void unselectFolder()
Permanently removes all messages marked as deleted for currently selected folder and removes selected-state for this folder.
unselectFolder(boolean doNotExpunge)
public final void unselectFolder(boolean doNotExpunge)
Unselects folder which are currently selected. if doNotExpunge property is true, all messages are marked as deleted are removed, otherwise deletion canceled. Please note, this operation works only in case if server supports RFC3691 See more https://tools.ietf.org/html/rfc3691
Parameters:
Parameter | Type | Description |
---|---|---|
doNotExpunge | boolean | Specifies whether messages marked as deleted should be removed. |
unselectFolder(IConnection connection)
public final void unselectFolder(IConnection connection)
Permanently removes all messages marked as deleted for currently selected folder and removes selected-state for this folder.
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
unselectFolder(IConnection connection, boolean doNotExpunge)
public final void unselectFolder(IConnection connection, boolean doNotExpunge)
Unselects folder which are currently selected. if doNotExpunge property is true, all messages are marked as deleted are removed, otherwise deletion canceled. Please note, this operation works only in case if server supports RFC3691 See more https://tools.ietf.org/html/rfc3691
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
doNotExpunge | boolean | Specifies whether messages marked as deleted should be removed. |
unsubscribeFolder(IConnection connection, String folderName)
public final void unsubscribeFolder(IConnection connection, String folderName)
Sent the UNSUBSCRIBE command that removes the specified mailbox name from the server’s set of “active” mailboxes
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
folderName | java.lang.String | Name of the folder |
unsubscribeFolder(String folderName)
public final void unsubscribeFolder(String folderName)
Sent the UNSUBSCRIBE command that removes the specified mailbox name from the server’s set of “active” mailboxes
Parameters:
Parameter | Type | Description |
---|---|---|
folderName | java.lang.String | Name of the folder |
usePasswordQuotes(boolean value)
public static void usePasswordQuotes(boolean value)
Sets a value indicating whether Quotes should be used in login password syntax with special characters. By default, is True.
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean | False if Quotes should not be used in login password syntax. |
validateCredentials()
public boolean validateCredentials()
Executes credentials validation
Returns: boolean - True if authentication was successful, otherwise false.
validateCredentials(IConnection connection)
public final boolean validateCredentials(IConnection connection)
Executes credentials validation
Parameters:
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
Returns: boolean - True if authentication was successful, otherwise false.
wait()
public final void wait()
wait(long arg0)
public final native void wait(long arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long | |
arg1 | int |