Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Running Scripts in Outlook 2010

Posted on 2014-07-21
2
Medium Priority
?
312 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
2 Comments
 
LVL 36

Accepted Solution

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

Author Closing Comment

by:MikeDTE
ID: 40208955
Good advice
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

With so many activities to perform, Exchange administrators are always busy in organizations. If everything, including Exchange Servers, Outlook clients, and Office 365 accounts work without any issues, they can sit and relax. But unfortunately, it…
Windows Explorer lets you open cabinet (cab) files like any other folder. In VBA you can easily handle normal files and folders, but opening and indeed creating cabinet files takes a lot more - and that's you'll find here.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
This video demonstrates how to sync Microsoft Exchange Public Folders with smartphones using CodeTwo Exchange Sync and Exchange ActiveSync. To learn more about CodeTwo Exchange Sync and download the free trial, go to: http://www.codetwo.com/excha…

963 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