?
Solved

Setting Outlook 2007 options with script or VBa

Posted on 2009-05-15
2
Medium Priority
?
819 Views
Last Modified: 2012-05-07
How can i set up Outlook options using VB or VBScript.
I am using a VBScript to import user files onto their new computers and run the prf file to configure outlook 2007.
We need do do some additional Outlook configuration. ie:
-Set time for "Schedule an automatic send/receive" to every 3 minutes
-Set the default address book to be the one found in the pst.
-Set the "Reading pane" to bottom
-Set junk email filter to High.

I have looked at the Outlook object references online and cant find any examples (that i understand) that access these outlook settings with Vba or Script.
I am an experienced scripter and dabble in VBa.
Can anyone point me to some examles of accessing Outlooks standard options?
I prefer vbScript but anything would be helpfull.
Or
am i missing some settings that can be configured in the prf file?
0
Comment
Question by:igallichan
1 Comment
 
LVL 76

Accepted Solution

by:
David Lee earned 2000 total points
ID: 24403341
Hi, i gallichan.

Unfortunately this isn't possible for everything you listed.  Microsoft hasn't exposed the necessary properties/methods for scripting items 1, 2, and 4.  Item 3 is possible by simulating mouse clicks.  
0

Featured Post

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

An Outlook data file aka PST is prone to corruption due to various reasons. A corrupt PST file is always inaccessible. Also, you may lose all your crucial mailbox content at any time. So to fix this corruption and protect the mailbox content from be…
This guide provides step by step instructions on how to convert an Offline(.ost) to a Personal file(.pst). A different situation occurs when a conversion of OST file to PST format is needed. Use the described manual methods and SysTools OST to PST C…
The video provides a quick and easy steps to migrate MBOX file to well known Outlook PST and Office 365. Besides this, it also supports and migrates more than 20 email clients of MBOX which include AppleMail, Opera, Thunderbird and SeaMonkey effortl…
To export Lotus Notes to Outlook PST or Exchange and Domino Server files to Exchange Server or PST files with ease, go for Kernel for Lotus Notes to Outlook conversion tool. Through the video, you can watch the conversion process. A common user with…

589 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question