DeleteMessage

DeleteMessage (1 of 12)

Marks a message with the specified sequence number as deleted

Returns: void Aspose::Email::Clients::Imap::

DeleteMessage(int32_t sequenceNumber)
ParameterDescription
sequenceNumberSequence number of a message

DeleteMessage (2 of 12)

Marks a message with the specified sequence number as deleted

Returns: void Aspose::Email::Clients::Imap::

DeleteMessage(int32_t sequenceNumber, int64_t modificationSequence)
ParameterDescription
sequenceNumberSequence number of a message
modificationSequenceModification sequence. Please, read more https://tools.ietf.org/html/rfc7162

DeleteMessage (3 of 12)

Marks a message with the specified sequence number as deleted

Returns: void Aspose::Email::Clients::Imap::

DeleteMessage(System::SharedPtr < IConnection > connection, int32_t sequenceNumber)
ParameterDescription
connectionConnection to a server
sequenceNumberSequence number of a message

DeleteMessage (4 of 12)

Marks a message with the specified sequence number as deleted

Returns: void Aspose::Email::Clients::Imap::

DeleteMessage(System::SharedPtr < IConnection > connection, int32_t sequenceNumber, int64_t modificationSequence)
ParameterDescription
connectionConnection to a server
sequenceNumberSequence number of a message
modificationSequenceModification sequence. Please, read more https://tools.ietf.org/html/rfc7162

DeleteMessage (5 of 12)

Marks a message with the specified sequence number as deleted

Returns: void Aspose::Email::Clients::Imap::

DeleteMessage(System::SharedPtr < IConnection > connection, System::String uniqueId)
ParameterDescription
connectionConnection to a server
uniqueIdThe uid of the message

DeleteMessage (6 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

Returns: void Aspose::Email::Clients::Imap::

DeleteMessage(System::SharedPtr < IConnection > connection, System::String uniqueId, bool commitNow)
ParameterDescription
connectionConnection to a server
uniqueIdThe uid of the message
commitNowDefines whether message must be commited now. Please, read more https://tools.ietf.org/html/rfc4315

DeleteMessage (7 of 12)

Marks a message with the specified unique identifier as deleted

Returns: void Aspose::Email::Clients::Imap::

DeleteMessage(System::SharedPtr < IConnection > connection, System::String uniqueId, int64_t modificationSequence)
ParameterDescription
connectionConnection to a server
uniqueIdThe uid of the message
modificationSequenceModification sequence. Please, read more https://tools.ietf.org/html/rfc7162

DeleteMessage (8 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

Returns: void Aspose::Email::Clients::Imap::

DeleteMessage(System::SharedPtr < IConnection > connection, System::String uniqueId, int64_t modificationSequence, bool commitNow)
ParameterDescription
connectionConnection to a server
uniqueIdThe uid of the message
modificationSequenceModification sequence. Please, read more https://tools.ietf.org/html/rfc7162
commitNowDefines whether message must be commited now. Please, read more https://tools.ietf.org/html/rfc4315

DeleteMessage (9 of 12)

Marks a message with the specified sequence number as deleted

Returns: void Aspose::Email::Clients::Imap::

DeleteMessage(System::String uniqueId)
ParameterDescription
uniqueIdThe uid of the message

DeleteMessage (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

Returns: void Aspose::Email::Clients::Imap::

DeleteMessage(System::String uniqueId, bool commitNow)
ParameterDescription
uniqueIdThe uid of the message
commitNowDefines whether message must be commited now. Please, read more https://tools.ietf.org/html/rfc4315

DeleteMessage (11 of 12)

Marks a message with the specified unique identifier as deleted

Returns: void Aspose::Email::Clients::Imap::

DeleteMessage(System::String uniqueId, int64_t modificationSequence)
ParameterDescription
uniqueIdThe uid of the message
modificationSequenceModification sequence. Please, read more https://tools.ietf.org/html/rfc7162

DeleteMessage (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

Returns: void Aspose::Email::Clients::Imap::

DeleteMessage(System::String uniqueId, int64_t modificationSequence, bool commitNow)
ParameterDescription
uniqueIdThe uid of the message
modificationSequenceModification sequence. Please, read more https://tools.ietf.org/html/rfc7162
commitNowDefines whether message must be commited now. Please, read more https://tools.ietf.org/html/rfc4315