I am working on a project where we get customer feedback for performed services vie email from a form on an external hosted web server. Because there is no connection between the web server and the internal network, the email is being sent to an individual in the organization who then types the results into the system.
I am looking for a way in which this email can be sent to a mailbox and as soon as the email arrives a script (PowerShell script or .net application or whatever) is being triggered which gets the email as input, parses it and enters the information in the system automatically (how to parse the email etc. is not part of the question, just how to trigger some code and pass the email to it).
I looked for something, but all I could found was either transport rules (which do not seem to support the option to run scripts or other code, only forward or modify the email) or how to do it for Outlook but this is not very reliable since it doesn't work when Outlook is closed etc.
If anyone knows something which runs directly on the exchange server, it would be highly appreciated. We are using Exchange 2013 (Version 8.0.535.0) on a VM running Windows Server 2012 Standard.
Thanks in advance