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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top