Open isendrak opened 9 years ago
It looks like the MailMessageText static constructor is failing due to a null reference somewhere.
My guess is that since MailMessageText relies heavily on reflecting various non-public types from the BCL, that this is the problem.
I've just added support for DKIM signatures to MimeKit that you can use instead which does not rely on any non-public BCL classes because I've implemented my own MIME parser and serializer.
Since you'll probably need to send the message via SMTP, you'll probably also want to take a look at MailKit.
Hopefully Damien doesn't mind me making this suggestion.
Hi there, found this really promising project, after almost smashing my keyboard against the next wall, while searching for a way to DKIM-Sign emails in C#. Compiling works perfectly (not a single warning/error), but when i try to execute even a simple program, like the example one from the readme, it gives me an exception when calling the DkimSign-method. Here's, what it says:
Any idea? P.S.: Here's an example of where exactly the exception occurs: