Copy mail to Public Folder

  • Thread starter Thread starter Manfred Bauer
  • Start date Start date
M

Manfred Bauer

Hi all,

I wanna write a litle script to copy a specific mail-item to a specific
(public) folder. Does anyone have an idea, what method to use for realizing
this case?

Many thanks,
Mani
 
Set objCopy = objItem.Copy
Set objMovedItem = objCopy.Move objFolder

To get a non-default folder for use as the objFolder object variable above,
you need to walk the folder hierarchy using the Folders collections or use a
function that does that for you. See
http://www.outlookcode.com/d/code/getfolder.htm
 
Back
Top