DeleteMessage

ImapClient.DeleteMessage method (1 of 12)

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


ImapClient.DeleteMessage method (2 of 12)

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


ImapClient.DeleteMessage method (3 of 12)

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


ImapClient.DeleteMessage method (4 of 12)

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


ImapClient.DeleteMessage method (5 of 12)

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


ImapClient.DeleteMessage method (6 of 12)

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


ImapClient.DeleteMessage method (7 of 12)

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


ImapClient.DeleteMessage method (8 of 12)

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


ImapClient.DeleteMessage method (9 of 12)

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


ImapClient.DeleteMessage method (10 of 12)

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


ImapClient.DeleteMessage method (11 of 12)

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


ImapClient.DeleteMessage method (12 of 12)

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