Skip to content

Syntax error with folder named "NIL" #482

@breedbekkikker

Description

@breedbekkikker

Hi,

MailKit returns a syntax error when parsing a folder list that contains a folder named "NIL":

Syntax error in untagged LIST response. Unexpected token: NIL

The IMAP protocol log:

C: C00000005 LIST "" "%"
S: * LIST (\HasNoChildren) "/" Drafts
S: * LIST (\HasChildren) "/" INBOX
S: * LIST (\HasNoChildren) "/" NIL
S: * LIST (\HasNoChildren) "/" Sent
S: * LIST (\HasNoChildren) "/" Spam
S: * LIST (\HasNoChildren) "/" Trash
S: C00000005 OK LIST completed

AFAIK a folder named "NIL" is allowed according to RFC3501.

Thanks,

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions