We are not able to connect to Gmail and read emails. We are getting the below error
com.aspose.email.ImapException: AE_5784_1_0004 BAD Unknown command je2mb121368222wmb
at com.aspose.email.atl.f(SourceFile:185) ~[aspose-email-17.8.jar:17.8]
at com.aspose.email.aag.b(SourceFile:259) ~[aspose-email-17.8.jar:17.8]
at com.aspose.email.cq.a(SourceFile:326) ~[aspose-email-17.8.jar:17.8]
at com.aspose.email.ayb.a(SourceFile:193) ~[aspose-email-17.8.jar:17.8]
at com.aspose.email.internal.af.g.a(Unknown Source) ~[aspose-email-17.8.jar:17.8]
at com.aspose.email.internal.af.h.run(Unknown Source) ~[aspose-email-17.8.jar:17.8]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_191]
Can you help us ? We are using aspose email java(17.8)
I’m sorry for late reply.
Gmail supports up to 15 simultaneous connections by IMAP. A Gmail connection error stating, “Too many simultaneous connections”.
We’ve made a lot of changes to the IMAP API. Could you please check the issue with the latest version of the Aspose.Email?
The error message indicates that the IMAP server received a command from the client that it doesn’t recognize or support. It’s difficult to determine the cause of this because you’re using a quite old version of Aspose.Email that we can’t seem to debug.