Fix encoding choosing for body content.Set charset for alternative views...#86
Fix encoding choosing for body content.Set charset for alternative views...#86AlexSte wants to merge 1 commit intosmiley22:masterfrom
Conversation
|
Thanks for this, I have tested your fix with several cCents in different Usecases, and i found a missing Part: Your Solution doesn't work for "FetchOptions.Normal" cause of IMapClient.GetMessageData has a internal GetData call without passing the correct encoding! I tryed to fix this in the GetMessageData, but i'm not able to split the Response into different Bodyparts with different encoding for each one. So i made a different Workaround, changing FetchOptions.Normal to use "GetMessage". I hope this Feature/Fix will be added soon to NuGet cause its realy important for UTF8 Mails, and maybe with proper Solution for my Problem: Here my Patch (no pull request cause of only one line changed) |
|
As an alternative, you guys might consider using MailKit instead as it properly deals with charsets. |
2 changes -