Skip to content

MailKit.Net.Imap.ImapProtocolException: Syntax error in BODYSTRUCTURE. Unexpected token: ')' #30

Description

@m0hamdan

Sometimes querying for emails fails and upon troubleshooting (reading emails one at a time) I found the culprit email and the error is "

MailKit.Net.Imap.ImapProtocolException: Syntax error in BODYSTRUCTURE. Unexpected token: ')

Invoking folder.GetMessageAsync works fine but not folder.FetchAsync

I end up deleting this email for the query to work, I couldn't figure out what's wrong here so I'm not able to replicate :(

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions