Why does Pop3Client hang at connection?

Hi,

We are using Aspose.Network version 6.3.0.0

Here is our code:

Pop3Client pop3Client = new Pop3Client(“pop.gmail.com”, 995, “username”, “password”);

try
{
    pop3Client.Connect(true);
}
catch (Exception ex)
{
    pop3Client.Disconnect();
    pop3Client.Dispose();
    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.

We 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?

Thanks,

Michelle

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 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.