A VBS SMTP OnArrival sink, useful for tracking message progress through Windows' SMTP transport. Note that it will not work on E12 Edge as that uses a different transport model.

Usage
=====
Copy this whole directory to somewhere on the SMTP server, then double-click regsink.bat or run it at a command-prompt *FROM WITHIN THIS SAME DIRECTORY*. This will register the sink to log incoming message information.

Refinements
===========
* Run enumsinks.bat to list the registered SMTP sinks.
* To register smtpDumper multiple times (eg for analysing mail-flow around your own OnArrival sink), copy the whole directory and edit regsink.bat to change the last '0' on the first line to the require priority for the new sink. For clarity, also edit regsink/unregsink to change the sink name 'SMTPDumperSink' to something else.
* smtpDumper.vbs can drop messages: just find the 'If False' clause within the script and change to 'If True', or some more meaningful test.
* When editing smtpDumper.vbs, check it for errors before saving:
   1. Save under a different name.
   2. Comment out the <SCRIPT...> tags at start and end of the script.
   3. Run 'cscript smtpDumper.vbs', which won't do anything, but will syntax-check it.
   4. Now uncomment the <SCRIPT...> tags and replace the old smtpDumper.vbs to have your changes take immediate effect.
