andyedinborough / aenetmail

C# POP/IMAP Mail Client
370 stars 153 forks source link

SelectMailbox failes for mailbox names containing non-English symbols #140

Closed nbulba closed 10 years ago

nbulba commented 11 years ago

The problem is with localized gmail accounts where mailboxes look like '[Gmail]/XXX' where XXX is localized name.

For instance, with Russian SelectMailbox('[Gmail]/Вся почта') ends in Unhandled Exception: System.Exception: NO [NONEXISTENT] Unknown Mailbox: [Gmail]/&BBIEQQRP- (Failure) at AE.Net.Mail.ImapClient.CheckResultOK(String response) in d:\Repos\aenetmail\ImapClient.cs:line 772 at AE.Net.Mail.ImapClient.SelectMailbox(String mailboxName) in d:\Repos\aenetmail\ImapClient.cs:line 701

andyedinborough commented 10 years ago

I believe this was resolved by #143.