-
-
Notifications
You must be signed in to change notification settings - Fork 828
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unexpected token in IMAP response: '[' #115
Comments
In the ImapClient .ctor, you can pass a ProtocolLogger to log the protocol traffic to a stream (or to a text file). Could you do that and paste the "MOVE" command client & server chatter? |
I was moving an e-mail from the Inbox to a subfolder under the Inbox called 'Invalid', here is the log S: A00000010 OK FETCH completed. |
Ugh... Microsoft, read the specifications >_< The problem is the An example (from the specification) of what that should look like:
Basically, the |
The above commit should fix this issue, but I don't have an Office365 account to test against. If you could let me know if that fixes it, that would be helpful. Thanks! |
Microsoft? Standards? Come on, get real. :-) Thanks for the quick fix. I will let you know when I have had a chance to test it. Will this change make it into the nuget package anytime soon or do I need to download the version for github? |
No problem. I was hoping to have the fix confirmed before making a release to NuGet to avoid having to make another release if my fix doesn't work. |
I've uploaded 1.0.1 to NuGet. I'm fairly sure my commit will fix this. |
I've tested it and it works fine. Thanks for the excellent code and the quick turnaround. |
Update: I got a similar Problem with outlook.com IMAP Account:
Getting Exception: |
…the header field names Fixes issue #115
Unexpected COPYUID in IMAP response using folder.MoveTo() I've also got a similar problem. I'am using MailKit 1.16.0.0. In result: ImapProtocolException: 'Syntax error in response. Unexpected token: [atom: COPYUID]'. |
Hi @gluszczek The problem is that the COPYUID response code needs to appear in the OK response line like it does in gmail. It looks like home.pl has a bug in its implementation. |
Thanks for your reply. Is there any walk around this bug? |
I think the work-around that I just committed should work. |
I just tested it and your commit fixed this issue. Thanks! |
you're welcome! |
Hi there
I'm using Mailkit (from nuget) with an Office365 account and when I try to use the MoveTo method I get the error above. The mail item does get moved successfully.
I'm getting around this at the moment with the copy/delete option.
Excellent code by the way, saved me a whole heap of bother. :-)
The text was updated successfully, but these errors were encountered: