Developer's Corner
Here is a list of code snippets I want to share with anyone interested in.
CSMTPAuthConnection
This is an extension to ATL's CSMTPConnection class with ESMTP and authentication support. Methods added are self-descriptive and do not require extensive comments:
- ConnectESMTP
- AuthenticateLogin
- AuthenticateNTLM
There are two more helper classes in addition. CMimeHTML makes the deal with HTML-formatted messages easier, CMimeMessage2 is a support to CMimeHTML.
Download CSMTPAuthConnection.zip
EnumerateGroupUsers Sample
.NET 1.1 C# sample that shows how to enumerate and get all users belonging to a group in Active Directory.
Download EnumerateGroupUsers.cs