ImapClient.DeleteMessages
DeleteMessages(IConnection, IEnumerable<int>)
Marks a message with the specified sequence number as deleted
public void DeleteMessages(IConnection connection, IEnumerable<int> sequenceSet)
| Parameter | Type | Description | 
|---|
| connection | IConnection | Connection to a server | 
| sequenceSet | IEnumerable`1 | The set of sequence numbers for messages | 
Exceptions
See Also
DeleteMessages(IConnection, IEnumerable<string>)
Marks a message with the specified sequence number as deleted
public void DeleteMessages(IConnection connection, IEnumerable<string> uidSet)
| Parameter | Type | Description | 
|---|
| connection | IConnection | Connection to a server | 
| uidSet | IEnumerable`1 | The set of UID for messages | 
Exceptions
See Also
DeleteMessages(IEnumerable<int>)
Marks a message with the specified sequence number as deleted
public void DeleteMessages(IEnumerable<int> sequenceSet)
| Parameter | Type | Description | 
|---|
| sequenceSet | IEnumerable`1 | The set of sequence numbers for messages | 
Exceptions
See Also
DeleteMessages(IEnumerable<string>)
Marks a message with the specified sequence number as deleted
public void DeleteMessages(IEnumerable<string> uidSet)
| Parameter | Type | Description | 
|---|
| uidSet | IEnumerable`1 | The set of UID for messages | 
Exceptions
See Also
DeleteMessages(IConnection, IEnumerable<int>, long)
Marks a message with the specified sequence number as deleted
public void DeleteMessages(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 | 
Exceptions
See Also
DeleteMessages(IConnection, IEnumerable<string>, long)
Marks a message with the specified unique identifier as deleted
public void DeleteMessages(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 | 
Exceptions
See Also
DeleteMessages(IEnumerable<int>, long)
Marks a message with the specified sequence number as deleted
public void DeleteMessages(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 | 
Exceptions
See Also
DeleteMessages(IEnumerable<string>, long)
Marks a message with the specified unique identifier as deleted
public void DeleteMessages(IEnumerable<string> uidSet, long modificationSequence)
Exceptions
See Also
DeleteMessages(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 void DeleteMessages(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 | 
Exceptions
See Also
DeleteMessages(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 void DeleteMessages(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 | 
Exceptions
See Also
DeleteMessages(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 void DeleteMessages(IEnumerable<string> uidSet, long modificationSequence, bool commitNow)
Exceptions
See Also
DeleteMessages(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 void DeleteMessages(IConnection connection, IEnumerable<string> uidSet, 
    long modificationSequence, bool commitNow)
Exceptions
See Also
DeleteMessages(IConnection, int, int)
Marks a message with the specified sequence number as deleted
public void DeleteMessages(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 | 
See Also
DeleteMessages(IConnection, string, string)
Marks a message with the specified sequence number as deleted
public void DeleteMessages(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 | 
See Also
DeleteMessages(int, int)
Marks a message with the specified sequence number as deleted
public void DeleteMessages(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 | 
See Also
DeleteMessages(string, string)
Marks a message with the specified sequence number as deleted
public void DeleteMessages(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 | 
See Also
DeleteMessages(IConnection, int, int, long)
Marks a message with the specified sequence number as deleted
public void DeleteMessages(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 | 
See Also
DeleteMessages(IConnection, string, string, long)
Marks a message with the specified unique identifier as deleted
public void DeleteMessages(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 | 
See Also
DeleteMessages(int, int, long)
Marks a message with the specified sequence number as deleted
public void DeleteMessages(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 | 
See Also
DeleteMessages(string, string, long)
Marks a message with the specified unique identifier as deleted
public void DeleteMessages(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 | 
See Also
DeleteMessages(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 void DeleteMessages(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 | 
See Also
DeleteMessages(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 void DeleteMessages(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 | 
See Also
DeleteMessages(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 void DeleteMessages(string startUid, string endUid, long modificationSequence, 
    bool commitNow)
See Also
DeleteMessages(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 void DeleteMessages(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 | 
See Also
DeleteMessages(IConnection, IEnumerable<ImapMessageInfo>)
Marks a message with the specified sequence number as deleted
public void DeleteMessages(IConnection connection, IEnumerable<ImapMessageInfo> messageInfoSet)
| Parameter | Type | Description | 
|---|
| connection | IConnection | Connection to a server | 
| messageInfoSet | IEnumerable`1 | The set of ImapMessageInfo for deletion | 
Exceptions
See Also
DeleteMessages(IEnumerable<ImapMessageInfo>)
Marks a message with the specified sequence number as deleted
public void DeleteMessages(IEnumerable<ImapMessageInfo> messageInfoSet)
| Parameter | Type | Description | 
|---|
| messageInfoSet | IEnumerable`1 | The set of ImapMessageInfo for deletion | 
Exceptions
See Also
DeleteMessages(IConnection, IEnumerable<ImapMessageInfo>, long)
Marks a message with the specified unique identifier as deleted
public void DeleteMessages(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 | 
Exceptions
See Also
DeleteMessages(IEnumerable<ImapMessageInfo>, long)
Marks a message with the specified unique identifier as deleted
public void DeleteMessages(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 | 
Exceptions
See Also
DeleteMessages(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 void DeleteMessages(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 | 
Exceptions
See Also
DeleteMessages(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 void DeleteMessages(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 | 
Exceptions
See Also
DeleteMessages(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 void DeleteMessages(IEnumerable<ImapMessageInfo> messageInfoSet, long modificationSequence, 
    bool commitNow)
Exceptions
See Also
DeleteMessages(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 void DeleteMessages(IConnection connection, IEnumerable<ImapMessageInfo> messageInfoSet, 
    long modificationSequence, bool commitNow)
Exceptions
See Also