S22.Imap
S22.Imap copied to clipboard
Body encoding lost, text lost in case on 8-bit content-transfer-encoding with non-ASCII content
The same problem as in issue #47 - I have mail with 8-bit body content.
Force specific encoding while reading stream AND while parsing body helped. I set ImapClient.StreamEncoding = Encoding.GetEncoding("windows-1251")
and my message reads ok.
There is a fork of S22.Imap which fixes the issue:
Install-Package S22.ImapWithUTF8