NETCore.MailKit
NETCore.MailKit copied to clipboard
MailKit.Net.Imap.ImapProtocolException: Syntax error in BODYSTRUCTURE. Unexpected token: ')'
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 :(