From 6ffa5e761bf11b34178a500e50f6cc09deeab9e3 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Sat, 11 Apr 2015 16:46:57 -0400 Subject: [PATCH] Properly encode the destination mailbox name in CopyMessages() Fixes issue #112 --- ImapClient.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ImapClient.cs b/ImapClient.cs index f92baf4..96baaa7 100644 --- a/ImapClient.cs +++ b/ImapClient.cs @@ -1628,7 +1628,7 @@ public void CopyMessages(IEnumerable uids, string destination, string mail SelectMailbox(mailbox); string tag = GetTag(); string response = SendCommandGetResponse(tag + "UID COPY " + set + " " + - destination.QuoteString()); + Util.UTF7Encode(destination).QuoteString()); while (response.StartsWith("*")) response = GetResponse(); ResumeIdling();