Unique Status of Items that have been copied from the "Deleted Items" folder

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a client that wants the "Deleted Items" duplicated to other calendars so that the lawyers can see the tasks that have been removed from the Tasks folders and the appointments that have been cancelled. In the Deleted Folders, you can clearly see which items were tasks and which were appointments.

If I copy these items to the "Deleted Items" folders in a new .PST, the items appear to be attachments contained inside notes. The items as listed in the "deleted items" folder have a hybrid symbol and do not show their original type. You have to open the item and look at the attachment to see if it was an appointment or task.

This is the code I am using

For i = 1 To MyDelFolder.Items.Coun
Set ItemNew = MyDelFolder.Items(i).Cop
ItemNew.Move (ExportDelFolder
Nex

Does anyone understand this strange behavior, and is there a way to copy items to the "Deleted Items Folders" so it adds them as the appropriate type.
 
What you discovered is that Deleted Items is a special folder that has some
extra functionality. I know of no way to duplicate that in another folder,
although it might be interesting to poke around with Outlook Spy to see if
it has any unique MAPI properties.
--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers


Ken Edwards said:
I have a client that wants the "Deleted Items" duplicated to other
calendars so that the lawyers can see the tasks that have been removed from
the Tasks folders and the appointments that have been cancelled. In the
Deleted Folders, you can clearly see which items were tasks and which were
appointments.
If I copy these items to the "Deleted Items" folders in a new .PST, the
items appear to be attachments contained inside notes. The items as listed
in the "deleted items" folder have a hybrid symbol and do not show their
original type. You have to open the item and look at the attachment to see
if it was an appointment or task.
This is the code I am using:

For i = 1 To MyDelFolder.Items.Count
Set ItemNew = MyDelFolder.Items(i).Copy
ItemNew.Move (ExportDelFolder)
Next

Does anyone understand this strange behavior, and is there a way to copy
items to the "Deleted Items Folders" so it adds them as the appropriate
type.
 
Back
Top