NETCore.MailKit
NETCore.MailKit copied to clipboard
.NET Core EmailKit extensions
During attachment processing, an stream is open to read the file content, but is not dispose or close, so the file is locks until GC finalize it

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...