ImapClient.DeleteMessage

DeleteMessage(IConnection, int)

Marks a message with the specified sequence number as deleted

public void DeleteMessage(IConnection connection, int sequenceNumber)
ParameterTypeDescription
connectionIConnectionConnection to a server
sequenceNumberInt32Sequence number of a message

See Also


DeleteMessage(IConnection, string)

Marks a message with the specified sequence number as deleted

public void DeleteMessage(IConnection connection, string uniqueId)
ParameterTypeDescription
connectionIConnectionConnection to a server
uniqueIdStringThe uid of the message

See Also


DeleteMessage(int)

Marks a message with the specified sequence number as deleted

public void DeleteMessage(int sequenceNumber)
ParameterTypeDescription
sequenceNumberInt32Sequence number of a message

See Also


DeleteMessage(string)

Marks a message with the specified sequence number as deleted

public void DeleteMessage(string uniqueId)
ParameterTypeDescription
uniqueIdStringThe uid of the message

See Also


DeleteMessage(IConnection, int, long)

Marks a message with the specified sequence number as deleted

public void DeleteMessage(IConnection connection, int sequenceNumber, long modificationSequence)
ParameterTypeDescription
connectionIConnectionConnection to a server
sequenceNumberInt32Sequence number of a message
modificationSequenceInt64Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162

See Also


DeleteMessage(IConnection, string, long)

Marks a message with the specified unique identifier as deleted

public void DeleteMessage(IConnection connection, string uniqueId, long modificationSequence)
ParameterTypeDescription
connectionIConnectionConnection to a server
uniqueIdStringThe uid of the message
modificationSequenceInt64Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162

See Also


DeleteMessage(int, long)

Marks a message with the specified sequence number as deleted

public void DeleteMessage(int sequenceNumber, long modificationSequence)
ParameterTypeDescription
sequenceNumberInt32Sequence number of a message
modificationSequenceInt64Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162

See Also


DeleteMessage(string, long)

Marks a message with the specified unique identifier as deleted

public void DeleteMessage(string uniqueId, long modificationSequence)
ParameterTypeDescription
uniqueIdStringThe uid of the message
modificationSequenceInt64Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162

See Also


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)
ParameterTypeDescription
uniqueIdStringThe uid of the message
commitNowBooleanDefines whether message must be commited now. Please, read more https://tools.ietf.org/html/rfc4315

See Also


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)
ParameterTypeDescription
connectionIConnectionConnection to a server
uniqueIdStringThe uid of the message
commitNowBooleanDefines whether message must be commited now. Please, read more https://tools.ietf.org/html/rfc4315

See Also


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)
ParameterTypeDescription
uniqueIdStringThe uid of the message
modificationSequenceInt64Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162
commitNowBooleanDefines whether message must be commited now. Please, read more https://tools.ietf.org/html/rfc4315

See Also


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)
ParameterTypeDescription
connectionIConnectionConnection to a server
uniqueIdStringThe uid of the message
modificationSequenceInt64Modification sequence. Please, read more https://tools.ietf.org/html/rfc7162
commitNowBooleanDefines whether message must be commited now. Please, read more https://tools.ietf.org/html/rfc4315

See Also