Writing Managed Sinks for SMTP and Transport Events
This technical article and sample event sinks assist developers in creating SMTP and Transport event sinks using Microsoft Visual Stuidio .NET and the .NET Framework.
http://www.microsoft.com/downloads/details.aspx?familyid=0cd7f344-cad6-416e-9bc1-0d7c214e1d0b
[MSFT download center]