dmcgiv/DKIM.Net

Dkim verification fails

unosbaghaie opened this issue · 2 comments

Hi
I sign System.Net.Mail.MailMessage using DKIM.Net . When subject and body are English text. Dkim is being passed but when subject or body is Farsi Dkim fails . I set encoding as below

MyMessage.SubjectEncoding = Encoding.UTF8; MyMessage.BodyEncoding = Encoding.UTF8;

but it doesn't work .
Any clue or hint to solve it
Thanks

I have the same problem.
When I include Swedish letters (å,ä,ö) in the subject it fails.
Would be very happy for a solution.

For anyone having this issue, I would recommend using MimeKit's DKIM support instead.

If you also need SMTP functionality to send the resulting message, you can use MimeKit with MailKit (since you won't be able to use MimeKit with System.Net.Mail.SmtpClient).

Hopefully Damien doesn't mind me making this suggestion since it appears that he is no longer maintaining this library.