Solved

Service to launch/close Outlook

Posted on 2009-05-05
3
243 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
[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
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

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

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

Suggested Solutions

Microsoft has released remote PowerShell capabilities to all commercial Office 365 customers. So you can be controlled via PowerShell and not from the Office 365 admin center Download Windows PowerShell Module for Lync Online http://www.micros…
We were having a lot of "Heartbeat Alerts" in our SCOM environment, now "Heartbeat" in a SCOM environment for those of you who might not be familiar with SCOM is a packet of data sent from the agent to the management server on a regular basis, basic…
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…
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…

742 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