We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Why does Pop3Client hang at connection?

Hi,<?xml:namespace prefix = o ns = “urn:schemas-microsoft-com:office:office” />

We are using Aspose.Network version

Here is our code:

Pop3Client pop3Client = new Pop3Client(“[pop.gmail.com](http://pop.gmail.com/)”, 995, “username”, “password”);





catch (Exception ex)




throw new Exception(message, ex);


We have a task that calling the above code
periodically. Most of the time it goes well, but we found sometimes the above
code hangs at the statement of Pop3Client.Connect(true**).** No errors and apparently no time-out
either. We have to kill the process to let the code get out of stuck.<o:p></o:p>

could not reproduce this problem. We only know it happened. Could you explain to us what can be the cause of code freezing at connect?



Hi Michelle,

We are sorry for the inconvenience you are facing.

I would like to share with you that Aspose.Network has now evolved into Aspose.Email (please refer to the Migration Guide in this regard) and would request you to please download and use the latest version Aspose.Email for .NET 2.2.0. Please let us know your feedback if you hit the same situation ever again with this latest version. We will investigate it and assist you further as soon as possible.