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

The newest release (v4) breaks support for System.Net.Mail on netstandard2.0 #913

Closed
onyxmaster opened this issue Apr 17, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@onyxmaster
Copy link

Describe the bug
When upgrading from 3.6.0 to 4.0.0 we found out that some System.Net.Mail-related methods are missing (specifically MimeMessage.CreateFromMailMessage).

It looks like commit 8a76859 changed their availability for .NET Standard 2.0 builds. I think this is a result of some mistake, since System.Net.Mail.MailMessage is available everywhere.

Platform (please complete the following information):

  • OS: Windows
  • .NET Runtime: .NET Framework 4.8.2
  • .NET Framework: .NET Standard 2.0
  • MimeKit Version: 4.0.0

To Reproduce
Steps to reproduce the behavior:

  1. Try to use MimeMessage.CreateFromMailMessage in a netstandard2.0 library
  2. See error
@jstedfast jstedfast added the bug Something isn't working label Apr 17, 2023
jstedfast added a commit that referenced this issue Apr 17, 2023
…andard2.0, so disable it"

This reverts commit 8a76859.

Fixes issue #913
@onyxmaster
Copy link
Author

Thank you for such a prompt fix for the issue and many thanks to you for the excellent library! =)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants