smiley22 / S22.Imap

A free, easy-to-use and well-documented .NET library component for communicating with IMAP servers
http://smiley22.github.com/S22.Imap/Documentation/
MIT License
211 stars 115 forks source link

Mail encoding with umlauts #79

Open deltamaxx opened 10 years ago

deltamaxx commented 10 years ago

There seems to be an issue with body encoding recognition:

I sent a test email from Thunderbird with umlauts. In the retrieved mailmessage by imap client, the body is "T??????" instead of "TÜ?ü€ßü".

Here's the email source:

This is a multi-part message in MIME format. --------------060305060500040005070607 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 8bit

TÜ?ü€ßü

--------------060305060500040005070607 Content-Type: text/html; charset=ISO-8859-15 Content-Transfer-Encoding: 8bit

TÜ?ü€ßü
Dejieres commented 9 years ago

Hi, Same problem for me... Did someone find a solution or a workaround ?

BTW, thanks for this library, it's really nice.

jstedfast commented 9 years ago

If you switch to MimeKit and MailKit, you won't have this problem as it properly deals with character encodings and even allows you to override the charsets supplied in each MIME part without the need to re-parse the message.

I think you'll find that MimeKit and MailKit are extremely powerful and robust and both are 100% free and open source, just like S22.Imap.