Skip to content

Syntax error in BODYSTRUCTURE #485

@breedbekkikker

Description

@breedbekkikker

Hi,

The following exception occurs when listing a folder:

Syntax error in BODYSTRUCTURE. Unexpected token: [qstring: " NIL NIL NIL {5}
8bit"]

The IMAP protocol logging:

C: N00000020 FETCH 1:* (UID FLAGS INTERNALDATE RFC822.SIZE ENVELOPE BODYSTRUCTURE)
S: * 1 FETCH (UID 1 FLAGS () INTERNALDATE " 5-Apr-2017 14:38:25 +0200" RFC822.SIZE 947 ENVELOPE ("Wed, 5 Apr 2017 14:38:25 +0200" "test" ((NIL NIL "test" "acme.com")) ((NIL NIL "test"" "acme.com")) ((NIL NIL "test" "acme.com")) NIL NIL NIL NIL "<54B6100D01175D77@acme.com>") BODYSTRUCTURE ("TEXT" "HTML"" NIL NIL NIL {5}
S: 8bit" 74 2))
S: N00000020 OK FETCH complete

The original mail contains the following headers (which are of course odd):

Content-Type: text/html"
Content-Transfer-Encoding: 8bit"

Is there are a solution possible for this within MailKit?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    compatibilityCompatibility with existing softwareserver-bugThe bug appears to be in the server

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions