![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
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. |
Ads |
#2
|
|||
|
|||
![]()
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 -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003 Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products.htm "Peter" wrote in message ... 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. |
#3
|
|||
|
|||
![]()
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 "Peter" wrote: 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. |
#4
|
|||
|
|||
![]()
See http://support.microsoft.com/kb/836755/
-- Sue Mosher, Outlook MVP Author of Configuring Microsoft Outlook 2003 http://www.turtleflock.com/olconfig/index.htm and Microsoft Outlook Programming - Jumpstart for Administrators, Power Users, and Developers http://www.outlookcode.com/jumpstart.aspx "David" wrote in message ... 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 "Peter" wrote: 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. |
#5
|
|||
|
|||
![]()
Thanks, Sue,
I will try this as soon as, Might be what ive been looking for... Thanks Dave "Sue Mosher [MVP-Outlook]" wrote: See http://support.microsoft.com/kb/836755/ -- Sue Mosher, Outlook MVP Author of Configuring Microsoft Outlook 2003 http://www.turtleflock.com/olconfig/index.htm and Microsoft Outlook Programming - Jumpstart for Administrators, Power Users, and Developers http://www.outlookcode.com/jumpstart.aspx "David" wrote in message ... 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 "Peter" wrote: 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. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Autoarchive settings | Andrew Chalk | Outlook - General Queries | 0 | January 31st 07 06:43 PM |
Autoarchive settings | Andrew Chalk | Outlook - Installation | 0 | January 31st 07 06:43 PM |
how to export AutoArchive per-folder settings | erk8pj | Outlook - Installation | 1 | November 22nd 06 05:43 PM |
Shared mailbox - autoarchive settings | DMAC | Outlook - Installation | 2 | February 28th 06 07:25 AM |
restore default autoarchive folder settings in outlook | sashawalking | Outlook - Installation | 0 | February 5th 06 11:25 PM |