Update AutoArchive Settings on Multiple PST Files

  • Thread starter Thread starter bill
  • Start date Start date
B

bill

Hello,

I have a number of pst archives that I need to update the AutoArchive
settings. Specifically i need to disable AutoArvhive for all pst files
while maintaining my AutoArchive settings for my Exchange account ost.
When the daily AutoArchive runs it not only processes my Exchange
Mailbox but runs through each pst file. The pst files contain around
100-150 folders each and there 6 pst files. Therefore the AutoArchive
process takes quite some time. What i would like to do is loop through
each pst file and disable AutoArchive for every item in the pst. I'm
familiar with vbscript and frequently write my own scripts but I'm
unfamiliar with the internals of Outlook and pst databases. Can
someone help me accomplish this?

Thanks,

bill
 
None of the autoarchive settings are exposed in the Outlook object model.
You'd need to use a lower level API such as CDO 1.21(optional installation)
or Redemption (3rd party library at www.dimastr.com/redemption) or Extended
MAPI (long learning curve and only C++ or Delphi).

The settings are all stored in hidden items in Outlook folders and in the
registry.

I'd recommend searching on "autoarchive" at www.outlookcode.com and you'll
turn up a lot of samples for that using various API's.
 
None of the autoarchive settings are exposed in the Outlook object model.
You'd need to use a lower level API such as CDO 1.21(optional installation)
or Redemption (3rd party library atwww.dimastr.com/redemption) or Extended
MAPI (long learning curve and only C++ or Delphi).

The settings are all stored in hidden items in Outlook folders and in the
registry.

I'd recommend searching on "autoarchive" atwww.outlookcode.comand you'll
turn up a lot of samples for that using various API's.

Thanks, that should help.

bill
 
None of the autoarchive settings are exposed in the Outlook object model.
You'd need to use a lower level API such as CDO 1.21(optional installation)
or Redemption (3rd party library atwww.dimastr.com/redemption) or Extended
MAPI (long learning curve and only C++ or Delphi).

The settings are all stored in hidden items in Outlook folders and in the
registry.

I'd recommend searching on "autoarchive" atwww.outlookcode.comand you'll
turn up a lot of samples for that using various API's.

Thanks, I went there which led me to here:

http://blogs.msdn.com/jmazner/archi...es-on-a-folder-hierarchy-in-outlook-2007.aspx

which was exactly what i was looking for.

bill
 
Be aware that the code referenced is Outlook 2007 or later only since it
makes use of objects such as PropertyAccessor and StorageItem. For earlier
versions of Outlook using an alternate API such as CDO 1.21 or Redemption
would be needed.

We are using 2007, but thanks for the heads-up.

bill
 
Back
Top