Skip to content
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: '+' #195

Closed
quentez opened this issue May 18, 2015 · 5 comments
Closed

Unexpected token in IMAP response: '+' #195

quentez opened this issue May 18, 2015 · 5 comments
Labels
bug Something isn't working

Comments

@quentez
Copy link

quentez commented May 18, 2015

I'm getting this on a Gmail inbox, just after retrieving the Gmail labels.

Here's the last thing sent by the server (I had to remove sensitive data):

C: A00000006 UID FETCH 1:* (UID FLAGS ENVELOPE MODSEQ X-GM-LABELS) (CHANGEDSINCE 12785609)
S: * 258223 FETCH (X-GM-LABELS (...) UID 946602 MODSEQ (12786577) FLAGS () ENVELOPE ("Thu, 16 Apr 2015 17:15:42 +0700" "..." NIL "..." "...")) ((NIL NIL "..." "...")) ((NIL NIL "..." "...")) ((NIL NIL "..." "...")) NIL NIL NIL "..."))
S: * 258368 FETCH (X-GM-LABELS (...) UID 946857 MODSEQ (12786577) FLAGS () ENVELOPE ("Sat, 18 Apr 2015 10:25:29 +0700" "..." (("..." NIL "..." "...")) ((NIL NIL "..." "...")) ((NIL NIL "..." "...")) ((NIL NIL "..." "...")) NIL NIL "..." "..."))
S: * 259368 FETCH (X-GM-LABELS (...) UID 948634 MODSEQ (12786578) FLAGS () ENVELOPE ("Thu, 07 May 2015 17:51:52 +0000" "..." (("..." NIL "..." "...")) (("..." NIL "..." "...")) (("... NIL "..." "...")) ((NIL NIL "..." "...")) NIL NIL NIL "..."))
S: * 259456 FETCH (X-GM-LABELS (+IMNews) UID 948871 MODSEQ (12786579) FLAGS () ENVELOPE ("Fri, 08 May 2015 13:01:25 +0000" "..." (("..." NIL "..." "...")) ((NIL NIL "..." "...")) ((NIL NIL "..." "...")) ((NIL NIL "..." "...")) NIL NIL NIL "..."))
S: * 259934 FETCH (X-GM-LABELS ("\\Important" "\\Inbox") UID 949858 MODSEQ (12785688) FLAGS (\Answered \Seen) ENVELOPE ("Thu, 14 May 2015 00:06:05 +0000" "..." (("..." NIL "tech" "...")) (("..." NIL "..." "...")) (("..." NIL "..." "...")) ((

As you can see, one of the labels has a leading +.

@jstedfast
Copy link
Owner

Ugh, another invalid string token. You'd think Google engineers would be competent :-(

jstedfast added a commit that referenced this issue May 18, 2015
@jstedfast
Copy link
Owner

Actually, turns out that might be legal. Either way, it should be fixed in git master.

@jstedfast jstedfast added the bug Something isn't working label May 19, 2015
@quentez
Copy link
Author

quentez commented May 22, 2015

Thanks for the quick fix :) ! When do you expect this to make it to nuget?

@jstedfast
Copy link
Owner

Probably Sunday.

@quentez
Copy link
Author

quentez commented May 22, 2015

Awesome! Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants