{"action":"created","issue":{"url":"https://api.github.com/repos/jstedfast/MailKit/issues/174","labels_url":"https://api.github.com/repos/jstedfast/MailKit/issues/174/labels{/name}","comments_url":"https://api.github.com/repos/jstedfast/MailKit/issues/174/comments","events_url":"https://api.github.com/repos/jstedfast/MailKit/issues/174/events","html_url":"https://github.com/jstedfast/MailKit/issues/174","id":67158560,"number":174,"title":"The POP3 server has unexpectedly disconnected","user":{"login":"mrjozo","id":9369304,"avatar_url":"https://avatars.githubusercontent.com/u/9369304?v=3","gravatar_id":"","url":"https://api.github.com/users/mrjozo","html_url":"https://github.com/mrjozo","followers_url":"https://api.github.com/users/mrjozo/followers","following_url":"https://api.github.com/users/mrjozo/following{/other_user}","gists_url":"https://api.github.com/users/mrjozo/gists{/gist_id}","starred_url":"https://api.github.com/users/mrjozo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrjozo/subscriptions","organizations_url":"https://api.github.com/users/mrjozo/orgs","repos_url":"https://api.github.com/users/mrjozo/repos","events_url":"https://api.github.com/users/mrjozo/events{/privacy}","received_events_url":"https://api.github.com/users/mrjozo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-04-08T15:40:31Z","updated_at":"2015-04-08T18:22:54Z","closed_at":null,"body":"Hi,\r\n\r\ntried new version from github with fixed \\r\\n and got next problem:\r\n\r\n    The POP3 server has unexpectedly disconnected.\r\n\r\n     at MailKit.Net.Pop3.Pop3Stream.ReadAhead(CancellationToken cancellationToken)\r\n\r\n\r\n```     \r\n            \r\nclient.Connect(ConfigStorage.Instance.ProjectData.GetElementValueAsString(\"emailServer\"),\r\n                    int.Parse(ConfigStorage.Instance.ProjectData.GetElementValueAsString(\"emailPort\")),\r\n                    Convert.ToBoolean(ConfigStorage.Instance.ProjectData.GetElementValueAsString(\"emailUseSSL\")),\r\n                    ConfigStorage.Instance.CTS.Token);\r\n              client.Authenticate(ConfigStorage.Instance.ProjectData.GetElementValueAsString(\"emailUser\"),\r\n                    ConfigStorage.Instance.ProjectData.GetElementValueAsString(\"emailPassword\"),\r\n                    ConfigStorage.Instance.CTS.Token);\r\n\r\n              var saChunk = new List<int>();\r\n\r\n              for (var j = 0; j < 10; j++)\r\n              {\r\n                 saChunk.Add(j);\r\n              }\r\n              var b = client.GetMessages(saChunk);\r\n```\r\n\r\nLog\r\n```\r\nConnected to pop://poczta.o2.pl:110/?starttls=when-available\r\nS: +OK POP3 ready\r\nC: CAPA\r\nS: +OK Capability list follows\r\nS: LAST\r\nS: TOP\r\nS: USER\r\nS: PIPELINING\r\nS: UIDL\r\nS: SASL LOGIN PLAIN\r\nS: STLS\r\nS: .\r\nC: STLS\r\nS: +OK\r\nC: CAPA\r\nS: +OK Capability list follows\r\nS: LAST\r\nS: TOP\r\nS: USER\r\nS: PIPELINING\r\nS: UIDL\r\nS: SASL LOGIN PLAIN\r\nS: .\r\nC: AUTH PLAIN\r\nS: + \r\nC: AGdhY2VrLndlbG9uZQB6eGN6eGMxMg==\r\nS: +OK\r\nC: CAPA\r\nS: -ERR\r\nC: STAT\r\nS: +OK 12338 2153983759\r\nC: RETR 2\r\nC: RETR 3\r\nC: RETR 4\r\nC: RETR 5\r\nC: RETR 6\r\nC: RETR 7\r\nC: RETR 8\r\nC: RETR 9\r\nC: RETR 10\r\nC: RETR 11\r\nS: +OK\r\nS: Received: by o2.pl (o2.pl mailsystem) with LMTP;\r\nS: \tThu, 12 Jun 2014 19:46:03 +0200\r\nmore lines with S\r\nS: /></body>\r\nS: </html>\r\nS: \r\nS: \r\nS: \r\nS: --b1_412ecde77cc960066f69e099e0527507--\r\nS: \r\nS: \r\nS: .\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/jstedfast/MailKit/issues/comments/90994926","html_url":"https://github.com/jstedfast/MailKit/issues/174#issuecomment-90994926","issue_url":"https://api.github.com/repos/jstedfast/MailKit/issues/174","id":90994926,"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-04-08T18:22:54Z","updated_at":"2015-04-08T18:22:54Z","body":"Did you cut out any \"S: +OK\"'s? That's what I was asking."}}