Quantcast
Channel: ImapX 2
Viewing all articles
Browse latest Browse all 1952

New Post: Imap search query with non ascii characters (gmail)

$
0
0
Good day, thesquig!

i updated the code in the repository, it contains the changes needed to allow unicode search queries.

The query Looks this way:
var subject = "Bärtz";
ImapX.MessageCollection messages = _client.Folders["INBOX"].Search("CHARSET UTF-8 SUBJECT {" + Encoding.UTF8.GetByteCount(subject) + "}\r\n" + subject, true);
If you have more questions, feel free to ask. I want to remind you that the code in the repository is pre-release, so might be unstable.

Best regards,

Pavel Azanov

Viewing all articles
Browse latest Browse all 1952


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>