Syntax error in BODYSTRUCTURE #485
The following exception occurs when listing a folder:
The IMAP protocol logging:
The original mail contains the following headers (which are of course odd):
Is there are a solution possible for this within MailKit?
Yes, but I found one that maybe a little different. The exception is:
The (scrubbed) protocol logging shows:
Could you try the following patch and see if this works for you?
Hi, I am currently testing with the latest code, including this fix, and I notice that folder listings that went OK before the fix are now failing with syntax error exceptions.
This may have to do with empty string subjects?
Protocol log 1:
Protocol log 2:
Based on my inability to reproduce the issue in the unit tests, I think it's gotta be a read boundary issue and that commit should fix things for you, but confirmation would be great to have.
If you can confirm for me, I'll push a new emergency release tonight after work.