Run script when receive a message

Ever wanted to execute a command/script/application when receiving a certain email? Not for all messages but only from a specific sender, or a message with some subject, or even maybe in a 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. The Wait for finish option means that when selected, the application will work synchronously and processing of the message will be stopped until the 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.