DomainKeys Identified Mail (DKIM) library for .Net C#
I've just committed code that I've been working on for a couple of evenings that enables you to DKIM sign System.Net.Mail.MailMessage objects and send DKIM signed emails. Ideally you should sign emails at the last possible stage, perhaps by your mail server, as if your mail server alters certain headers or the body it could make the signing invalid but in some cases it's not possible. I was working on adding DKIM signing to Amazon's Simple Email Server (SES) SendRawEmail service and decided to refractor the code into it's own library.
The code currently has a dependency on Bouncy Castle Cryptography API which is used to calculate the SHA256 signature but I plan to remove this once I get it working with my own code.
You can download the code at https://github.com/dmcgiv/DKIM.Net