We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com



We use DeleteMessage(String messageUri). But this function is deprecated in Aspose.Email for .NET v 18.3.

Could you please clarify what value of DeletionOptions options should be used in DeleteItem(String itemUri, DeletionOptions options) function to keep the same behavior as DeleteMessage(String messageUri) has?

Could you please clarify what is behavior of DeleteItem(String itemUri, DeletionOptions options) for Default value of DeletionOptions?



For DeleteMessasge, please use:

DeleteItem(itemUri, DeletionOptions.MoveToDeletedItems);

The Default option is used like DeletePermanently and will delete the item permanently from mailbox.