Domanda

The title says it all,

I have an issue with redemption using outlook 2007 with exchange 2010

 var deleteItem = folderItems[i];
 deleteItem.Delete(2); // Flag = HardDelete

The exact same line works with outlook 2010, is this a known issue or maybe there's something wrong?

PS: I'm deleting the mail straight from the ost file, exchange connection mode = olOnline

È stato utile?

Soluzione

dfHardDelete is Exchange specific that only works in the online mode. Why not use the default dfSoftDelete (0)?

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top