{"action":"created","issue":{"url":"https://api.github.com/repos/jstedfast/MailKit/issues/251","labels_url":"https://api.github.com/repos/jstedfast/MailKit/issues/251/labels{/name}","comments_url":"https://api.github.com/repos/jstedfast/MailKit/issues/251/comments","events_url":"https://api.github.com/repos/jstedfast/MailKit/issues/251/events","html_url":"https://github.com/jstedfast/MailKit/issues/251","id":111890660,"number":251,"title":"Get this error when I append the message to the sent folder using imap client","user":{"login":"karthik67","id":10123778,"avatar_url":"https://avatars.githubusercontent.com/u/10123778?v=3","gravatar_id":"","url":"https://api.github.com/users/karthik67","html_url":"https://github.com/karthik67","followers_url":"https://api.github.com/users/karthik67/followers","following_url":"https://api.github.com/users/karthik67/following{/other_user}","gists_url":"https://api.github.com/users/karthik67/gists{/gist_id}","starred_url":"https://api.github.com/users/karthik67/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karthik67/subscriptions","organizations_url":"https://api.github.com/users/karthik67/orgs","repos_url":"https://api.github.com/users/karthik67/repos","events_url":"https://api.github.com/users/karthik67/events{/privacy}","received_events_url":"https://api.github.com/users/karthik67/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jstedfast/MailKit/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2015-10-16T18:54:09Z","updated_at":"2015-10-19T11:45:03Z","closed_at":"2015-10-16T22:02:00Z","body":"Hi, I get the below error when I append the message to the sent folder. the same code has worked before. But for some reason, it stopped working. \r\nError is below:\r\nThe IMAP server replied to the 'APPEND' command with a 'BAD' response: Additional arguments found after last expected argument\r\n\r\nMy code is below:\r\n\r\n```csharp\r\nusing (var imapClient = new ImapClient(new NullProtocolLogger()))\r\n{\r\n    var imapSecurity = emailConfiguration.IMAPSecurityConfiguration;\r\n    var imapSecurityEnum = imapSecurity.Trim().ToLower().Contains(\"ssl\")\r\n        ? SecureSocketOptions.SslOnConnect\r\n        : SecureSocketOptions.StartTls;\r\n\r\n    imapClient.Connect(emailConfiguration.IMAPServer, emailConfiguration.IMAPPort,\r\n        imapSecurityEnum);\r\n    imapClient.AuthenticationMechanisms.Remove(\"XOAUTH2\");\r\n    imapClient.Authenticate(emailConfiguration.UserName,\r\n        emailConfiguration.Password);\r\n    \r\n    var personalFolders = imapClient.GetFolders(imapClient.PersonalNamespaces[0]);\r\n    \r\n    var sentFolder = personalFolders.FirstOrDefault(r => r.Name.ToLower().Contains(\"sent\"));\r\n    if (sentFolder != null)\r\n    {\r\n        sentFolder.Open(FolderAccess.ReadWrite);\r\n        sentFolder.Append(message);\r\n        sentFolder.Close();\r\n    }\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/jstedfast/MailKit/issues/comments/149191639","html_url":"https://github.com/jstedfast/MailKit/issues/251#issuecomment-149191639","issue_url":"https://api.github.com/repos/jstedfast/MailKit/issues/251","id":149191639,"user":{"login":"jstedfast","id":338984,"avatar_url":"https://avatars.githubusercontent.com/u/338984?v=3","gravatar_id":"","url":"https://api.github.com/users/jstedfast","html_url":"https://github.com/jstedfast","followers_url":"https://api.github.com/users/jstedfast/followers","following_url":"https://api.github.com/users/jstedfast/following{/other_user}","gists_url":"https://api.github.com/users/jstedfast/gists{/gist_id}","starred_url":"https://api.github.com/users/jstedfast/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jstedfast/subscriptions","organizations_url":"https://api.github.com/users/jstedfast/orgs","repos_url":"https://api.github.com/users/jstedfast/repos","events_url":"https://api.github.com/users/jstedfast/events{/privacy}","received_events_url":"https://api.github.com/users/jstedfast/received_events","type":"User","site_admin":false},"created_at":"2015-10-19T11:45:03Z","updated_at":"2015-10-19T11:45:03Z","body":"I've released MimeKit 1.2.14 to NuGet with the fix for this bug.\r\n\r\nI've also released MailKit 1.2.13 to NuGet."}}