Solved

Exchange Server 2003 - Run script / batch file triggered by email subject

Posted on 2007-03-29
6
919 Views
Last Modified: 2008-01-09
Hi all,
I want to be able to run a script or a batch file on my exchange server (actually SBS 2003) when a particular mailbox receives an email with a particular subject / message.
Essentially my aim is to be able to run a batch file on the server while I'm on the road, from my mobile (Windows Mobile 5 set up with Exchange ActiveSync).
I'm sure it's possible since I've seen references to similar requests elsewhere.
Cheers

budchawla
0
Comment
Question by:budchawla
  • 3
6 Comments
 
LVL 104

Accepted Solution

by:
Sembee earned 500 total points
ID: 18815087
The only way that I can think of is an event sink. You would have to create one yourself, but even that I am not 100% sure would allow you to fire a batch file.

Simon.
0
 
LVL 10

Author Comment

by:budchawla
ID: 18815130
Hi Sembee,
Thanks for that... I was looking at a few other Qs (like http://www.experts-exchange.com/Software/Server_Software/Email_Servers/Exchange/Q_20124678.html) and hoped it might be something pretty straight-forward!
0
 
LVL 10

Author Comment

by:budchawla
ID: 19256636
HI.. wasn't abandoning, was hoping for a step-by-step if someone had one!! Thanks anyway...
0
 
LVL 1

Expert Comment

by:andyitc
ID: 23448552
I already use a similar idea to wake up pc's on the network using wol.exe. i set up a mail account and make sure that it is accesible via POP3 and then install l poptray and get it to check the account once per miniute and if it finds specified words in the subject line it can then be made to run a batch file to wake up the pc. This works ok but I have not managed to get poptray to run as a service yet so the server has to be logged on before the potray program works

Andy Parkinson
0
 
LVL 10

Author Comment

by:budchawla
ID: 23448626
Hi Andy,

That's an interesting idea - thanks!
0

Featured Post

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Office 365 Login Audit Report 1 36
exchange 2013 search-mailbox question 7 42
EXCHANGE. LINUX, SYMANTEC MESSAGING GATEWAY 2 17
Lync 2010 4 28
Scam emails are a huge burden for many businesses. Spotting one is not always easy. Follow our tips to identify if an email you receive is a scam.
MS Outlook is a world-class email client application that is mainly used for e-communication globally.  In this article, we will discuss the basic idea about MS Outlook, its advanced features, and types of MS Outlook File formats.
In this video we show how to create a Distribution Group in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Recipients >>…
To show how to generate a certificate request in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.:  First we need to log into the Exchange Admin Center. Navigate to the Servers >> Certificates…

773 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