Run script when receive a message

Ever wanted to execute command/script/application when receive certain email? Not for all messages but only from specific sender or message with some subject, or even maybe in specific time range? With MSH Traffic Policy it is easier than you think.

Run Executable action is one of many actions which can be invoked based on multiple conditions.

Executable path is an absolute path to the command which will be invoked. Arguments are optional. Wait for finish options means that when selected application will work synchronously and processing of the message will be stopped till command ends. Wait for finish can be used in scenario where some application generate a file and this file should be attached to the message.

To learn more visit MSH Traffic Policy website.

Łukasz is a software developer and owner of MSH Software company which builds email processing tools for Microsoft Exchange, Zimbra Collaboration Suite and Postfix. He specializes in server, desktop and web applications written in Java, .NET and C++.