External access to MS Exchange Server

A client wants a script that will look for messages in an Exchange mailbox (and take action based thereon). I know zippo about Exchange. Is there any on-line reference material to get me started?

I’ve never interfaced with Exchange Server (programmatically, that is), but this might be a good starting point:


In a nutshell, you’re going to need to take advantage of MAPI (Messaging Application Programming Interface), in order to interact with MS Exchange. This is the API that Exchange uses to allow external applications/scripts/etc. to communicate with the program.