ImapClient.DeleteMessage
DeleteMessage(IConnection, int)
Marks a message with the specified sequence number as deleted
public void DeleteMessage(IConnection connection, int sequenceNumber)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceNumber | Int32 | Sequence number of a message |
See Also
- interface IConnection
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
DeleteMessage(IConnection, string)
Marks a message with the specified sequence number as deleted
public void DeleteMessage(IConnection connection, string uniqueId)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uniqueId | String | The uid of the message |
See Also
- interface IConnection
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
DeleteMessage(int)
Marks a message with the specified sequence number as deleted
public void DeleteMessage(int sequenceNumber)
Parameter | Type | Description |
---|---|---|
sequenceNumber | Int32 | Sequence number of a message |
See Also
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
DeleteMessage(string)
Marks a message with the specified sequence number as deleted
public void DeleteMessage(string uniqueId)
Parameter | Type | Description |
---|---|---|
uniqueId | String | The uid of the message |
See Also
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
DeleteMessage(IConnection, int, long)
Marks a message with the specified sequence number as deleted
public void DeleteMessage(IConnection connection, int sequenceNumber, long modificationSequence)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceNumber | Int32 | Sequence number of a message |
modificationSequence | Int64 | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
See Also
- interface IConnection
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
DeleteMessage(IConnection, string, long)
Marks a message with the specified unique identifier as deleted
public void DeleteMessage(IConnection connection, string uniqueId, long modificationSequence)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uniqueId | String | The uid of the message |
modificationSequence | Int64 | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
See Also
- interface IConnection
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
DeleteMessage(int, long)
Marks a message with the specified sequence number as deleted
public void DeleteMessage(int sequenceNumber, long modificationSequence)
Parameter | Type | Description |
---|---|---|
sequenceNumber | Int32 | Sequence number of a message |
modificationSequence | Int64 | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
See Also
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
DeleteMessage(string, long)
Marks a message with the specified unique identifier as deleted
public void DeleteMessage(string uniqueId, long modificationSequence)
Parameter | Type | Description |
---|---|---|
uniqueId | String | The uid of the message |
modificationSequence | Int64 | Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162 |
See Also
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
DeleteMessage(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 DeleteMessage(string uniqueId, bool commitNow)
Parameter | Type | Description |
---|---|---|
uniqueId | String | The uid of the message |
commitNow | Boolean | Defines whether message must be commited now. Please, read more https://tools.ietf.org/html/rfc4315 |
See Also
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
DeleteMessage(IConnection, 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 DeleteMessage(IConnection connection, string uniqueId, bool commitNow)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uniqueId | String | The uid of the message |
commitNow | Boolean | Defines whether message must be commited now. Please, read more https://tools.ietf.org/html/rfc4315 |
See Also
- interface IConnection
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
DeleteMessage(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 DeleteMessage(string uniqueId, long modificationSequence, bool commitNow)
Parameter | Type | Description |
---|---|---|
uniqueId | String | The uid of the message |
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
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
DeleteMessage(IConnection, 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 DeleteMessage(IConnection connection, string uniqueId, long modificationSequence,
bool commitNow)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uniqueId | String | The uid of the message |
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
- interface IConnection
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email