IMAP email channel adapter throw exception “A5 BAD invalid command or parameters;”
问题 I am using imap-idle-channel-adapter to receive emails in spring integration: A5 SEARCH NOT (ANSWERED) NOT (DELETED) NOT (SEEN) NOT (FLAGGED) ALL A5 BAD invalid command or parameters seems the imap server regard above commands as invalid, anyone can tell me how to fix ? My debug messages: DEBUG: successfully loaded resource: /META-INF/javamail.default.address.map DEBUG: getProvider() returning javax.mail.Provider[STORE,imaps,com.sun.mail.imap.IMAPSSLStore,Oracle] DEBUG IMAPS: mail.imap