MailKit.Net.Imap.ImapProtocolException: Syntax error in BODYSTRUCTURE. Unexpected token: ')'
m0hamdan opened this issue · 0 comments
m0hamdan commented
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 :(