Outlook 2010 VSTO Add-in Delete email permanently RRS feed

  • Question

  • Hi All,

        How to remove the email permanently in VSTO outlook 2010?

        Some of the suggestion said that if I call Delete() method in Deleted Item Folder, the email will permanently removed.

        However, It does not work in the version I'm using.

        My Outlook 2010 version: 14.0.7015.1000 (64-bit)


    Wednesday, January 2, 2019 11:11 AM

All replies

  • Please show your code deleting the messages from the Deleted Items folder.

    If using Redemption is an option, its version of RDOMail.Delete takes an optional flag that specifies how the message must be deleted - you can move it to the Deleted Items folder (this is what OOM does), permanently delete (it will still be recoverable in Exchange), or hard delete (Exchange specific - it will not be recoverable).

    Dmitry Streblechenko (MVP)
    Redemption - what the Outlook
    Object Model should have been
    Version 5.5 is now available!

    Friday, January 4, 2019 8:40 PM