I've been poring through this forum and can't find any way to do this. I want to create an event to fire a script (powershell, batch, whatever), where the input to the script is the name of the email file in the spool. Even the message ID would work (since I could build the path from that). However, the actions for this even do not list anything like this for the parameters available to a command-line script. I want to be able to get the name of the spool file so I can make a copy of it, and conduct header analysis, etc. Anyone have any ideas on this? I can easily do this easily on any 'nix MTA, but it seems that Smartermail does not give you the message ID or filename as possible parameter.