Microsoft CRM customization: MS Exchange Transport SMTP Event Sink in VB.NET
Microsoft CRM has variety of customizations options and tools. The official and the most popular is Microsoft CRM SDK: collection of C#.Net and partially VB.Net classes, methods and code samples.
The text of this article is not in this database — only its details are. The old site it was published on is gone, but the Internet Archive kept a copy: Microsoft CRM customization: MS Exchange Transport SMTP Event Sink in VB.NET

sjaak banaanPosted Aug 29, 2008, 5:23 AM EDT
To all who need more information on writing managed event sinks (for IIS SMTP or Exchange), please take a look at my blog. http://blog.rednael.com/ There is a very in depth article on How to write a custom authentication sink (using the AUTH command). It addresses various problems that are solved when writing event sinks. For example, how do you read input lines after the AUTH command is processed. And how do you use the property bags within a session. And more... Also, there is a list of registry settings for IIS SMTP (as well as Exchange 2000/2003), with which you can influence the behavior of the SMTP server. Enjoy...