ExchangeClient.DeleteMessage

DeleteMessage(string)

Deletes the mail message.

public void DeleteMessage(string messageUri)
ParameterTypeDescription
messageUriStringThe message uri.

Exceptions

exceptioncondition
AsposeArgumentExceptionmessageUri is empty.
AsposeArgumentNullExceptionmessageUri is null.

See Also


DeleteMessage(string, bool)

Deletes the mail message.

public void DeleteMessage(string messageUri, bool suppressReceipt)
ParameterTypeDescription
messageUriStringThe message uri.
suppressReceiptBooleanA value indicating whether the sending a non-read report should be suppressed.

Exceptions

exceptioncondition
AsposeArgumentExceptionmessageUri is empty.
AsposeArgumentNullExceptionmessageUri is null.

See Also