Archived Forum Post

Index of archived forum posts

Question:

Can't select or close mailbox

Mar 19 '14 at 09:00

Hello,

I have an error when I call SelectMailBox or CloseMailBox methods. I try to select or close root folder. (Updated: it happens, after I set true in AbortCheckEventArgs.Abort property. When AbortCheckEvent fired, the method "Email email = _imap.FetchSingle(uid, true)" had already been called. Does AbortCheckEvent handler close Imap connection?)

In this cases I have logs like these:

ChilkatLog:

SelectMailbox:
DllDate: Aug 15 2013
ChilkatVersion: 9.4.1.42
UnlockPrefix: ****
Username: KULIGIN:Kuligin
Architecture: Little Endian; 32-bit
Language: .NET 4.0
VerboseLogging: 0
mailbox: LinkedIn
selectMailboxInner:
mailboxPath: LinkedIn
separatorChar: .
Escaping quotes and backslashes in mailbox name...
utf7EncodedMailboxPath: LinkedIn
Failed to find OK line in response.
Failed to select/examine mailbox
mailbox: LinkedIn
imapSelectResponse: aacm BAD invalid command
Failed.

ChilkatLog: CloseMailbox: DllDate: Aug 15 2013 ChilkatVersion: 9.4.1.42 UnlockPrefix: ***** Username: KULIGIN:Kuligin Architecture: Little Endian; 32-bit Language: .NET 4.0 VerboseLogging: 0 closeMailbox: mailbox: INBOX Failed to find OK line in response. imapCloseResponse: aacn BAD invalid command Failed. --closeMailbox --CloseMailbox --ChilkatLog

Only Imap instance recreating helps in these cases.

How can I recognize these situations?


Answer

Please test using this latest build:

32-bit: http://www.chilkatsoft.com/preRelease/ChilkatDotNet4-9.5.0-win32.zip

64-bit: http://www.chilkatsoft.com/preRelease/ChilkatDotNet4-9.5.0-x64.zip

(This version will be officially released in the coming week.)