Hi,
I don't know if it is a firewall issue, but I can't connect to imap gmail. Here is the code I am using:
The thread '<Thread Ended>' (0x2a70) has exited with code 0 (0x0)
Do you have some pointers regarding how can I resolve this issue?
Thanks in advance.
I don't know if it is a firewall issue, but I can't connect to imap gmail. Here is the code I am using:
ImapClient client = new ImapClient("imap.gmail.com",993,true,true);
client.IsDebug = true;
result = client.Connect();
if(result)
{
// Do something
}
The problem is in client.connect() as it always returns false. Here is the exception from the output console - A first chance exception of type 'System.Net.Sockets.SocketException' occurred in System.dllThe thread '<Thread Ended>' (0x2a70) has exited with code 0 (0x0)
Do you have some pointers regarding how can I resolve this issue?
Thanks in advance.