-
-
Notifications
You must be signed in to change notification settings - Fork 817
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
Medium trust level #340
Comments
I'm not sure what you mean. It's hosted on GitHub. I guess if that's Medium trust level, then yes? |
When I'm running my code on the sharing host Server: Inheritance security rules violated while overriding member: MailKit.Net.Imap.ImapCommandException.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext) . Security accessibility of the overriding method must match the security accessibility of the method being overriden. My server hosting is configured in Medium trust level. |
Try adding |
Same problem in medium trust level. Is not working in version 1.2.23: For your tests: put this in web config: |
Do you think you could dig into the problem and send me a patch to fix it? I have no knowledge of ASP.NET website development. Thanks. |
You can apparently fix this issue by adding the following to your web.config:
|
Will not work if your hosting doesn't support full trust. |
Do you have MailKit in Medium trust level hosting?
The text was updated successfully, but these errors were encountered: