Running Scripts in Outlook 2010

Posted on 2014-07-21
Medium Priority
Last Modified: 2014-07-21
I have designed a script to save the content of an email into a text file.  This works well as a macro and with a bit of tinkering it now also runs as part of a rule.  The rule looks at the subject line of an email on arrival and providing the email subject matches then a text file is automatically created and appears in the destination folder :-)

The problem is that it is a client side rule so Outlook must be running for the rule to work.  The problem is that I have two Outlook Profiles and the rule is not running in the default Profile that I run most of the time.  Is there a way of processing the script server side so that the job is processed when Outlook in the default profile?
Question by:MikeDTE
LVL 37

Accepted Solution

Kimputer earned 2000 total points
ID: 40208890
No, whenever you add a function in a rule that isn't able to run server, you will see the Client-Side warning appear.
Especially with extra code, be it VBA or an external program. Not only would the code mostly fail (you might save the text file in c:\temp\text.txt, which would probably work on your local computer, but on the server, you don't have access to that), it's a major security risk to let users run their code on the server.

Author Closing Comment

ID: 40208955
Good advice

Featured Post

Making Bulk Changes to Active Directory

Watch this video to see how easy it is to make mass changes to Active Directory from an external text file without using complicated scripts.

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

This tutorial is about creating a new Microsoft Online User Profile account along with how to transfer your files and settings. You may be faced with this situation if your existing user profile has become corrupted.
If there is anything erroneous with Exchange Database, it causes a significant effect on email communication till the user remounts the database. Further, database crash directly affects Outlook users due to which they are unable to access their ema…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Watch the video to know how one can repair corrupt Exchange OST file effortlessly and convert OST emails to MS Outlook PST file format by using Kernel for OST to PST converter tool. It can convert OST to MSG, MBOX, EML to access them. It can migrate…

624 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