Imap connectivity issue with Aspose.Email v22.2

Dear Team,

I am trying to login Gmail using Aspose.Email ImapClient method in my dot net Application. I found bug in the latest version 22.2 that it is throwing connectivity exception. All previous versions are working fine. Kindly check at your end.

XCoder

@perfectdata.techno

Could you please implement the ImapClient activity log and share the log file here for our reference? We will then provide you more information on it. Please read about ImapClient activity logging.
ImapClient Activity Logging

Dear Team,

Sharing the ImapClient activity log.

Aspose.Email.IMAP_2022-3-12.log.7z (645 Bytes)

XCoder

@perfectdata.techno

We have logged this problem in our issue tracking system as EMAILNET-40554. You will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.

@perfectdata.techno

Unfortunately, we did not get the root cause of issue from the log file. Please create a standalone console application (source code without compilation errors) that helps us to reproduce your problem on our end and attach it here for testing. Thanks for your cooperation.

I have created standalone console application only. I will suggest you to try any Gmail account of yours. In new updated its giving exception.

XCoder

@perfectdata.techno

Unfortunately, we have not found the code example with your post. Please attach it for testing.

Plz find below code which i have used :

ImapClient client = new ImapClient(“imap.gmail.com”, 993, “”, “”); //Use your credentials of Gmail

        // Set security mode
        client.SecurityOptions = SecurityOptions.Auto;

        try
        {
            // Get the message info collection
            ImapMessageInfoCollection list = client.ListMessages();

            // Download each message
            //for (int i = 0; i < list.Count; i++)
            //{
            //    // Save the EML file locally
            //    client.SaveMessage(list[i].UniqueId, dataDir + list[i].UniqueId + ".eml");
            //}
        }
        catch (Exception ex)
        {
            Console.WriteLine(ex.Message);
        }         

XCoder

@perfectdata.techno

Thanks for sharing the detail. We have logged this problem in our issue tracking system as EMAILNET-40563. You will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.