Open theofilis opened 5 years ago
And BuildMessageFromHeader
is failed
Test Name: BuildMessageFromHeader
Test FullName: S22.Imap.Tests.MessageBuilderTest.BuildMessageFromHeader
Test Source: D:\Work\CLMS\S22.Imap\tests\S22.Imap.Tests\S22\Imap\Tests\MessageBuilderTest.cs : line 18
Test Outcome: Failed
Test Duration: 0:00:00.0816438
Result StackTrace:
at System.Text.Encoding.GetDataItem()
at System.Text.Encoding.get_BodyName()
at S22.Imap.Tests.MessageBuilderTest.BuildMessageFromHeader() in D:\Work\CLMS\S22.Imap\tests\S22.Imap.Tests\S22\Imap\Tests\MessageBuilderTest.cs:line 20
Result Message:
Test method S22.Imap.Tests.MessageBuilderTest.BuildMessageFromHeader threw exception:
System.NotSupportedException: No data is available for encoding 50220. For information on defining a custom encoding, see the documentation for the Encoding.RegisterProvider method.
Have you considered saving yourself a ton of time and just using MailKit? :)
It's a LOT more robust and it is already ported to .NET Core.
Thank you, I will check it!
You're welcome :-)
The next release will be adding NOTIFY, OBJECTID, STATUS=SIZE, and SOCKS4/SOCKS5 support as well (the README.MD has already been updated with those features, but there's no current release with them).
Describe the bug Failed with the following error.
To Reproduce Steps to reproduce the behavior:
Expected behavior Not to throw an error.
Desktop (please complete the following information):