Attempt to connect to gmail always fails at home, but not at work

11:59:48 AM    — End of inner exception stack trace —
11:59:48 AM    at MailClient.Protocols.Imap.ConnectionPoolEntry.Reconnect(CancellationToken cancellationToken)
11:59:48 AM    at MailClient.Protocols.Imap.ConnectionPoolEntry.Connect(CancellationToken cancellationToken)
11:59:48 AM    at MailClient.Protocols.Imap.ConnectionPool.AcquireConnection(Folder mailFolder, Boolean idle, Boolean forStore)
11:59:48 AM    at MailClient.Protocols.Imap.ConnectionContext…ctor(ImapAccount account)
11:59:48 AM    at MailClient.Protocols.Imap.Synchronizer.SynchronizeFoldersCommand.ExecuteInternal(WorkerStatus status)
11:59:48 AM    at MailClient.Protocols.Imap.Synchronizer.ImapCommand.Execute(WorkerStatus status)
11:59:48 AM    at MailClient.Commands.Command.Process(WorkerStatus status)
11:59:48 AM 2018PFR@gmail.com [IMAP]  MailClient.Accounts.ConnectionException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. —> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. —> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
11:59:48 AM    at System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
11:59:48 AM    at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
11:59:48 AM    — End of inner exception stack trace —
11:59:48 AM    at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
11:59:48 AM    at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
11:59:48 AM    at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
11:59:48 AM    at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
11:59:48 AM    at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
11:59:48 AM    at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest)
11:59:48 AM    at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
11:59:48 AM    at System.Net.Security.SslStream.AuthenticateAsClient(String targetHost, X509CertificateCollection clientCertificates, SslProtocols enabledSslProtocols, Boolean checkCertificateRevocation)
11:59:48 AM    at MailClient.Imap.Base.Connection.<>c__DisplayClass43_0.b__0()
11:59:48 AM at MailClient.Imap.Base.Connection.Connect(Func`1 getStream)
11:59:48 AM at MailClient.Imap.Base.Connection.Connect(String receiveHost, Int32 receivePort, Boolean explicitSsl)
11:59:48 AM at MailClient.Protocols.Imap.ConnectionPoolEntry.Reconnect(CancellationToken cancellationToken)
11:59:48 AM — End of inner exception stack trace —
11:59:48 AM at MailClient.Protocols.Imap.ConnectionPoolEntry.Reconnect(CancellationToken cancellationToken)
11:59:48 AM at MailClient.Protocols.Imap.ConnectionPoolEntry.Connect(CancellationToken cancellationToken)
11:59:48 AM at MailClient.Protocols.Imap.ConnectionPool.AcquireConnection(Folder mailFolder, Boolean idle, Boolean forStore)
11:59:48 AM at MailClient.Protocols.Imap.ConnectionContext…ctor(ImapAccount account)
11:59:48 AM at MailClient.Protocols.Imap.Synchronizer.SynchronizeFoldersCommand.ExecuteInternal(WorkerStatus status)
11:59:48 AM at MailClient.Protocols.Imap.Synchronizer.ImapCommand.Execute(WorkerStatus status)
11:59:48 AM at MailClient.Commands.Command.Process(WorkerStatus status)
12:00:27 PM kawalke7@gmail.com [IMAP] Synchronizing subfolders: For folder kawalke7@gmail.com/
12:00:27 PM kawalke7@gmail.com [Google Contacts] Synchronizing folder list
12:00:27 PM kawalke7@gmail.com [Google Calendar] Synchronizing folder list
12:00:27 PM 2018PFR@gmail.com [IMAP] Synchronizing subfolders: For folder 2018PFR@gmail.com/
12:00:27 PM 2018PFR@gmail.com [Google Contacts] Synchronizing folder list
12:00:27 PM 2018PFR@gmail.com [Google Calendar] Synchronizing folder list
12:00:27 PM kawalke7@gmail.com [Google Contacts] Synchronizing folder 'kawalke7@gmail.com/Contacts/'
12:00:27 PM 2018PFR@gmail.com [Google Contacts] Synchronizing folder ‘2018PFR@gmail.com/Contacts/’

I assume it is not the same computer at work and home?

No, it is the same laptop

From your log, it appears that eM Client is connecting with Google, but then the server is rejecting the IMAP connection.

I did not see any errors for Calendar or Contacts. Are they syncing OK?

Something must be different in the two locations. Are you using VPN at either?

No, just straight to the WiFi. I don’t really use the calendar or contacts through gmail.

Keith, I think this is an issue with your home router. Try changing the mac address of the router and see what happens.

Gary, I believe this is the problem. I connected to my WiFi Hotspot and the emails came through just fine. Unfortunately, I haven’t figured out how to change my MAC address and AT&T was less than helpful. At least now I have a work around.