S22.Imap icon indicating copy to clipboard operation
S22.Imap copied to clipboard

Update ImapClient.cs

Open pocky6 opened this issue 10 years ago • 1 comments

I'm French (so, sorry for my english). I have mailboxes using accents (eg: "Santé"). MailHeaders can be retrieved from this MailBox but moving emails to it fail. I suggest to encode the name the same way it's done in fetching headers. It's my first proposal in GitHub so I don't know if you see it, I suggest to modify in: public void CopyMessages(IEnumerable uids, string destination, string mailbox = null) { The retrieval: string response = SendCommandGetResponse(tag + "UID COPY " + set + " " + Util.UTF7Encode(destination).QuoteString()); Looks like it works for me.

pocky6 avatar Sep 18 '15 01:09 pocky6

This looks like a duplicate of PR #113 and issue #112

jstedfast avatar Sep 20 '15 16:09 jstedfast