![]() |
How to Delete Folders from Outlook 2007 "Deleted Items" Folder.
I'm trying to empty the "Deleted Items" folder. I'm using the below snippet to empty. I'm able to delete all the items successively. The "Deleted Items" folder also contains some custom folders, which I'm not able to clear. I'm getting the below error: "{System.Runtime.InteropServices.COMException (0x86220009): Unable to delete this folder. Right-click the folder, and then click Properties to check your permissions for the folder. See the folder owner or your administrator to change your permissions. at Microsoft.Office.Interop.Outlook.MAPIFolder.Delete ()" If I try to get the handle to the folders within the "Deleted Items" folder and delete it. I am working with VSTO-SE in vb.net With Outlook 2007. Plz send me the solution. |
All times are GMT +1. The time now is 11:09 AM. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com