Add-in Express™ Support Service
That's what is more important than anything else

Trevor Pegley

Posts: 22
Joined: 2006-12-11

I'd like to process a message before it is deleted permanently. I was hoping there would be an OnBeforeDelete event or similar but I can't see one. Can you suggest an alternative method please?


Posted 21 Feb, 2007 02:10:12 Top
Dmitry Kostochko

Add-in Express team

Posts: 2875
Joined: 2004-04-05
Hi Trevor,

The OnBeforeDelete event exists in Outlook XP and higher but it's not of much use because it doesn't arise for the last item and doesn't arise if pressing the Shift+Del keyboard shortcut. If you can't use this event I can suggest using the OnItemAdd event of the MAPIFolder.Items collection of the Deleted Items folder.

P.S. Note that we take up your forum requests in the order we receive them.
Besides, it may take us some time to investigate your issue. Please be sure we will let you know as soon as the best possible solution is found.

Posted 21 Feb, 2007 05:50:17 Top