Search code examples
c#outlookoutlook-redemption

Redemption: RdoMail Delete flags


I am trying to delete a RdoMail using dfHardDeleteflag. But in the documentation, it states that Exchange Only. Permanently deletes the item; will not be recoverable I just want to be sure what is the impact of using this flag if the RdoMail wasn't from Exchange ? Will it automatically switch to dfSoftDelete or will throw an exception ??

Thank you.


Solution

  • Most likely dfHardDeleteflag will cause the "unknown flags" error.