Solved

Service to launch/close Outlook

Posted on 2009-05-05
3
241 Views
Last Modified: 2012-05-06
In a nutshell, my problem is that the Outlook client needs to be open, in order to run various rules against a couple of IMAP client mailboxes, against new mail.

However, best practices preclude installing Office or Outlook on a server, nor can we support having a user always logged on for it to run a console application.

I'd like to create a script to access this email account, and which can run as a service or scheduled task.   The script should launch the outlook client and then close it again after some period of time.  

Any suggestions would be appreciated.  My security guy is not keen on running MapiLabs or comparable software on the server.
0
Comment
Question by:PetEdge
  • 2
3 Comments
 
LVL 76

Assisted Solution

by:David Lee
David Lee earned 500 total points
ID: 24312522
HI, PetEdge.

You can launch/close Outlook from a script.  Those scripts could be run by Windows built in task scheduler.  Is that acceptable?
0
 

Accepted Solution

by:
PetEdge earned 0 total points
ID: 24315193
That should be.  If you could provide a sample script, that would be great.  Thanks!
0
 

Author Comment

by:PetEdge
ID: 24316369
Actually, after rethinking this -- this is not sufficient.  Outlook will not be installed on the server, nor will Office.  This needs to be done via script against the IMAP account.  I'll open a separate question.
0

Featured Post

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
String manipulation in Visual Basic 7 73
Locks on MS Access DB not being released 9 82
What .NET URL re-routing tool did I use? 2 74
Outlook 2012 VBA: Object missing 14 41
I have put this article together as i needed to get all the information that might be available already into one general document that could be referenced once without searching the Internet for the different pieces. I have had a few issues where…
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
The view will learn how to download and install SIMTOOLS and FORMLIST into Excel, how to use SIMTOOLS to generate a Monte Carlo simulation of 30 sales calls, and how to calculate the conditional probability based on the results of the Monte Carlo …
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…

808 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