Solved

Running Scripts in Outlook 2010

Posted on 2014-07-21
2
286 Views
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?
0
Comment
Question by:MikeDTE
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 35

Accepted Solution

by:
Kimputer earned 500 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.
0
 

Author Closing Comment

by:MikeDTE
ID: 40208955
Good advice
0

Featured Post

RoboForm Secure Password Management System

RoboForm Everywhere - Superb Browser Support
Windows / Apple / IOS / Android / Linux / Chrome OS
Use different complex passwords everywhere
Best Secure Password Management by far
Synchronize all of your devices instantly
Safe, Secure & Highly Recommended!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article describes how to import an Outlook PST file to Office 365 using a third party product to avoid Microsoft's Azure command line tool, saving you time.
This article describes a serious pitfall that can happen when deleting shapes using VBA.
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

739 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