1
Vote

ImapCommand.Fetch(ImapMailbox Mailbox) exception

description

Getting following exception whenever trying to get the messages from server:

System.Threading.ThreadAbortException: Thread was being aborted.
at System.Net.UnsafeNclNativeMethods.OSSOCK.recv(IntPtr socketHandle, Byte* pinnedBuffer, Int32 len, SocketFlags socketFlags)
at System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags, SocketError& errorCode)
at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
at System.IO.StreamReader.ReadBuffer()
at System.IO.StreamReader.ReadLine()
at Koolwired.Imap.ImapConnect.Read()
at Koolwired.Imap.ImapCommand.ParseMessages(ImapMailbox& Mailbox)
at Koolwired.Imap.ImapCommand.Fetch(ImapMailbox Mailbox)

comments