IMAP - unable to connect

Since about a week eM Client is unable to receive Emails from all my IMAP accounts (POP3 works fine). The diagnostic functions is unable to repair this issue. I am using Windows 10 and the Version of eM Client 8.2.1721.0 (in the process upgraded to 9). The diagnostic log is attached below.

I already tried:

  1. Restart of programm
  2. Restart Windows
  3. Restart Router
  4. Different Routers/Internetconnections
  5. Disabling Virusscan and Firewall
  6. Verify passwords
  7. upgrade to eM Client 9.1.2109

Any ideas what the diagnostic-log shows?

THX in advance

11:16:15.566|006| eM Client 9.1.2109+9967b9369e (Windows)
11:16:15.567|007| Account’s UID is deleted
11:16:15.568|007| AccountBase.ChangeOnlineState : State changed to ONLINE due User
11:16:15.569|007| >>> ListFoldersAsync(): Start
11:16:15.569|007| Folder /Posteingang [Inbox] is now watched
11:16:15.570|007| 01: Connecting to imap.gmx.net:143…
11:16:15.575|007| >>> FolderActivated(folder: /Posteingang [Inbox]):
11:16:15.575|007| >>> GetItemStream(folder: /Posteingang [Inbox], item: 33692, partName: 2, header: False): Start
11:16:15.623|007| 01: * OK [CAPABILITY IMAP4rev1 CHILDREN ENABLE ID IDLE LIST-EXTENDED LIST-STATUS LITERAL- MOVE NAMESPACE SASL-IR SORT SPECIAL-USE THREAD=ORDEREDSUBJECT UIDPLUS UNSELECT WITHIN STARTTLS LOGINDISABLED] IMAP server ready H migmx101 22.3 IMAP-deleted
11:16:15.624|007| 01: A1 STARTTLS
11:16:15.648|007| 01: A1 OK Begin TLS negotiation now
11:16:15.649|007| 01: Starting TLS stream to imap.gmx.net …
11:16:15.683|007| 01: A2 LOGOUT
11:16:15.993|007| 01: — CMD LOGOUT WAS CANCELLED
11:16:15.993|007| 01: — RECEIVE CANCELLED
11:16:15.994|007| 01: Connection 1 was closed, deliberate = False
11:16:15.996|007| >>> COMMAND EXCEPTION: System.OperationCanceledException: Failed to establish TLS stream
11:16:15.996|007| —> System.InvalidOperationException: This operation is only allowed using a successfully authenticated context.
11:16:15.997|007| at System.Net.Security.SslStream.ThrowNotAuthenticated()
11:16:15.997|007| at System.Net.Security.SslStream.get_SslProtocol()
11:16:15.998|007| at MailClient.Imap.Base.Connection.<>c__DisplayClass112_0.<b__2>d.MoveNext()
11:16:15.998|007| — End of stack trace from previous location —
11:16:15.998|007| at MailClient.Imap.Base.TransportPipe.<>c__DisplayClass34_0.<b__0>d.MoveNext()
11:16:15.999|007| — End of stack trace from previous location —
11:16:15.999|007| at MailClient.Imap.Base.TransportPipe.UpgradeStreamAsync(Func2 callback) 11:16:15.999|007| at MailClient.Imap.Base.Connection.StartTlsAsync(String targetHost, RemoteCertificateValidationCallback validationCallback) 11:16:15.999|007| --- End of inner exception stack trace --- 11:16:16.000|007| at MailClient.Imap.Base.Connection.StartTlsAsync(String targetHost, RemoteCertificateValidationCallback validationCallback) 11:16:16.000|007| at MailClient.Protocols.Imap.ConnectionPoolEntry.ConnectInternalAsync(CancellationToken cancellationToken) 11:16:16.000|007| at MailClient.Protocols.Imap.ConnectionPoolEntry.ConnectInternalAsync(CancellationToken cancellationToken) 11:16:16.001|007| at MailClient.Protocols.Imap.ConnectionPool.AcquireConnectionAsync(Folder mailFolder, Boolean noSelect) 11:16:16.001|007| at MailClient.Protocols.Imap.ConnectionContext.CreateContextAsync(ImapAccount account) 11:16:16.001|007| at MailClient.Protocols.Imap.ImapFolderSynchronizer.ListFoldersAsync(IListFoldersProgress progress, Folder homeFolder, CancellationToken cancellationToken) 11:16:16.001|007| at MailClient.Protocols.Imap.ImapFolderSynchronizer.GetFolderList(IListFoldersProgress progress, Folder homeFolder, CancellationToken cancellationToken) 11:16:16.002|007| at MailClient.Protocols.Common.FolderSynchronizer.<>c__DisplayClass16_0.<EnqueueGetFolderList>b__0(WorkerStatus status, CancellationToken cancellationToken) 11:16:16.002|007| at MailClient.Protocols.Imap.ImapActionCommand.<>c__DisplayClass11_0.<.ctor>b__0(WorkerStatus ws, CancellationToken ct) 11:16:16.021|007| at MailClient.Protocols.Imap.ImapActionCommand.ExecuteInternalSync(WorkerStatus status) 11:16:16.021|007| at MailClient.Protocols.Imap.ImapActionCommand.Execute(WorkerStatus status) 11:16:16.021|007| COMMAND STACK TRACE: 11:16:16.021|007| at MailClient.Protocols.Common.FolderSynchronizer.EnqueueGetFolderList(Folder homeFolder, Action1 completed, Boolean prioritize)
11:16:16.021|007| at MailClient.Protocols.Common.FolderSynchronizer.GoOnlinePre()
11:16:16.022|007| at MailClient.Protocols.Imap.ImapFolderSynchronizer.GoOnlinePre()
11:16:16.022|007| at MailClient.Protocols.Imap.ImapAccount.GoOnlineInt()
11:16:16.022|007| at MailClient.Protocols.Common.AccountBase.ChangeOnlineState(Boolean online, OfflineReason offlineReason)
11:16:16.022|007| at MailClient.Protocols.Common.AccountBase.GoOnline()
11:16:16.022|007| at MailClient.Protocols.Common.AccountBase.RunIfOnline(Action actionIfOnline, Action actionIfOffline)
11:16:16.022|007| at MailClient.Protocols.Imap.ImapAccount.RunIfOnline(Action ifOnline, Action ifOffline)
11:16:16.022|007| at MailClient.Protocols.Imap.ImapMailSynchronizer.GetItemStream(Folder folder, IMailRepositoryItem item, IStoredMimePart basePart, String partName, Boolean header)
11:16:16.022|007| at MailClient.Protocols.Imap.ImapMailSynchronizer.GetItemContent(Folder folder, IMailRepositoryItem item, IStoredMimePart basePart, String partName, Boolean encoded)
11:16:16.022|007| at MailClient.Storage.Application.Mail.MailItem.MailPartAdaptor.get_ContentStream()
11:16:16.022|007| at MailClient.UI.Mail.TextHtmlHandler.DisplayInformation.GetContentStreamAndPgpBlocks(Func`2 pgpTextCallback)
11:16:16.022|007| at InternetProtocol.MsgProtocol.ProcessRequest(CefRequest request, CefCallback callback)
11:16:16.022|007| at Xilium.CefGlue.CefResourceHandler.process_request(cef_resource_handler_t* self, cef_request_t* request, cef_callback_t* callback)
11:16:16.022|007|

Did you try port 993 instead of 143 for IMAP?

1 Like