Not able to connect to Gmail and Read Email

Hi Aspose Team,

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)

Hello @hruser ,

Your issue has been accepted for investigation. Could you check the issue with the latest version of Aspose.Email for Java.

Thanks.

Hi @sergey.vivsiuk,

Can you provide some information on what does the below message convey

AE_5784_1_0004 BAD Unknown command je2mb121368222wmb

And how many parallel IMAP connections can we open in a server for one gamil account ?

And if the connection we are trying to open in more than the maximum limit what kind of exception can we expect?

Hello @hruser,

Your issue has been taken for investigation. As soon as we have some information on the results, we’ll contact you.

We’re sorry to keep you wait. Thanks for your patience.

Hi @margarita.samodurova

Any update on the above issue.

Thanks,
Kiran.

Hello @hruser,

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?

Hi @sergey.vivsiuk

Can you please elaborate what does this exception mean

AE_5784_1_0004 BAD Unknown command je2mb121368222wmb

Thanks & Regards.

@hruser,

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.