autoarchive settings

P

Peter

I'm configuring a company wide autoarchive policy in outlook 2003.
So I set autoarchive on with office policies from ORK
I set the default archive path and filename by a registry setting at logon

However there is one problem.
I want to set each folder of a mailbox to the auto archive settings
automaticly.
When a user create a new (Sub) foler in the mailbox, this new folder must
also get the auto archive setting automaticly.
In the autoarchive field in extra-->otions-->....--> autoarchive is a button
whice set the auto archive settings to each folders in the mailbox.

Can any of you help me to create a VBA script whice has the same
functionality as the button.
So I can run this script everytime outlook starts.
 
K

Ken Slovak - [MVP - Outlook]

The folder autoarchive settings are stored in a hidden message in each
folder. The settings themselves are not accessible from the Outlook object
model. You have to use a lower level API such as CDO 1.21 (optional
installation), Extended MAPI (C++ or Delphi only) or a MAPI wrapper such as
Redemption (www.dimastr.com/redemption) to do what you want.

To see an example of setting a folder's archive settings using CDO 1.21 see
http://www.cdolive.com/cdo5.htm#ChangeAutoArchive
 
D

David

Hi Peter,

I have been trying to find out how to set the Autoarchive path
automatically, Could you tell me where the registry key is for the
auotarchive path?

Thanks

Dave
 
D

David

Thanks, Sue,

I will try this as soon as, Might be what ive been looking for...

Thanks
Dave
 

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

Top