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?
Maybe something to do with SMTP Event Sinks ? Take a look : SMTP event sinks under Windows Server 2008 R2.
And maybe this. It seems the SMTP architecture was revised on IIS 7 & Exchange 2007.
Read:
Custom SMTP in C#
Send and Receive Mail from C# (SMTP and POP)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With