title: DKIM in .NET MailMessage and AlternativeViews
body: <p>I am using DKIM.NET (https://github.com/dmcgiv/DKIM.Net) to sign a MailMessage before sending it to a recipient. The problem i am facing is that the component above signs MailMessage's Body (mailMessage.Body) while I am inserting content as both HTML and plain text in the form of AlternativeViews.</p>
  
  <p>The result is that my mailMessage.Body is null but the received messsage's body contains my alternative views therefore DKIM does not verify correctly.</p>
  
  <p>Is there any way to resolve this problem? Maybe sign the HTML and Plain text alternative views before assigning them to the MailMessage object? Or maybe using another component?</p>
  
  <p><strong>EDIT:</strong> </p>
  
  <p>Since I started this question I 've created a project at <a href="https://github.com/yannispsarras/DKIM-AlternativeViews" rel="noreferrer">https://github.com/yannispsarras/DKIM-AlternativeViews</a> - This is by no means complete or stable but I m posting it here in case its of any use to anyone looking to find a solution for signed alternative views in .NET.</p>