Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dkim verification fails #10

Open
unosbaghaie opened this issue Jun 11, 2016 · 2 comments
Open

Dkim verification fails #10

unosbaghaie opened this issue Jun 11, 2016 · 2 comments

Comments

@unosbaghaie
Copy link

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

@rgustavsson
Copy link

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

@jstedfast
Copy link

jstedfast commented Jun 3, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants