ImapClient.DeleteMessagesAsync
DeleteMessagesAsync(IEnumerable<string>)
Marks a message with the specified sequence number as deleted
public Task DeleteMessagesAsync(IEnumerable<string> uidSet)
Parameter | Type | Description |
---|---|---|
uidSet | IEnumerable`1 | The set of UID for messages |
Return Value
Task object, with delegate for this operation
See Also
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
DeleteMessagesAsync(IConnection, IEnumerable<int>, long)
Marks a message with the specified sequence number as deleted
public Task DeleteMessagesAsync(IConnection connection, IEnumerable<int> sequenceSet,
long modificationSequence)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceSet | IEnumerable`1 | The set of sequence numbers for messages |
modificationSequence | Int64 | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
Return Value
Task object, with delegate for this operation
See Also
- interface IConnection
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
DeleteMessagesAsync(IConnection, IEnumerable<string>, long)
Marks a message with the specified unique identifier as deleted
public Task DeleteMessagesAsync(IConnection connection, IEnumerable<string> uidSet,
long modificationSequence)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uidSet | IEnumerable`1 | The set of UID for messages |
modificationSequence | Int64 | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
Return Value
Task object, with delegate for this operation
See Also
- interface IConnection
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
DeleteMessagesAsync(IEnumerable<int>, long)
Marks a message with the specified sequence number as deleted
public Task DeleteMessagesAsync(IEnumerable<int> sequenceSet, long modificationSequence)
Parameter | Type | Description |
---|---|---|
sequenceSet | IEnumerable`1 | The set of sequence numbers for messages |
modificationSequence | Int64 | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
Return Value
Task object, with delegate for this operation
See Also
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
DeleteMessagesAsync(IEnumerable<string>, long)
Marks a message with the specified unique identifier as deleted
public Task DeleteMessagesAsync(IEnumerable<string> uidSet, long modificationSequence)
Parameter | Type | Description |
---|---|---|
uidSet | IEnumerable`1 | The set of UID for messages |
modificationSequence | Int64 | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
Return Value
Task object, with delegate for this operation
See Also
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
DeleteMessagesAsync(IEnumerable<string>, bool)
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
public Task DeleteMessagesAsync(IEnumerable<string> uidSet, bool commitNow)
Parameter | Type | Description |
---|---|---|
uidSet | IEnumerable`1 | The set of UID for messages |
commitNow | Boolean | Defines whether message must be commited now. Please, read more https://tools.ietf.org/html/rfc4315 |
Return Value
Task object, with delegate for this operation
See Also
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
DeleteMessagesAsync(IConnection, IEnumerable<string>, bool)
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
public Task DeleteMessagesAsync(IConnection connection, IEnumerable<string> uidSet, bool commitNow)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uidSet | IEnumerable`1 | The set of UID for messages |
commitNow | Boolean | Defines whether message must be commited now. Please, read more https://tools.ietf.org/html/rfc4315 |
Return Value
Task object, with delegate for this operation
See Also
- interface IConnection
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
DeleteMessagesAsync(IEnumerable<string>, long, bool)
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
public Task DeleteMessagesAsync(IEnumerable<string> uidSet, long modificationSequence,
bool commitNow)
Parameter | Type | Description |
---|---|---|
uidSet | IEnumerable`1 | The set of UID for messages |
modificationSequence | Int64 | 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 |
Return Value
Task object, with delegate for this operation
See Also
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
DeleteMessagesAsync(IConnection, IEnumerable<string>, long, bool)
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
public Task DeleteMessagesAsync(IConnection connection, IEnumerable<string> uidSet,
long modificationSequence, bool commitNow)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uidSet | IEnumerable`1 | The set of UID for messages |
modificationSequence | Int64 | 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 |
Return Value
Task object, with delegate for this operation
See Also
- interface IConnection
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
DeleteMessagesAsync(IConnection, int, int)
Marks a message with the specified sequence number as deleted
public Task DeleteMessagesAsync(IConnection connection, int startSequence, int endSequence)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
startSequence | Int32 | The starting sequence number of a message list |
endSequence | Int32 | The ending sequence number of a message list |
Return Value
Task object, with delegate for this operation
See Also
- interface IConnection
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
DeleteMessagesAsync(IConnection, string, string)
Marks a message with the specified sequence number as deleted
public Task DeleteMessagesAsync(IConnection connection, string startUid, string endUid)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
startUid | String | The starting UID of a message list |
endUid | String | The ending UID of a message list |
Return Value
Task object, with delegate for this operation
See Also
- interface IConnection
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
DeleteMessagesAsync(int, int)
Marks a message with the specified sequence number as deleted
public Task DeleteMessagesAsync(int startSequence, int endSequence)
Parameter | Type | Description |
---|---|---|
startSequence | Int32 | The starting sequence number of a message list |
endSequence | Int32 | The ending sequence number of a message list |
Return Value
Task object, with delegate for this operation
See Also
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
DeleteMessagesAsync(string, string)
Marks a message with the specified sequence number as deleted
public Task DeleteMessagesAsync(string startUid, string endUid)
Parameter | Type | Description |
---|---|---|
startUid | String | The starting UID of a message list |
endUid | String | The ending UID of a message list |
Return Value
Task object, with delegate for this operation
See Also
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
DeleteMessagesAsync(IConnection, int, int, long)
Marks a message with the specified sequence number as deleted
public Task DeleteMessagesAsync(IConnection connection, int startSequence, int endSequence,
long modificationSequence)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
startSequence | Int32 | The starting sequence number of a message list |
endSequence | Int32 | The ending sequence number of a message list |
modificationSequence | Int64 | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
Return Value
Task object, with delegate for this operation
See Also
- interface IConnection
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
DeleteMessagesAsync(IConnection, string, string, long)
Marks a message with the specified unique identifier as deleted
public Task DeleteMessagesAsync(IConnection connection, string startUid, string endUid,
long modificationSequence)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
startUid | String | The starting UID of a message list |
endUid | String | The ending UID of a message list |
modificationSequence | Int64 | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
Return Value
Task object, with delegate for this operation
See Also
- interface IConnection
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
DeleteMessagesAsync(int, int, long)
Marks a message with the specified sequence number as deleted
public Task DeleteMessagesAsync(int startSequence, int endSequence, long modificationSequence)
Parameter | Type | Description |
---|---|---|
startSequence | Int32 | The starting sequence number of a message list |
endSequence | Int32 | The ending sequence number of a message list |
modificationSequence | Int64 | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
Return Value
Task object, with delegate for this operation
See Also
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
DeleteMessagesAsync(string, string, long)
Marks a message with the specified unique identifier as deleted
public Task DeleteMessagesAsync(string startUid, string endUid, long modificationSequence)
Parameter | Type | Description |
---|---|---|
startUid | String | The starting UID of a message list |
endUid | String | The ending UID of a message list |
modificationSequence | Int64 | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
Return Value
Task object, with delegate for this operation
See Also
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
DeleteMessagesAsync(string, string, bool)
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
public Task DeleteMessagesAsync(string startUid, string endUid, bool commitNow)
Parameter | Type | Description |
---|---|---|
startUid | String | The starting UID of a message list |
endUid | 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 |
Return Value
Task object, with delegate for this operation
See Also
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
DeleteMessagesAsync(IConnection, string, string, bool)
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
public Task DeleteMessagesAsync(IConnection connection, string startUid, string endUid,
bool commitNow)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
startUid | String | The starting UID of a message list |
endUid | 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 |
Return Value
Task object, with delegate for this operation
See Also
- interface IConnection
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
DeleteMessagesAsync(string, string, long, bool)
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
public Task DeleteMessagesAsync(string startUid, string endUid, long modificationSequence,
bool commitNow)
Parameter | Type | Description |
---|---|---|
startUid | String | The starting UID of a message list |
endUid | String | The ending UID of a message list |
modificationSequence | Int64 | 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 |
Return Value
Task object, with delegate for this operation
See Also
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
DeleteMessagesAsync(IConnection, string, string, long, bool)
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
public Task DeleteMessagesAsync(IConnection connection, string startUid, string endUid,
long modificationSequence, bool commitNow)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
startUid | String | The starting UID of a message list |
endUid | String | The ending UID of a message list |
modificationSequence | Int64 | 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 |
Return Value
Task object, with delegate for this operation
See Also
- interface IConnection
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
DeleteMessagesAsync(IConnection, IEnumerable<ImapMessageInfo>)
Marks a message with the specified sequence number as deleted
public Task DeleteMessagesAsync(IConnection connection, IEnumerable<ImapMessageInfo> messageInfoSet)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
messageInfoSet | IEnumerable`1 | The set of ImapMessageInfo for deletion |
Return Value
Task object, with delegate for this operation
See Also
- interface IConnection
- class ImapMessageInfo
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
DeleteMessagesAsync(IEnumerable<ImapMessageInfo>)
Marks a message with the specified sequence number as deleted
public Task DeleteMessagesAsync(IEnumerable<ImapMessageInfo> messageInfoSet)
Parameter | Type | Description |
---|---|---|
messageInfoSet | IEnumerable`1 | The set of ImapMessageInfo for deletion |
Return Value
Task object, with delegate for this operation
See Also
- class ImapMessageInfo
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
DeleteMessagesAsync(IConnection, IEnumerable<ImapMessageInfo>, long)
Marks a message with the specified unique identifier as deleted
public Task DeleteMessagesAsync(IConnection connection,
IEnumerable<ImapMessageInfo> messageInfoSet, long modificationSequence)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
messageInfoSet | IEnumerable`1 | The set of ImapMessageInfo for deletion |
modificationSequence | Int64 | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
Return Value
Task object, with delegate for this operation
See Also
- interface IConnection
- class ImapMessageInfo
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
DeleteMessagesAsync(IEnumerable<ImapMessageInfo>, long)
Marks a message with the specified unique identifier as deleted
public Task DeleteMessagesAsync(IEnumerable<ImapMessageInfo> messageInfoSet,
long modificationSequence)
Parameter | Type | Description |
---|---|---|
messageInfoSet | IEnumerable`1 | The set of ImapMessageInfo for deletion |
modificationSequence | Int64 | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
Return Value
Task object, with delegate for this operation
See Also
- class ImapMessageInfo
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
DeleteMessagesAsync(IEnumerable<ImapMessageInfo>, bool)
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
public Task DeleteMessagesAsync(IEnumerable<ImapMessageInfo> messageInfoSet, bool commitNow)
Parameter | Type | Description |
---|---|---|
messageInfoSet | IEnumerable`1 | The set of ImapMessageInfo for deletion |
commitNow | Boolean | Defines whether message must be commited now. Please, read more https://tools.ietf.org/html/rfc4315 |
Return Value
Task object, with delegate for this operation
See Also
- class ImapMessageInfo
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
DeleteMessagesAsync(IConnection, IEnumerable<ImapMessageInfo>, bool)
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
public Task DeleteMessagesAsync(IConnection connection,
IEnumerable<ImapMessageInfo> messageInfoSet, bool commitNow)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
messageInfoSet | IEnumerable`1 | The set of ImapMessageInfo for deletion |
commitNow | Boolean | Defines whether message must be commited now. Please, read more https://tools.ietf.org/html/rfc4315 |
Return Value
Task object, with delegate for this operation
See Also
- interface IConnection
- class ImapMessageInfo
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
DeleteMessagesAsync(IEnumerable<ImapMessageInfo>, long, bool)
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
public Task DeleteMessagesAsync(IEnumerable<ImapMessageInfo> messageInfoSet,
long modificationSequence, bool commitNow)
Parameter | Type | Description |
---|---|---|
messageInfoSet | IEnumerable`1 | The set of ImapMessageInfo for deletion |
modificationSequence | Int64 | 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 |
Return Value
Task object, with delegate for this operation
See Also
- class ImapMessageInfo
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
DeleteMessagesAsync(IConnection, IEnumerable<ImapMessageInfo>, long, bool)
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
public Task DeleteMessagesAsync(IConnection connection,
IEnumerable<ImapMessageInfo> messageInfoSet, long modificationSequence, bool commitNow)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
messageInfoSet | IEnumerable`1 | The set of ImapMessageInfo for deletion |
modificationSequence | Int64 | 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 |
Return Value
Task object, with delegate for this operation
See Also
- interface IConnection
- class ImapMessageInfo
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
DeleteMessagesAsync(IConnection, IEnumerable<int>, CancellationToken)
Marks a message with the specified sequence number as deleted
public Task DeleteMessagesAsync(IConnection connection, IEnumerable<int> sequenceSet,
CancellationToken token)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceSet | IEnumerable`1 | The set of sequence numbers for messages |
token | CancellationToken | Propagates notification that operations should be canceled. |
Return Value
Task object, with delegate for this operation
See Also
- interface IConnection
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
DeleteMessagesAsync(IConnection, IEnumerable<string>, CancellationToken)
Marks a message with the specified sequence number as deleted
public Task DeleteMessagesAsync(IConnection connection, IEnumerable<string> uidSet,
CancellationToken token)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uidSet | IEnumerable`1 | The set of UID for messages |
token | CancellationToken | Propagates notification that operations should be canceled. |
Return Value
Task object, with delegate for this operation
See Also
- interface IConnection
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
DeleteMessagesAsync(IEnumerable<int>, CancellationToken)
Marks a message with the specified sequence number as deleted
public Task DeleteMessagesAsync(IEnumerable<int> sequenceSet, CancellationToken token)
Parameter | Type | Description |
---|---|---|
sequenceSet | IEnumerable`1 | The set of sequence numbers for messages |
token | CancellationToken | Propagates notification that operations should be canceled. |
Return Value
Task object, with delegate for this operation
See Also
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
DeleteMessagesAsync(IEnumerable<string>, CancellationToken)
Marks a message with the specified sequence number as deleted
public Task DeleteMessagesAsync(IEnumerable<string> uidSet, CancellationToken token)
Parameter | Type | Description |
---|---|---|
uidSet | IEnumerable`1 | The set of UID for messages |
token | CancellationToken | Propagates notification that operations should be canceled. |
Return Value
Task object, with delegate for this operation
See Also
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
DeleteMessagesAsync(IConnection, IEnumerable<int>, long, CancellationToken)
Marks a message with the specified sequence number as deleted
public Task DeleteMessagesAsync(IConnection connection, IEnumerable<int> sequenceSet,
long modificationSequence, CancellationToken token)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceSet | IEnumerable`1 | The set of sequence numbers for messages |
modificationSequence | Int64 | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
token | CancellationToken | Propagates notification that operations should be canceled. |
Return Value
Task object, with delegate for this operation
See Also
- interface IConnection
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
DeleteMessagesAsync(IConnection, IEnumerable<string>, long, CancellationToken)
Marks a message with the specified unique identifier as deleted
public Task DeleteMessagesAsync(IConnection connection, IEnumerable<string> uidSet,
long modificationSequence, CancellationToken token)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uidSet | IEnumerable`1 | The set of UID for messages |
modificationSequence | Int64 | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
token | CancellationToken | Propagates notification that operations should be canceled. |
Return Value
Task object, with delegate for this operation
See Also
- interface IConnection
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
DeleteMessagesAsync(IEnumerable<int>, long, CancellationToken)
Marks a message with the specified sequence number as deleted
public Task DeleteMessagesAsync(IEnumerable<int> sequenceSet, long modificationSequence,
CancellationToken token)
Parameter | Type | Description |
---|---|---|
sequenceSet | IEnumerable`1 | The set of sequence numbers for messages |
modificationSequence | Int64 | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
token | CancellationToken | Propagates notification that operations should be canceled. |
Return Value
Task object, with delegate for this operation
See Also
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
DeleteMessagesAsync(IEnumerable<string>, long, CancellationToken)
Marks a message with the specified unique identifier as deleted
public Task DeleteMessagesAsync(IEnumerable<string> uidSet, long modificationSequence,
CancellationToken token)
Parameter | Type | Description |
---|---|---|
uidSet | IEnumerable`1 | The set of UID for messages |
modificationSequence | Int64 | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
token | CancellationToken | Propagates notification that operations should be canceled. |
Return Value
Task object, with delegate for this operation
See Also
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
DeleteMessagesAsync(IEnumerable<string>, bool, CancellationToken)
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
public Task DeleteMessagesAsync(IEnumerable<string> uidSet, bool commitNow, CancellationToken token)
Parameter | Type | Description |
---|---|---|
uidSet | IEnumerable`1 | The set of UID for messages |
commitNow | Boolean | Defines whether message must be commited now. Please, read more https://tools.ietf.org/html/rfc4315 |
token | CancellationToken | Propagates notification that operations should be canceled. |
Return Value
Task object, with delegate for this operation
See Also
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
DeleteMessagesAsync(IConnection, IEnumerable<string>, bool, CancellationToken)
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
public Task DeleteMessagesAsync(IConnection connection, IEnumerable<string> uidSet, bool commitNow,
CancellationToken token)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uidSet | IEnumerable`1 | The set of UID for messages |
commitNow | Boolean | Defines whether message must be commited now. Please, read more https://tools.ietf.org/html/rfc4315 |
token | CancellationToken | Propagates notification that operations should be canceled. |
Return Value
Task object, with delegate for this operation
See Also
- interface IConnection
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
DeleteMessagesAsync(IEnumerable<string>, long, bool, CancellationToken)
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
public Task DeleteMessagesAsync(IEnumerable<string> uidSet, long modificationSequence,
bool commitNow, CancellationToken token)
Parameter | Type | Description |
---|---|---|
uidSet | IEnumerable`1 | The set of UID for messages |
modificationSequence | Int64 | 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 |
token | CancellationToken | Propagates notification that operations should be canceled. |
Return Value
Task object, with delegate for this operation
See Also
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
DeleteMessagesAsync(IConnection, IEnumerable<string>, long, bool, CancellationToken)
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
public Task DeleteMessagesAsync(IConnection connection, IEnumerable<string> uidSet,
long modificationSequence, bool commitNow, CancellationToken token)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uidSet | IEnumerable`1 | The set of UID for messages |
modificationSequence | Int64 | 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 |
token | CancellationToken | Propagates notification that operations should be canceled. |
Return Value
Task object, with delegate for this operation
See Also
- interface IConnection
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
DeleteMessagesAsync(IConnection, int, int, CancellationToken)
Marks a message with the specified sequence number as deleted
public Task DeleteMessagesAsync(IConnection connection, int startSequence, int endSequence,
CancellationToken token)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
startSequence | Int32 | The starting sequence number of a message list |
endSequence | Int32 | The ending sequence number of a message list |
token | CancellationToken | Propagates notification that operations should be canceled. |
Return Value
Task object, with delegate for this operation
See Also
- interface IConnection
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
DeleteMessagesAsync(IConnection, string, string, CancellationToken)
Marks a message with the specified sequence number as deleted
public Task DeleteMessagesAsync(IConnection connection, string startUid, string endUid,
CancellationToken token)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
startUid | String | The starting UID of a message list |
endUid | String | The ending UID of a message list |
token | CancellationToken | Propagates notification that operations should be canceled. |
Return Value
Task object, with delegate for this operation
See Also
- interface IConnection
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
DeleteMessagesAsync(int, int, CancellationToken)
Marks a message with the specified sequence number as deleted
public Task DeleteMessagesAsync(int startSequence, int endSequence, CancellationToken token)
Parameter | Type | Description |
---|---|---|
startSequence | Int32 | The starting sequence number of a message list |
endSequence | Int32 | The ending sequence number of a message list |
token | CancellationToken | Propagates notification that operations should be canceled. |
Return Value
Task object, with delegate for this operation
See Also
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
DeleteMessagesAsync(string, string, CancellationToken)
Marks a message with the specified sequence number as deleted
public Task DeleteMessagesAsync(string startUid, string endUid, CancellationToken token)
Parameter | Type | Description |
---|---|---|
startUid | String | The starting UID of a message list |
endUid | String | The ending UID of a message list |
token | CancellationToken | Propagates notification that operations should be canceled. |
Return Value
Task object, with delegate for this operation
See Also
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
DeleteMessagesAsync(IConnection, int, int, long, CancellationToken)
Marks a message with the specified sequence number as deleted
public Task DeleteMessagesAsync(IConnection connection, int startSequence, int endSequence,
long modificationSequence, CancellationToken token)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
startSequence | Int32 | The starting sequence number of a message list |
endSequence | Int32 | The ending sequence number of a message list |
modificationSequence | Int64 | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
token | CancellationToken | Propagates notification that operations should be canceled. |
Return Value
Task object, with delegate for this operation
See Also
- interface IConnection
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
DeleteMessagesAsync(IConnection, string, string, long, CancellationToken)
Marks a message with the specified unique identifier as deleted
public Task DeleteMessagesAsync(IConnection connection, string startUid, string endUid,
long modificationSequence, CancellationToken token)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
startUid | String | The starting UID of a message list |
endUid | String | The ending UID of a message list |
modificationSequence | Int64 | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
token | CancellationToken | Propagates notification that operations should be canceled. |
Return Value
Task object, with delegate for this operation
See Also
- interface IConnection
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
DeleteMessagesAsync(int, int, long, CancellationToken)
Marks a message with the specified sequence number as deleted
public Task DeleteMessagesAsync(int startSequence, int endSequence, long modificationSequence,
CancellationToken token)
Parameter | Type | Description |
---|---|---|
startSequence | Int32 | The starting sequence number of a message list |
endSequence | Int32 | The ending sequence number of a message list |
modificationSequence | Int64 | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
token | CancellationToken | Propagates notification that operations should be canceled. |
Return Value
Task object, with delegate for this operation
See Also
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
DeleteMessagesAsync(string, string, long, CancellationToken)
Marks a message with the specified unique identifier as deleted
public Task DeleteMessagesAsync(string startUid, string endUid, long modificationSequence,
CancellationToken token)
Parameter | Type | Description |
---|---|---|
startUid | String | The starting UID of a message list |
endUid | String | The ending UID of a message list |
modificationSequence | Int64 | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
token | CancellationToken | Propagates notification that operations should be canceled. |
Return Value
Task object, with delegate for this operation
See Also
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
DeleteMessagesAsync(string, string, bool, CancellationToken)
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
public Task DeleteMessagesAsync(string startUid, string endUid, bool commitNow,
CancellationToken token)
Parameter | Type | Description |
---|---|---|
startUid | String | The starting UID of a message list |
endUid | 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 |
token | CancellationToken | Propagates notification that operations should be canceled. |
Return Value
Task object, with delegate for this operation
See Also
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
DeleteMessagesAsync(IConnection, string, string, bool, CancellationToken)
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
public Task DeleteMessagesAsync(IConnection connection, string startUid, string endUid,
bool commitNow, CancellationToken token)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
startUid | String | The starting UID of a message list |
endUid | 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 |
token | CancellationToken | Propagates notification that operations should be canceled. |
Return Value
Task object, with delegate for this operation
See Also
- interface IConnection
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
DeleteMessagesAsync(string, string, long, bool, CancellationToken)
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
public Task DeleteMessagesAsync(string startUid, string endUid, long modificationSequence,
bool commitNow, CancellationToken token)
Parameter | Type | Description |
---|---|---|
startUid | String | The starting UID of a message list |
endUid | String | The ending UID of a message list |
modificationSequence | Int64 | 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 |
token | CancellationToken | Propagates notification that operations should be canceled. |
Return Value
Task object, with delegate for this operation
See Also
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
DeleteMessagesAsync(IConnection, string, string, long, bool, CancellationToken)
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
public Task DeleteMessagesAsync(IConnection connection, string startUid, string endUid,
long modificationSequence, bool commitNow, CancellationToken token)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
startUid | String | The starting UID of a message list |
endUid | String | The ending UID of a message list |
modificationSequence | Int64 | 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 |
token | CancellationToken | Propagates notification that operations should be canceled. |
Return Value
Task object, with delegate for this operation
See Also
- interface IConnection
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
DeleteMessagesAsync(IConnection, IEnumerable<ImapMessageInfo>, CancellationToken)
Marks a message with the specified sequence number as deleted
public Task DeleteMessagesAsync(IConnection connection,
IEnumerable<ImapMessageInfo> messageInfoSet, CancellationToken token)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
messageInfoSet | IEnumerable`1 | The set of ImapMessageInfo for deletion |
token | CancellationToken | Propagates notification that operations should be canceled. |
Return Value
Task object, with delegate for this operation
See Also
- interface IConnection
- class ImapMessageInfo
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
DeleteMessagesAsync(IEnumerable<ImapMessageInfo>, CancellationToken)
Marks a message with the specified sequence number as deleted
public Task DeleteMessagesAsync(IEnumerable<ImapMessageInfo> messageInfoSet,
CancellationToken token)
Parameter | Type | Description |
---|---|---|
messageInfoSet | IEnumerable`1 | The set of ImapMessageInfo for deletion |
token | CancellationToken | Propagates notification that operations should be canceled. |
Return Value
Task object, with delegate for this operation
See Also
- class ImapMessageInfo
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
DeleteMessagesAsync(IConnection, IEnumerable<ImapMessageInfo>, long, CancellationToken)
Marks a message with the specified unique identifier as deleted
public Task DeleteMessagesAsync(IConnection connection,
IEnumerable<ImapMessageInfo> messageInfoSet, long modificationSequence, CancellationToken token)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
messageInfoSet | IEnumerable`1 | The set of ImapMessageInfo for deletion |
modificationSequence | Int64 | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
token | CancellationToken | Propagates notification that operations should be canceled. |
Return Value
Task object, with delegate for this operation
See Also
- interface IConnection
- class ImapMessageInfo
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
DeleteMessagesAsync(IEnumerable<ImapMessageInfo>, long, CancellationToken)
Marks a message with the specified unique identifier as deleted
public Task DeleteMessagesAsync(IEnumerable<ImapMessageInfo> messageInfoSet,
long modificationSequence, CancellationToken token)
Parameter | Type | Description |
---|---|---|
messageInfoSet | IEnumerable`1 | The set of ImapMessageInfo for deletion |
modificationSequence | Int64 | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
token | CancellationToken | Propagates notification that operations should be canceled. |
Return Value
Task object, with delegate for this operation
See Also
- class ImapMessageInfo
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
DeleteMessagesAsync(IEnumerable<ImapMessageInfo>, bool, CancellationToken)
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
public Task DeleteMessagesAsync(IEnumerable<ImapMessageInfo> messageInfoSet, bool commitNow,
CancellationToken token)
Parameter | Type | Description |
---|---|---|
messageInfoSet | IEnumerable`1 | The set of ImapMessageInfo for deletion |
commitNow | Boolean | Defines whether message must be commited now. Please, read more https://tools.ietf.org/html/rfc4315 |
token | CancellationToken | Propagates notification that operations should be canceled. |
Return Value
Task object, with delegate for this operation
See Also
- class ImapMessageInfo
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
DeleteMessagesAsync(IConnection, IEnumerable<ImapMessageInfo>, bool, CancellationToken)
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
public Task DeleteMessagesAsync(IConnection connection,
IEnumerable<ImapMessageInfo> messageInfoSet, bool commitNow, CancellationToken token)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
messageInfoSet | IEnumerable`1 | The set of ImapMessageInfo for deletion |
commitNow | Boolean | Defines whether message must be commited now. Please, read more https://tools.ietf.org/html/rfc4315 |
token | CancellationToken | Propagates notification that operations should be canceled. |
Return Value
Task object, with delegate for this operation
See Also
- interface IConnection
- class ImapMessageInfo
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
DeleteMessagesAsync(IEnumerable<ImapMessageInfo>, long, bool, CancellationToken)
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
public Task DeleteMessagesAsync(IEnumerable<ImapMessageInfo> messageInfoSet,
long modificationSequence, bool commitNow, CancellationToken token)
Parameter | Type | Description |
---|---|---|
messageInfoSet | IEnumerable`1 | The set of ImapMessageInfo for deletion |
modificationSequence | Int64 | 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 |
token | CancellationToken | Propagates notification that operations should be canceled. |
Return Value
Task object, with delegate for this operation
See Also
- class ImapMessageInfo
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
DeleteMessagesAsync(IConnection, IEnumerable<ImapMessageInfo>, long, bool, CancellationToken)
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
public Task DeleteMessagesAsync(IConnection connection,
IEnumerable<ImapMessageInfo> messageInfoSet, long modificationSequence, bool commitNow,
CancellationToken token)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
messageInfoSet | IEnumerable`1 | The set of ImapMessageInfo for deletion |
modificationSequence | Int64 | 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 |
token | CancellationToken | Propagates notification that operations should be canceled. |
Return Value
Task object, with delegate for this operation
See Also
- interface IConnection
- class ImapMessageInfo
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
DeleteMessagesAsync(IConnection, IEnumerable<int>)
Marks a message with the specified sequence number as deleted
public Task DeleteMessagesAsync(IConnection connection, IEnumerable<int> sequenceSet)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceSet | IEnumerable`1 | The set of sequence numbers for messages |
Return Value
Task object, with delegate for this operation
See Also
- interface IConnection
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
DeleteMessagesAsync(IConnection, IEnumerable<string>)
Marks a message with the specified sequence number as deleted
public Task DeleteMessagesAsync(IConnection connection, IEnumerable<string> uidSet)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uidSet | IEnumerable`1 | The set of UID for messages |
Return Value
Task object, with delegate for this operation
See Also
- interface IConnection
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
DeleteMessagesAsync(IEnumerable<int>)
Marks a message with the specified sequence number as deleted
public Task DeleteMessagesAsync(IEnumerable<int> sequenceSet)
Parameter | Type | Description |
---|---|---|
sequenceSet | IEnumerable`1 | The set of sequence numbers for messages |
Return Value
Task object, with delegate for this operation
See Also
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email