NETCore.MailKit icon indicating copy to clipboard operation
NETCore.MailKit copied to clipboard

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

Open m0hamdan opened this issue 1 year ago • 0 comments

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 :(

m0hamdan avatar Apr 30 '24 07:04 m0hamdan