Constantly getting an error "Connecting to 'email address' failed"

I have using em Client with my gmail account. It is constantly giving me the error:

Constantly getting an error “Connecting to ‘email address’ failed”

I am using the em Client behind a proxy sever which requires authentification, but haven’t found any place for proxy setting in em Client. the Version I am using is 6.0.21015.0. 

Please help!!!

Here is the log when the error occurs: 

10:30:20 AM 0000@gmail.com [IMAP]  Synchronizing subfolders: Done10:34:19 AM 0000@gmail.com [IMAP]  Downloading message part…
10:34:25 AM 00000@gmail.com [IMAP]  Downloading message part…: Done
10:34:25 AM 00000@gmail.com [IMAP]  Downloading message part…
10:34:26 AM 00000@gmail.com [IMAP]  Downloading message part…: Done
10:34:26 AM 00000@gmail.com [IMAP]  Downloading message part…
10:34:26 AM 00000@gmail.com [IMAP]  Downloading message part…: Done
10:34:29 AM 00000@gmail.com [IMAP]  Downloading message part…
10:34:30 AM 00000@gmail.com [IMAP]  Downloading message part…: Done
10:34:30 AM 00000@gmail.com [IMAP]  Downloading message part…
10:34:30 AM 00000@gmail.com [IMAP]  Downloading message part…: Done
10:35:19 AM 00000@gmail.com [IMAP]  Synchronizing subfolders: For folder 00000@gmail.com/
10:36:01 AM 00000@gmail.com [IMAP]  MailExceptions.ConnectionException: Failed opening connection to server. —> System.Net.Sockets.SocketException: A socket operation was attempted to an unreachable network [2a00:1450:400c:c09::6c]:993
10:36:01 AM    at System.Net.Sockets.TcpClient…ctor(String hostname, Int32 port)
10:36:01 AM    at MailClient.Imap.Base.Connection.<>c__DisplayClassa.b__9()
10:36:01 AM at MailClient.Imap.Base.Connection.Connect(Func1 getStream)<br>10:36:01 AM at MailClient.Imap.Base.Connection.Connect(String receiveHost, Int32 receivePort, Boolean explicitSsl)<br>10:36:01 AM at MailClient.Imap.ConnectionPoolEntry.Reconnect()<br>10:36:01 AM --- End of inner exception stack trace ---<br>10:36:01 AM at MailClient.Imap.ConnectionPoolEntry.Reconnect()<br>10:36:01 AM at MailClient.Imap.ConnectionPoolEntry.Connect()<br>10:36:01 AM at MailClient.Imap.ConnectionPool.AcquireConnection(Folder mailFolder, Boolean idle, Boolean forStore)<br>10:36:01 AM at MailClient.Imap.ConnectionContext..ctor(ImapAccount account)<br>10:36:01 AM at MailClient.Imap.Synchronizer.SynchronizeFoldersCommand.ExecuteInternal(WorkerStatus status)<br>10:36:01 AM at MailClient.Imap.Synchronizer.ImapCommand.Execute(WorkerStatus status)<br>10:36:01 AM at MailClient.Commands.Command.Process(WorkerStatus status)<br>10:39:07 AM <a href="mailto:00000@gmail.com" rel="nofollow">00000@gmail.com</a> [IMAP] Synchronizing subfolders: For folder <a href="mailto:00000@gmail.com" rel="nofollow">00000@gmail.com</a>/<br>10:39:07 AM <a href="mailto:00000@gmail.com" rel="nofollow">00000@gmail.com</a> [GData] Synchronizing folder list<br>10:39:08 AM <a href="mailto:00000@gmail.com" rel="nofollow">00000@gmail.com</a> [GData] Synchronizing folder list<br>10:39:10 AM <a href="mailto:00000@gmail.com" rel="nofollow">00000@gmail.com</a> [GData] Synchronizing folder list<br>10:39:11 AM <a href="mailto:00000@gmail.com" rel="nofollow">00000@gmail.com</a> [GData] Synchronizing folder '<a href="mailto:00000@gmail.com" rel="nofollow">00000@gmail.com</a>/Contacts/'<br>10:39:11 AM <a href="mailto:00000@gmail.com" rel="nofollow">00000@gmail.com</a> [GData] Synchronizing folder '<a href="mailto:00000@gmail.com" rel="nofollow">00000@gmail.com</a>/Lijun Zhang/'<br>10:39:49 AM <a href="mailto:00000@gmail.com" rel="nofollow">00000@gmail.com</a> [IMAP] MailExceptions.ConnectionException: Failed opening connection to server. ---&gt; System.Net.Sockets.SocketException: A socket operation was attempted to an unreachable network [2a00:1450:400c:c04::6c]:993<br>10:39:49 AM at System.Net.Sockets.TcpClient..ctor(String hostname, Int32 port)<br>10:39:49 AM at MailClient.Imap.Base.Connection.&lt;&gt;c__DisplayClassa.<connect>b__9()<br>10:39:49 AM at MailClient.Imap.Base.Connection.Connect(Func1 getStream)
10:39:49 AM at MailClient.Imap.Base.Connection.Connect(String receiveHost, Int32 receivePort, Boolean explicitSsl)
10:39:49 AM at MailClient.Imap.ConnectionPoolEntry.Reconnect()
10:39:49 AM — End of inner exception stack trace —
10:39:49 AM at MailClient.Imap.ConnectionPoolEntry.Reconnect()
10:39:49 AM at MailClient.Imap.ConnectionPoolEntry.Connect()
10:39:49 AM at MailClient.Imap.ConnectionPool.AcquireConnection(Folder mailFolder, Boolean idle, Boolean forStore)
10:39:49 AM at MailClient.Imap.ConnectionContext…ctor(ImapAccount account)
10:39:49 AM at MailClient.Imap.Synchronizer.SynchronizeFoldersCommand.ExecuteInternal(WorkerStatus status)
10:39:49 AM at MailClient.Imap.Synchronizer.ImapCommand.Execute(WorkerStatus status)
10:39:49 AM at MailClient.Commands.Command.Process(WorkerStatus status)

Thank you!

Hi Lijun, eM Client unfortunately does not support proxy authentication, unless you’re using windows credentials for authentication you won’t be able to use the application with your proxy setup.

Thank you,
Paul.

Thanks for this. I am using windows credentials. But still get this error message. Any solution?

Regards,

If you’re using windows credentials for authentication, please send me an email to mcgregor@emclient.com with a reference link to this forum topic.
I can send you a configuration file that will allow you to use the windows authentication.

Thank you,
Paul.