Moving Outlook Mail Items from Deleted Items to Public Folder

  • Thread starter Thread starter Phil Greenway
  • Start date Start date
P

Phil Greenway

Hi,

I'm trying to write a vbscript to make a user's Deleted
Items move to a Public Folder.

I've got the Target Folder name and I can loop through all
the items but I'm not sure what the command is to move the
items.

Any ideas ?
 
The Object Browser is your friend, use it when you want to see what
methods, properties and events are available for any object.

Each item has a Move method that is a function. It returns a handle to
the newly moved item. The syntax is Set objMoved =
objItem.Move(destFolder) where destFolder is an Outlook.MAPIFolder
object.
 
Back
Top