In the good old days with IIS 6, it was possible to use the SEOLib to make a managed hook in the SMTP service that would run whenever a mail got delivered.
In Vista and W7 they stopped shipping SEOLib, so we can no longer develop for it.
What is the replacement for this functionality?